Home
last modified time | relevance | path

Searched refs:ncmd (Results 1 – 14 of 14) sorted by relevance

/freebsd-9-stable/lib/libdisk/
Dtst01.c134 int ncmd, i; local
167 ncmd = cp - cmds;
168 if (!ncmd)
178 if (!strcasecmp(*cmds, "dwim") && ncmd == 6) {
188 if (!strcasecmp(*cmds, "delete") && ncmd == 2) {
207 if (!strcasecmp(*cmds, "bios") && ncmd == 4) {
225 if (!strcasecmp(*cmds, "create") && ncmd == 7) {
227 if (!strcasecmp(*cmds,"create") && ncmd == 6) {
245 if (ncmd > 1)
/freebsd-9-stable/usr.sbin/sade/
Dwizard.c71 int ncmd,i; in slice_wizard() local
91 ncmd = cp - cmds; in slice_wizard()
92 if(!ncmd) in slice_wizard()
98 if (!strcasecmp(*cmds,"delete") && ncmd == 2) { in slice_wizard()
112 if (!strcasecmp(*cmds,"bios") && ncmd == 4) { in slice_wizard()
130 if (!strcasecmp(*cmds,"create") && ncmd == 7) { in slice_wizard()
142 if (!strcasecmp(*cmds,"create") && ncmd == 6) { in slice_wizard()
155 if (ncmd > 1) in slice_wizard()
/freebsd-9-stable/usr.sbin/sysinstall/
Dwizard.c72 int ncmd,i; in slice_wizard() local
92 ncmd = cp - cmds; in slice_wizard()
93 if(!ncmd) in slice_wizard()
99 if (!strcasecmp(*cmds,"delete") && ncmd == 2) { in slice_wizard()
113 if (!strcasecmp(*cmds,"bios") && ncmd == 4) { in slice_wizard()
131 if (!strcasecmp(*cmds,"create") && ncmd == 7) { in slice_wizard()
143 if (!strcasecmp(*cmds,"create") && ncmd == 6) { in slice_wizard()
156 if (ncmd > 1) in slice_wizard()
/freebsd-9-stable/contrib/tcsh/
Dma.setp.c159 int ncmd; in setpath() local
167 for (ncmd = 0; cmd = cmds[ncmd]; ncmd++) { in setpath()
170 cmd1 = cmds[ncmd+1]; in setpath()
171 cmd2 = cmds[ncmd+2]; in setpath()
180 ncmd++; in setpath()
184 ncmd++; in setpath()
190 ncmd += 2; in setpath()
200 ncmd++; in setpath()
211 ncmd += 2; in setpath()
215 ncmd++; in setpath()
/freebsd-9-stable/contrib/gdb/gdb/
Dmain.c141 int ncmd; in captured_main() local
181 ncmd = 0; in captured_main()
386 cmdarg[ncmd++] = optarg; in captured_main()
387 if (ncmd >= cmdsize) in captured_main()
712 for (i = 0; i < ncmd; i++) in captured_main()
/freebsd-9-stable/sys/cddl/contrib/opensolaris/common/zfs/
Dzfs_ioctl_compat.c579 unsigned long ncmd; in zcmd_ioctl_compat() local
584 ncmd = _IOWR('Z', request, struct zfs_iocparm); in zcmd_ioctl_compat()
588 return (ioctl(fd, ncmd, &zp)); in zcmd_ioctl_compat()
590 ncmd = _IOWR('Z', request, struct zfs_cmd); in zcmd_ioctl_compat()
591 return (ioctl(fd, ncmd, zc)); in zcmd_ioctl_compat()
594 ncmd = _IOWR('Z', request, struct zfs_cmd_deadman); in zcmd_ioctl_compat()
598 ncmd = _IOWR('Z', request, struct zfs_cmd_v28); in zcmd_ioctl_compat()
603 ncmd = _IOWR('Z', nc, struct zfs_cmd_v15); in zcmd_ioctl_compat()
609 if (ZFS_IOCREQ(ncmd) == ZFS_IOC_COMPAT_FAIL) in zcmd_ioctl_compat()
614 ret = ioctl(fd, ncmd, zc_c); in zcmd_ioctl_compat()
/freebsd-9-stable/bin/sh/
Deval.c775 for (argp = cmd->ncmd.args ; argp ; argp = argp->narg.next) { in evalcommand()
786 expredir(cmd->ncmd.redirect); in evalcommand()
957 cmd->ncmd.redirect == NULL && in evalcommand()
1009 redirect(cmd->ncmd.redirect, REDIR_PUSH); in evalcommand()
1057 redirect(cmd->ncmd.redirect, mode); in evalcommand()
1103 redirect(cmd->ncmd.redirect, 0); in evalcommand()
1149 if (n && n->type == NCMD && n->ncmd.args) in prehash()
1150 if (goodname(n->ncmd.args->narg.text)) in prehash()
1151 find_command(n->ncmd.args->narg.text, &entry, 0, in prehash()
Dshow.c130 for (np = cmd->ncmd.args ; np ; np = np->narg.next) { in shcmd()
136 for (np = cmd->ncmd.redirect ; np ; np = np->nfile.next) { in shcmd()
Dnodetypes57 NCMD ncmd # a simple command
Dparser.c693 n = (union node *)stalloc(sizeof (struct ncmd)); in simplecmd()
695 n->ncmd.args = args; in simplecmd()
696 n->ncmd.redirect = redir; in simplecmd()
Djobs.c1280 for (np = n->ncmd.args ; np ; np = np->narg.next) { in cmdtxt()
1285 for (np = n->ncmd.redirect ; np ; np = np->nfile.next) { in cmdtxt()
/freebsd-9-stable/sys/dev/mly/
Dmly.c1725 int i, ncmd; in mly_alloc_commands() local
1728 ncmd = 4; in mly_alloc_commands()
1730 ncmd = min(MLY_MAX_COMMANDS, sc->mly_controllerinfo->maximum_parallel_commands); in mly_alloc_commands()
1742 ncmd * sizeof(union mly_command_packet), in mly_alloc_commands()
1746 for (i = 0; i < ncmd; i++) { in mly_alloc_commands()
/freebsd-9-stable/sys/dev/mlx/
Dmlx.c227 int error, ncmd; in mlx_sglist_map() local
244 ncmd = 2; in mlx_sglist_map()
246 ncmd = sc->mlx_enq2->me_max_commands; in mlx_sglist_map()
248 segsize = sizeof(struct mlx_sgentry) * MLX_NSEG * ncmd; in mlx_sglist_map()
/freebsd-9-stable/sys/net/
Drtsock.c1270 int ncmd; in rtsock_addrmsg() local
1278 ncmd = cmd == RTM_ADD ? RTM_NEWADDR : RTM_DELADDR; in rtsock_addrmsg()
1285 if ((m = rt_msg1(ncmd, &info)) == NULL) in rtsock_addrmsg()