Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d34 } command[int]; variable
40 command[i].str = "foobarbaz";
41 command[i].substr = "barbaz";
44 command[i].str = "foofoofoo";
45 command[i].substr = "foo";
48 command[i].str = "boofoofoo";
49 command[i].substr = "foo";
52 command[i].str = "foobarbaz";
53 command[i].substr = "barbazzy";
56 command[i].str = "foobar";
[all …]
H A Dtst.substr.d35 } command[int]; variable
46 command[i].index = 3;
47 command[i].nolen = 1;
50 command[i].index = 300;
51 command[i].nolen = 1;
54 command[i].index = -10;
55 command[i].nolen = 1;
58 command[i].index = 0;
59 command[i].nolen = 1;
62 command[i].index = 1;
[all …]
H A Dtst.strtok.d89 } command[int]; variable
95 command[i].s1 = "";
96 command[i].s2 = "";
97 command[i].result = "";
100 command[i].s1 = "foo";
101 command[i].s2 = "";
102 command[i].result = command[i].s1;
105 command[i].s1 = "foobar";
106 command[i].s2 = "o";
107 command[i].result = "f";
[all …]
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c120 cmd(int file, struct uscsi_cmd *command, int flag) in cmd() argument
132 command->uscsi_flags = USCSI_RQENABLE; in cmd()
133 command->uscsi_flags |= flag; in cmd()
140 if ((command->uscsi_cdb == NULL) || in cmd()
153 g_scsi_find_command_name(command->uscsi_cdb[0])); in cmd()
155 for (i = 0; i < (int)command->uscsi_cdblen; i++) { in cmd()
156 (void) printf("%x ", *(command->uscsi_cdb + i)); in cmd()
160 command->uscsi_cdblen, in cmd()
161 command->uscsi_bufaddr, in cmd()
162 command->uscsi_buflen, command->uscsi_flags); in cmd()
[all …]
H A Dgenf.c679 int command; in g_scsi_find_command_name() member
685 scsi_command_names[0].command = SCMD_TEST_UNIT_READY; in g_scsi_find_command_name()
688 scsi_command_names[1].command = SCMD_FORMAT; in g_scsi_find_command_name()
691 scsi_command_names[2].command = SCMD_REASSIGN_BLOCK; in g_scsi_find_command_name()
694 scsi_command_names[3].command = SCMD_READ; in g_scsi_find_command_name()
697 scsi_command_names[4].command = SCMD_WRITE; in g_scsi_find_command_name()
700 scsi_command_names[5].command = SCMD_READ_G1; in g_scsi_find_command_name()
703 scsi_command_names[6].command = SCMD_WRITE_G1; in g_scsi_find_command_name()
706 scsi_command_names[7].command = SCMD_MODE_SELECT; in g_scsi_find_command_name()
709 scsi_command_names[8].command = SCMD_MODE_SENSE; in g_scsi_find_command_name()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c249 free_path(command_t *command) in free_path() argument
251 free(command->pathcmd_name); in free_path()
261 parse_path(char *line, command_t *command) in parse_path() argument
276 command->pathcmd_name = strdup(pathtok); in parse_path()
277 if (command->pathcmd_name == NULL) in parse_path()
287 process_path(command_t *command, picl_nodehdl_t *nodeh) in process_path() argument
291 err = ptree_get_node_by_path(command->pathcmd_name, nodeh); in process_path()
299 free_node(command_t *command) in free_node() argument
301 free(command->nodecmd_nodename); in free_node()
302 free(command->nodecmd_classname); in free_node()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dhurl.sh23 agent="$command/2009-01-20 (AT&T Research)"
28 0123) ARGV0="-a $command"
87 do test 0 != $verbose && echo "$command: url=$url" >&2
106 test 0 != $verbose && echo "$command: prot=$prot host=$host port=$port path=$path" >&2
110 then test 0 != $verbose && echo "$command: using /dev/tcp/$host/$port" >&2
117 then echo "$command: $host: write error"
122 then echo "$command: $host: read error" >&2
128 test 0 != $verbose && echo "$command: prot=$prot code=$code $text" >&2
131 then echo "$command: $host: read error" >&2
134 test 0 != $verbose && echo "$command: head=$head $data" >&2
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dcommand.h37 mm_memcpy(pdev->sq_info.sq_chain.prod_bd, &pending->command, sizeof(pending->command)); in _lm_sq_post()
49 …ype=%d \n",pdev->sq_info.sq_chain.prod_idx, pending->command.hdr.conn_and_cmd_data, pending->comma… in _lm_sq_post()
82 u8_t command, in lm_sq_post_fill_entry() argument
94 …pending->command.hdr.conn_and_cmd_data = mm_cpu_to_le32((command << SPE_HDR_T_CMD_ID_SHIFT ) | HW_… in lm_sq_post_fill_entry()
95 pending->command.hdr.type = mm_cpu_to_le16(type); in lm_sq_post_fill_entry()
96 pending->command.protocol_data.hi = mm_cpu_to_le32(U64_HI(data)); in lm_sq_post_fill_entry()
97 pending->command.protocol_data.lo = mm_cpu_to_le32(U64_LO(data)); in lm_sq_post_fill_entry()
107 pending->cmd = command; in lm_sq_post_fill_entry()
137 u8_t command,
158 u8_t command, u16_t type, u32_t cid );
[all …]
/illumos-gate/usr/src/cmd/luxadm/
H A Dlux_util.c75 static int issue_uscsi_cmd(int file, struct uscsi_cmd *command, int flag);
176 int command; in scsi_find_command_name() member
182 scsi_command_names[0].command = SCMD_TEST_UNIT_READY; in scsi_find_command_name()
185 scsi_command_names[1].command = SCMD_FORMAT; in scsi_find_command_name()
188 scsi_command_names[2].command = SCMD_REASSIGN_BLOCK; in scsi_find_command_name()
191 scsi_command_names[3].command = SCMD_READ; in scsi_find_command_name()
194 scsi_command_names[4].command = SCMD_WRITE; in scsi_find_command_name()
197 scsi_command_names[5].command = SCMD_READ_G1; in scsi_find_command_name()
200 scsi_command_names[6].command = SCMD_WRITE_G1; in scsi_find_command_name()
203 scsi_command_names[7].command = SCMD_MODE_SELECT; in scsi_find_command_name()
[all …]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr_main.c59 char *command = NULL; in main() local
72 command = basename(argv[0]); in main()
73 if (strcmp(command, "share") != 0 && strcmp(command, "unshare") != 0) { in main()
87 if (strcmp(command, "sharemgr") == 0) { in main()
88 command = argv[optind]; in main()
118 rval = run_command(command, argc, argv, protocol, handle); in main()
125 run_command(char *command, int argc, char *argv[], char *proto, in run_command() argument
147 cmdvec = sa_lookup(command, proto); in run_command()
149 (void) printf(gettext("command %s not found\n"), command); in run_command()
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c54 static char *command; variable
130 " sizes\n", command); in getpgsz()
159 command, optarg); in cnvpgsz()
181 command); in usage()
196 if ((command = strrchr(argv[0], '/')) != NULL) in main()
197 command++; in main()
199 command = argv[0]; in main()
262 command, path); in main()
267 "program: %s\n", command, path); in main()
271 "program: %s\n", command, argv[0]); in main()
[all …]
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c43 static char *command; variable
117 command, arg, Pgrab_error(gret)); in reap()
123 command, (int)pid); in reap()
133 "non-defunct ancestor is 'init'\n", command, in reap()
142 command, (int)pid, Pgrab_error(gret)); in reap()
148 "defunct less than %d seconds\n", command, (int)pid, in reap()
154 (void) fprintf(stderr, "%s: cannot examine %d: %s\n", command, in reap()
162 "stopped and may reap status upon restart\n", command, in reap()
175 (void) fprintf(stderr, "%s: failed to stop %d: %s", command, in reap()
183 command, (int)ppid, strerror(errno)); in reap()
[all …]
/illumos-gate/usr/src/cmd/ptools/prun/
H A Dprun.c39 static char *command; variable
48 if ((command = strrchr(argv[0], '/')) != NULL) in main()
49 command++; in main()
51 command = argv[0]; in main()
54 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command); in main()
75 command, arg, Pgrab_error(gcode)); in start()
95 command, arg, strerror(errno)); in start()
122 " no matching LWPs found\n", command, arg); in start()
159 command, (int)Pstatus(P)->pr_pid, in lwpstart()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.parse.c26 struct command *syn0(struct wordent *, struct wordent *, int);
27 struct command *syn1(struct wordent *, struct wordent *, int);
28 struct command *syn1a(struct wordent *, struct wordent *, int);
29 struct command *syn1b(struct wordent *, struct wordent *, int);
30 struct command *syn2(struct wordent *, struct wordent *, int);
31 struct command *syn3(struct wordent *, struct wordent *, int);
201 struct command *
224 struct command *
228 struct command *t, *t1; in syn0()
267 t = (struct command *)xcalloc(1, sizeof (*t)); in syn0()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/
H A DREADME.state34 # <target dataset>:<command>
35 # <property source before command> <property src after command>
36 # <property source before command> <property src after command>
40 # <target dataset> - dataset upon which the <command> is to be executed. Can
42 # configX.cfg file. If no command is to be executed
46 # <command> - command to be executed upon the specified dataset.
48 # or 'inherit -r'. If no command is to be executed,
51 # <property src before command>
53 # the properties before <command> is executed. This
63 # <property src after command>
[all …]
/illumos-gate/usr/src/cmd/ptools/pstop/
H A Dpstop.c39 static char *command; variable
48 if ((command = strrchr(argv[0], '/')) != NULL) in main()
49 command++; in main()
51 command = argv[0]; in main()
54 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command); in main()
75 command, arg, Pgrab_error(gcode)); in stop()
91 " no matching LWPs found\n", command, arg); in stop()
130 command, (int)Pstatus(P)->pr_pid, in lwpstop()
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Ddosys.cc149 doshell(wchar_t *command, Boolean ignore_error, char *stdout_file, char *stderr_file, int nice_prio) in doshell() argument
182 if ((length = wcslen(command)) >= MAXPATHLEN) { in doshell()
184 (void) wcstombs(tmp_mbs_buffer, command, (length * MB_LEN_MAX) + 1); in doshell()
189 WCSTOMBS(mbs_buffer, command); in doshell()
314 doexec(wchar_t *command, Boolean ignore_error, char *stdout_file, char *stderr_file, pathpt vroot_p… in doexec() argument
333 for (t = command; *t != (int) nul_char; t++) { in doexec()
345 if ((length = wcslen(command)) >= MAXPATHLEN) { in doexec()
347 (void) wcstombs(tmp_mbs_buffer, command, (length * MB_LEN_MAX) + 1); in doexec()
351 WCSTOMBS(mbs_buffer, command); in doexec()
361 for (t = command; *t;) { in doexec()
[all …]
/illumos-gate/usr/src/cmd/prtfru/
H A Dmain.c36 usage(const char *command) in usage() argument
40 command); in usage()
46 char *command = argv[0], *searchpath = NULL; in main() local
74 usage(command); in main()
84 usage(command); in main()
99 usage(command); in main()
106 usage(command); in main()
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c61 static char const *command; variable
112 if ((command = strrchr(argv[0], '/')) != NULL) in main()
113 command++; in main()
115 command = argv[0]; in main()
167 usage(command); in main()
217 command, strerror(errno)); in main()
228 command, argv[0], strerror(errno)); in main()
238 command, strerror(errno)); in main()
246 command, wret, pid); in main()
252 command, argv[0], strsignal(WTERMSIG(stat_loc))); in main()
[all …]
/illumos-gate/usr/src/lib/libwrap/
H A Dshell_cmd.c45 void shell_cmd(command) in shell_cmd() argument
46 char *command; in shell_cmd()
61 do_child(command);
71 static void do_child(command) in do_child() argument
72 char *command; in do_child()
93 (void) execl("/bin/sh", "sh", "-c", command, (char *) 0);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dlcgen.c279 char* command; local
293 command = *argv++;
297 fprintf(stderr, "%s: { hdr lib tab } arguments expected\n", command);
302 fprintf(stderr, "%s: %s: cannot write\n", command, hdr);
307 fprintf(stderr, "%s: %s: cannot write\n", command, lib);
316 fprintf(hf, "/* : : generated by %s : : */\n", command);
338 fprintf(lf, "/* : : generated by %s : : */\n", command);
371 fprintf(stderr, "%s: %d: %s: must be specified after :territory:\n", command, line, arg[0]);
381 fprintf(stderr, "%s: %d: %s must be specified first\n", command, line, arg[0]);
391 fprintf(stderr, "%s: %d: %s: must be specified after :language:\n", command, line, arg[0]);
[all …]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit.msg41 @ MSG_USAGE_DETAIL3 "\t[-e cmd] edit command\n"
62 @ MSG_ALLOC_UCMD "user command state"
63 @ MSG_ALLOC_UCMDSTR "user command string buffer"
64 @ MSG_ALLOC_TOKBUF "user command token buffer"
111 @ MSG_DEBUG_EXECCMD "command: %s\n"
140 @ MSG_ERR_UNTERMQUOTE "command is missing closing quote: %c\n"
142 @ MSG_ERR_UNRECCMD "no such command: %s:%s\n"
145 @ MSG_ERR_NULLPRICMDNAM "module has empty string for primary command: %s\n"
149 @ MSG_ERR_OPT_MODPRE "command option name must start with \
151 @ MSG_ERR_OPT_MODLEN "command option name must have at least one character: \
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c396 command_t *command; in automountd_do_fork_exec() local
401 command = (command_t *)argp; in automountd_do_fork_exec()
402 if (sizeof (*command) != arg_size) { in automountd_do_fork_exec()
417 fd = open(command->console ? "/dev/console" : "/dev/null", in automountd_do_fork_exec()
425 for (i = 0; *command->argv[i]; i++) { in automountd_do_fork_exec()
426 newargv[i] = strdup(command->argv[i]); in automountd_do_fork_exec()
429 " of %s: %m", command->argv[i], in automountd_do_fork_exec()
430 command->file); in automountd_do_fork_exec()
436 (void) execv(command->file, newargv); in automountd_do_fork_exec()
438 syslog(LOG_ERR, "exec %s: %m", command->file); in automountd_do_fork_exec()
[all …]
/illumos-gate/usr/src/cmd/ptools/pldd/
H A Dpldd.c38 static char *command; variable
51 if ((command = strrchr(argv[0], '/')) != NULL) in main()
52 command++; in main()
54 command = argv[0]; in main()
76 "usage:\t%s [-Fl] { pid | core } ...\n", command); in main()
109 command, arg, Pgrab_error(gcode)); in main()
120 "insufficient content\n", command, arg); in main()
134 "not be available\n", command); in main()
/illumos-gate/usr/src/grub/grub-0.97/
H A DNEWS4 * The command "fallback" supports mutiple fallback entries.
5 * The command "savedefault" supports an optional argument which
17 * The command "fallback" supports mutiple fallback entries.
18 * The command "savedefault" supports an optional argument which
58 * The command "color" is effective even in the command-line.
59 * The command "terminal" takes two new options, ``--no-echo'' and
69 * New command "terminfo", for vt100-incompatible terminals.
73 * The command "displaymem" uses only hex digits for consistency.
77 you can turn on debug mode via the command "debug".
78 * The command "help" doesn't show all the available commands by default,
[all …]

12345678910>>...22