/src/distrib/utils/more/ |
help.c | 52 char cmd[MAXPATHLEN + 20]; local in function:help 54 (void)snprintf(cmd, sizeof(cmd), "-more %s", _PATH_HELPFILE); 55 lsystem(cmd);
|
/src/sys/compat/linux/common/ |
linux_fcntl64.c | 63 syscallarg(int) cmd; 66 int cmd = SCARG(uap, cmd); local in function:conv_linux_flock 68 switch (cmd) { 70 do_linux_getlk(SCARG(uap, fd), cmd, SCARG(uap, arg), 74 do_linux_setlk(SCARG(uap, fd), cmd, SCARG(uap, arg),
|
/src/lib/libc/gen/ |
lockf.c | 51 int cmd; local in function:__weak_alias 59 cmd = F_SETLK; 63 cmd = F_SETLKW; 67 cmd = F_SETLK; 85 return (fcntl(filedes, cmd, &fl));
|
/src/usr.sbin/lpr/lpc/ |
lpc.h | 37 struct cmd { struct
|
/src/tests/bin/sh/dotcmd/ |
Makefile | 20 . for cmd in return break continue 21 FILES += ${cmd}_${cmd_scope} 22 FILESDIR_${cmd}_${cmd_scope} = ${TESTSDIR} 23 FILESBUILD_${cmd}_${cmd_scope} = yes 25 ${cmd}_${cmd_scope}: scoped_command 26 ${TEST_SH} ${.CURDIR}/scoped_command '${cmd_scope}' '${cmd}' '${cmd}' \ 31 ${dot_scope}_${cmd}_${cmd_scope} \ 32 out/${dot_scope}_${cmd}_${cmd_scope}.out 33 FILESDIR_${dot_scope}_${cmd}_${cmd_scope} = ${TESTSDIR [all...] |
/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 in function:compat_14_sys_msgctl 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 in function:compat_50_sys___msgctl13 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 in function:compat_14_sys_shmctl 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 in function:compat_50_sys___shmctl13 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 in function:compat_14_sys___semctl 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 in function:compat_50_sys_____semctl13 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 in function:userconf_bootinfo 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/usr.bin/make/unit-tests/ |
cmd-interrupt.mk | 1 # $NetBSD: cmd-interrupt.mk,v 1.5 2024/07/13 15:10:06 rillig Exp $ 28 @rm -f cmd-interrupt-ordinary cmd-interrupt-phony 29 @rm -f cmd-interrupt-precious cmd-interrupt-compat 32 @${.MAKE} ${MAKEFLAGS} -f ${MAKEFILE} cmd-interrupt-ordinary || true 34 @echo ${.TARGET}: ${exists(././cmd-interrupt-ordinary) :? error : ok } 37 @${.MAKE} ${MAKEFLAGS} -f ${MAKEFILE} cmd-interrupt-phony || true 39 @echo ${.TARGET}: ${exists(././cmd-interrupt-phony) :? ok : error } 42 @${.MAKE} ${MAKEFLAGS} -f ${MAKEFILE} cmd-interrupt-precious || tru [all...] |
/src/regress/sys/fs/lfs/ckckp/ |
ckckp.c | 44 char cmd[BUFSIZ], s[BUFSIZ]; local in function:main 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 in function:scsi_mode_sense 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 in function:scsi_mode_select 130 struct scsi_request_sense cmd; local in function:scsi_request_sense [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 in function:gp10b_pmu_acr_bootstrap_multiple_falcons 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 in function:ATF_TC_BODY 66 snprintf(cmd, sizeof(cmd), "newfs -G -b %d -F -s 10000 " 68 if (system(cmd)) 99 char cmd[1024]; local in function:ATF_TC_BODY 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 in function:infineon_manufacturer_mode 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 in function:run_action 153 cmd = block_get_propval(conf, buf, NULL); 154 if (cmd != NULL) { 155 log_info("running command `%s'", cmd); 156 system(cmd);
|
/src/sys/dev/ic/ |
intersil7170.c | 77 uint8_t cmd; local in function:intersil7170_gettime_ymdhms 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 in function:intersil7170_settime_ymdhms 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/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
|