cmd               108 bsp/drv/dev/base/cons.c cons_ioctl(device_t dev, u_long cmd, void *arg)
cmd               113 bsp/drv/dev/base/cons.c 	return consdev->devops->ioctl(dev, cmd, arg);
cmd               117 bsp/drv/dev/base/cons.c cons_devctl(device_t dev, u_long cmd, void *arg)
cmd               122 bsp/drv/dev/base/cons.c 	return consdev->devops->devctl(dev, cmd, arg);
cmd                66 bsp/drv/dev/base/kd.c 	const char	*cmd;
cmd               165 bsp/drv/dev/base/kd.c 	while (cmd_table[i].cmd != NULL) {
cmd               167 bsp/drv/dev/base/kd.c 			printf(" %10s -- %s.\n", cmd_table[i].cmd,
cmd               586 bsp/drv/dev/base/kd.c 	while (cmd_table[i].cmd != NULL) {
cmd               587 bsp/drv/dev/base/kd.c 		if (!strncmp(argv[0], cmd_table[i].cmd, LINE_MAX)) {
cmd               593 bsp/drv/dev/base/kd.c 	if (cmd_table[i].cmd == NULL)
cmd               130 bsp/drv/dev/base/pm.c pm_ioctl(device_t dev, u_long cmd, void *arg)
cmd               139 bsp/drv/dev/base/pm.c 	switch (cmd) {
cmd               530 bsp/drv/dev/base/tty.c tty_ioctl(struct tty *tp, u_long cmd, void *data)
cmd               535 bsp/drv/dev/base/tty.c 	switch (cmd) {
cmd               544 bsp/drv/dev/base/tty.c 		if (cmd == TIOCSETAF)
cmd               133 bsp/drv/dev/base/wscons.c wscons_ioctl(device_t dev, u_long cmd, void *arg)
cmd               137 bsp/drv/dev/base/wscons.c 	return tty_ioctl(tty, cmd, arg);
cmd               309 bsp/drv/dev/block/fdd.c 	read = (irp->cmd == IO_READ) ? 1 : 0;
cmd               403 bsp/drv/dev/block/fdd.c 		if (irp->cmd == IO_NONE) {
cmd               430 bsp/drv/dev/block/fdd.c 	if (irp->cmd == IO_NONE)
cmd               495 bsp/drv/dev/block/fdd.c 	sc->irp.cmd = IO_NONE;
cmd               508 bsp/drv/dev/block/fdd.c 	sc->irp.cmd = IO_NONE;
cmd               518 bsp/drv/dev/block/fdd.c fdd_rw(struct fdd_softc *sc, int cmd, char *buf, u_long blksz, int blkno)
cmd               524 bsp/drv/dev/block/fdd.c 		 cmd, buf, blksz, blkno));
cmd               526 bsp/drv/dev/block/fdd.c 	irp->cmd = cmd;
cmd               689 bsp/drv/dev/block/fdd.c 	irp->cmd = IO_NONE;
cmd               303 bsp/drv/dev/cpufreq/cpufreq.c cpufreq_ioctl(device_t dev, u_long cmd, void *arg)
cmd               311 bsp/drv/dev/cpufreq/cpufreq.c 	switch (cmd) {
cmd               324 bsp/drv/dev/cpufreq/cpufreq.c cpufreq_devctl(device_t dev, u_long cmd, void *arg)
cmd               330 bsp/drv/dev/cpufreq/cpufreq.c 	DPRINTF(("cpufreq: devctl cmd=%d\n", cmd));
cmd               335 bsp/drv/dev/cpufreq/cpufreq.c 	switch (cmd) {
cmd               111 bsp/drv/dev/input/pckbd.c kmc_send_cmd(u_char cmd)
cmd               115 bsp/drv/dev/input/pckbd.c 	bus_write_8(KMC_CMD, cmd);
cmd               178 bsp/drv/dev/rtc/rtc.c rtc_ioctl(device_t dev, u_long cmd, void *arg)
cmd               185 bsp/drv/dev/rtc/rtc.c 	switch (cmd) {
cmd               111 bsp/drv/dev/serial/serial.c serial_ioctl(device_t dev, u_long cmd, void *arg)
cmd               115 bsp/drv/dev/serial/serial.c 	return tty_ioctl(&sc->tty, cmd, arg);
cmd               207 bsp/drv/dev/video/vga.c vga_devctl(device_t dev, u_long cmd, void *arg)
cmd               212 bsp/drv/dev/video/vga.c 	DPRINTF(("vga: devctl cmd=%x\n", cmd));
cmd               215 bsp/drv/dev/video/vga.c 	switch (cmd) {
cmd                56 bsp/drv/include/ddi.h 	int	cmd;		/* I/O command */
cmd               164 include/ipc/fs.h 	int	cmd;			/* command */
cmd               130 include/sys/prex.h int	device_ioctl(device_t dev, u_long cmd, void *arg);
cmd               155 include/sys/prex.h int	sys_debug(int cmd, void *data);
cmd               159 sys/kern/debug.c dbgctl(int cmd, void *data)
cmd               167 sys/kern/debug.c 	switch (cmd) {
cmd               430 sys/kern/device.c device_ioctl(device_t dev, u_long cmd, void *arg)
cmd               440 sys/kern/device.c 	error = (*ops->ioctl)(dev, cmd, arg);
cmd               451 sys/kern/device.c device_control(device_t dev, u_long cmd, void *arg)
cmd               461 sys/kern/device.c 	error = (*ops->devctl)(dev, cmd, arg);
cmd               480 sys/kern/device.c device_broadcast(u_long cmd, void *arg, int force)
cmd               497 sys/kern/device.c 		error = (*ops->devctl)(dev, cmd, arg);
cmd               500 sys/kern/device.c 				 dev->name, error, cmd));
cmd               177 sys/kern/system.c sys_debug(int cmd, void *data)
cmd               183 sys/kern/system.c 	switch (cmd) {
cmd               186 sys/kern/system.c 		error = dbgctl(cmd, data);
cmd               194 sys/kern/system.c 		dbgctl(cmd, (void *)task);
cmd                34 usr/bin/cmdbox/cmdbox.h 	char *cmd;
cmd                76 usr/bin/cmdbox/main.c 	while (entry->cmd != NULL) {
cmd                78 usr/bin/cmdbox/main.c 			       entry->cmd);
cmd                80 usr/bin/cmdbox/main.c 		if (col > maxcol && entry->cmd != NULL) {
cmd                91 usr/bin/cmdbox/main.c 	while (entry->cmd != NULL) {
cmd                93 usr/bin/cmdbox/main.c 			       entry->cmd);
cmd                95 usr/bin/cmdbox/main.c 		if (col > maxcol && entry->cmd != NULL) {
cmd               108 usr/bin/cmdbox/main.c 	char *prog, *cmd;
cmd               113 usr/bin/cmdbox/main.c 	cmd = prog;
cmd               132 usr/bin/cmdbox/main.c 				cmd = argv[1];
cmd               144 usr/bin/cmdbox/main.c 	while (entry->cmd != NULL) {
cmd               145 usr/bin/cmdbox/main.c 		if (!strcmp(cmd, entry->cmd)) {
cmd               146 usr/bin/cmdbox/main.c 			task_setname(task_self(), cmd);
cmd               151 usr/bin/cmdbox/main.c 	fprintf(stderr, "No such command: %s\n", cmd);
cmd               261 usr/bin/sh/sh.c findcmd(const struct cmdentry cmds[], char *cmd)
cmd               265 usr/bin/sh/sh.c 	while (cmds[i].cmd != NULL) {
cmd               266 usr/bin/sh/sh.c 		if (!strcmp(cmd, cmds[i].cmd))
cmd                36 usr/bin/sh/sh.h 	char	*cmd;
cmd                39 usr/lib/posix/file/fcntl.c fcntl(int fd, int cmd, ...)
cmd                45 usr/lib/posix/file/fcntl.c 	va_start(args, cmd);
cmd                51 usr/lib/posix/file/fcntl.c 	m.cmd = cmd;
cmd                52 usr/lib/posix/file/fcntl.c 	if (cmd == F_GETLK || cmd == F_SETLK || cmd == F_SETLKW)
cmd                40 usr/lib/posix/file/ioctl.c ioctl(int fd, unsigned long cmd, ...)
cmd                48 usr/lib/posix/file/ioctl.c 	va_start(args, cmd);
cmd                55 usr/lib/posix/file/ioctl.c 	size = IOCPARM_LEN(cmd);
cmd                64 usr/lib/posix/file/ioctl.c 	if ((cmd & IOC_IN && (cmd & IOC_IVAL) == 0 && argp == NULL) ||
cmd                65 usr/lib/posix/file/ioctl.c 	    (cmd & IOC_OUT && (cmd & IOC_OVAL) == 0 && argp == NULL)) {
cmd                73 usr/lib/posix/file/ioctl.c 	if (cmd & IOC_IN) {
cmd                74 usr/lib/posix/file/ioctl.c 		if (cmd & IOC_IVAL)
cmd                82 usr/lib/posix/file/ioctl.c 	m.request = cmd;
cmd                89 usr/lib/posix/file/ioctl.c 	if (cmd & IOC_OUT) {
cmd                90 usr/lib/posix/file/ioctl.c 		if (cmd & IOC_OVAL)
cmd                62 usr/sbin/diskutil/diskutil.c 	const char	*cmd;
cmd                92 usr/sbin/diskutil/diskutil.c 	while (cmdtab[i].cmd != NULL) {
cmd               159 usr/sbin/diskutil/diskutil.c 	while (cmdtab[i].cmd != NULL) {
cmd               160 usr/sbin/diskutil/diskutil.c 		if (!strncmp(argv[1], cmdtab[i].cmd, LINE_MAX)) {
cmd                62 usr/sbin/pmctrl/pmctrl.c 	const char	*cmd;
cmd                94 usr/sbin/pmctrl/pmctrl.c 	while (cmdtab[i].cmd != NULL) {
cmd                96 usr/sbin/pmctrl/pmctrl.c 			fprintf(stderr, " %-8s -- %s\n", cmdtab[i].cmd,
cmd               267 usr/sbin/pmctrl/pmctrl.c 	while (cmdtab[i].cmd != NULL) {
cmd               268 usr/sbin/pmctrl/pmctrl.c 		if (!strncmp(argv[1], cmdtab[i].cmd, LINE_MAX)) {
cmd               183 usr/server/fs/devfs/devfs_vnops.c devfs_ioctl(vnode_t vp, file_t fp, u_long cmd, void *arg)
cmd               187 usr/server/fs/devfs/devfs_vnops.c 	error = device_ioctl((device_t)vp->v_data, cmd, arg);
cmd               188 usr/server/fs/devfs/devfs_vnops.c 	DPRINTF(("devfs_ioctl: cmd=%x\n", cmd));
cmd               310 usr/server/fs/fifofs/fifo_vnops.c fifo_ioctl(vnode_t vp, file_t fp, u_long cmd, void *arg)
cmd               582 usr/server/fs/vfs/main.c 	switch (msg->cmd) {
cmd                53 usr/test/kmon/cmd.c 	const char *cmd;
cmd                74 usr/test/kmon/cmd.c 	while (cmd_table[i].cmd != NULL) {
cmd                75 usr/test/kmon/cmd.c 		printf("%s - %s\n", cmd_table[i].cmd, cmd_table[i].usage);
cmd               164 usr/test/kmon/cmd.c 	while (cmd_table[i].cmd != NULL) {
cmd               165 usr/test/kmon/cmd.c 		if (!strcmp(argv[0], cmd_table[i].cmd)) {
cmd               171 usr/test/kmon/cmd.c 	if (cmd_table[i].cmd == NULL)