| /src/distrib/utils/more/ |
| help.c | 52 char cmd[MAXPATHLEN + 20]; local 54 (void)snprintf(cmd, sizeof(cmd), "-more %s", _PATH_HELPFILE); 55 lsystem(cmd);
|
| /src/lib/libc/gen/ |
| lockf.c | 51 int cmd; local 59 cmd = F_SETLK; 63 cmd = F_SETLKW; 67 cmd = F_SETLK; 85 return (fcntl(filedes, cmd, &fl));
|
| /src/sys/compat/linux/common/ |
| linux_fcntl64.c | 63 syscallarg(int) cmd; 66 int cmd = SCARG(uap, cmd); local 68 switch (cmd) { 70 do_linux_getlk(SCARG(uap, fd), cmd, SCARG(uap, arg), local 74 do_linux_setlk(SCARG(uap, fd), cmd, SCARG(uap, arg), local
|
| /src/usr.sbin/lpr/lpc/ |
| lpc.h | 37 struct cmd { struct
|
| /src/sbin/fsdb/ |
| fsdb.h | 43 const char *cmd; member in struct:cmdtable
|
| /src/sys/compat/common/ |
| sysv_msg_14.c | 59 syscallarg(int) cmd; 64 int cmd, error; local 66 cmd = SCARG(uap, cmd); 68 if (cmd == IPC_SET) { 75 error = msgctl1(l, SCARG(uap, msqid), cmd, 76 (cmd == IPC_SET || cmd == IPC_STAT) ? &msqbuf : NULL); 78 if (error == 0 && cmd == IPC_STAT) {
|
| sysv_msg_50.c | 59 syscallarg(int) cmd; 64 int cmd, error; local 66 cmd = SCARG(uap, cmd); 68 if (cmd == IPC_SET) { 75 error = msgctl1(l, SCARG(uap, msqid), cmd, 76 (cmd == IPC_SET || cmd == IPC_STAT) ? &msqbuf : NULL); 78 if (error == 0 && cmd == IPC_STAT) {
|
| sysv_shm_14.c | 60 syscallarg(int) cmd; 65 int cmd, error; local 67 cmd = SCARG(uap, cmd); 69 if (cmd == IPC_SET) { 76 error = shmctl1(l, SCARG(uap, shmid), cmd, 77 (cmd == IPC_SET || cmd == IPC_STAT) ? &shmbuf : NULL); 79 if (error == 0 && cmd == IPC_STAT) {
|
| sysv_shm_50.c | 59 syscallarg(int) cmd; 64 int cmd, error; local 66 cmd = SCARG(uap, cmd); 68 if (cmd == IPC_SET) { 75 error = shmctl1(l, SCARG(uap, shmid), cmd, 76 (cmd == IPC_SET || cmd == IPC_STAT) ? &shmbuf : NULL); 78 if (error == 0 && cmd == IPC_STAT) {
|
| sysv_sem_14.c | 61 syscallarg(int) cmd; 67 int cmd, error; local 70 cmd = SCARG(uap, cmd); 72 pass_arg = get_semctl_arg(cmd, &sembuf, &arg); 78 if (cmd == IPC_SET) { 86 error = semctl1(l, SCARG(uap, semid), SCARG(uap, semnum), cmd, 89 if (error == 0 && cmd == IPC_STAT) {
|
| sysv_sem_50.c | 60 syscallarg(int) cmd; 66 int cmd, error; local 69 cmd = SCARG(uap, cmd); 71 pass_arg = get_semctl_arg(cmd, &sembuf, &arg); 77 if (cmd == IPC_SET) { 85 error = semctl1(l, SCARG(uap, semid), SCARG(uap, semnum), cmd, 88 if (error == 0 && cmd == IPC_STAT) {
|
| /src/sys/dev/fdt/ |
| fdt_userconf.c | 46 const char *cmd; local 60 cmd = fdt_stringlist_get(fdt, chosen, FDT_CHOSEN_USERCONF_PROP, 62 if (cmd != NULL) { 63 aprint_debug("Processing userconf command: %s\n", cmd); 64 userconf_parse(__UNCONST(cmd)); 66 } while (cmd != NULL);
|
| /src/regress/sys/fs/lfs/ckckp/ |
| ckckp.c | 44 char cmd[BUFSIZ], s[BUFSIZ]; local 73 sprintf(cmd, "./check-all %s %s %s %d", argv[2], argv[3], 75 pp = popen(cmd, "r");
|
| /src/sbin/scsictl/ |
| scsi_subr.c | 62 scsi_command(int fd, const void *cmd, size_t cmdlen, 69 cmdlen = MIN(cmdlen, sizeof(req.cmd)); 70 memcpy(req.cmd, cmd, cmdlen); 101 struct scsi_mode_sense_6 cmd; local 103 memset(&cmd, 0, sizeof(cmd)); 106 cmd.opcode = SCSI_MODE_SENSE_6; 107 cmd.page = pgcode | pctl; 108 cmd.length = len 116 struct scsi_mode_select_6 cmd; local 130 struct scsi_request_sense cmd; local [all...] |
| /src/sys/dev/ic/ |
| intersil7170.c | 77 uint8_t cmd; local 85 cmd = INTERSIL_COMMAND(INTERSIL_CMD_STOP, INTERSIL_CMD_IENABLE); 86 bus_space_write_1(bt, bh, INTERSIL_ICMD, cmd); 99 cmd = INTERSIL_COMMAND(INTERSIL_CMD_RUN, INTERSIL_CMD_IENABLE); 100 bus_space_write_1(bt, bh, INTERSIL_ICMD, cmd); 122 uint8_t cmd; local 134 cmd = INTERSIL_COMMAND(INTERSIL_CMD_STOP, INTERSIL_CMD_IENABLE); 135 bus_space_write_1(bt, bh, INTERSIL_ICMD, cmd); 148 cmd = INTERSIL_COMMAND(INTERSIL_CMD_RUN, INTERSIL_CMD_IENABLE); 149 bus_space_write_1(bt, bh, INTERSIL_ICMD, cmd); [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pmu/ |
| nouveau_nvkm_subdev_pmu_gp10b.c | 46 struct nv_pmu_acr_bootstrap_multiple_falcons_cmd cmd = { local 47 .cmd.hdr.unit_id = NV_PMU_UNIT_ACR, 48 .cmd.hdr.size = sizeof(cmd), 49 .cmd.cmd_type = NV_PMU_ACR_CMD_BOOTSTRAP_MULTIPLE_FALCONS, 57 ret = nvkm_falcon_cmdq_send(pmu->hpq, &cmd.cmd.hdr, 61 if (ret != cmd.falcon_mask)
|
| /src/tests/fs/ffs/ |
| t_mount.c | 58 char cmd[1024]; local 66 snprintf(cmd, sizeof(cmd), "newfs -G -b %d -F -s 10000 " 68 if (system(cmd)) 99 char cmd[1024]; local 107 snprintf(cmd, sizeof(cmd), "newfs -G -b %d -F -s 10000 " 109 if (system(cmd))
|
| /src/usr.bin/rdist/ |
| gram.y | 44 struct cmd *cmds = NULL; 45 struct cmd *last_cmd; 79 %type <subcmd> INSTALL, NOTIFY, EXCEPT, PATTERN, SPECIAL, cmdlist, cmd 131 | cmdlist cmd = { 142 cmd: INSTALL options opt_namelist SM = { label 373 struct cmd *c, *prev, *nc; 395 nc = ALLOC(cmd); 422 struct cmd *c; 424 c = ALLOC(cmd); 495 freesubcmd(struct subcmd *cmd) [all...] |
| /src/usr.sbin/btattach/ |
| init_unistone.c | 57 uint8_t cmd[2]; local 60 cmd[0] = enable; 61 cmd[1] = 0; /* No reset */ 63 uart_send_cmd(fd, 0xfc11, cmd, sizeof(cmd));
|
| /src/usr.sbin/timed/timedc/ |
| timedc.h | 54 struct cmd { struct
|
| /src/usr.sbin/wsmoused/ |
| action.c | 147 const char *cmd; local 153 cmd = block_get_propval(conf, buf, NULL); 154 if (cmd != NULL) { 155 log_info("running command `%s'", cmd); 156 system(cmd);
|
| /src/lib/libdm/ |
| dm.h | 60 const char *cmd; member in struct:cmd_version 110 /* cmd is array of table dictionaries */ 113 /* cmd is array of dev dictionaries */ 116 /* cmd is array of target dictonaries */ 118 /* cmd is array of dev_t's */
|
| /src/lib/libedit/ |
| keymacro.h | 44 el_action_t cmd; /* If it is a command the # */ member in union:keymacro_value_t
|
| /src/libexec/rexecd/unit-tests/ |
| rexec.c | 53 char *cmd = __UNCONST("ls"); local 68 cmd = optarg; 77 if ((s = rexec(&host, sv->s_port, user, pass, cmd, NULL)) == -1) 90 "[-h <hostname>] [-c <cmd>]\n", getprogname());
|
| /src/sbin/mount_portal/ |
| pt_filter.c | 88 char cmd[FILTER_CMD_SIZE]; local 111 * matchkey rfilter stripkey cmd [arg1] [arg2] ... 133 fill_cmd(v + 2, path, cmd, FILTER_CMD_SIZE); 134 if (strlen(cmd) >= FILTER_CMD_SIZE) { 137 (unsigned long)strlen(cmd)); 141 fprintf(stderr, "rfilter: Using cmd of %s\n", cmd); 143 fp = popen(cmd, "r"); 165 char cmd[FILTER_CMD_SIZE]; local 180 fill_cmd(v + 2, path, cmd, FILTER_CMD_SIZE) [all...] |