Home
last modified time | relevance | path

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

12345678910>>...24

/titanic_51/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d36 } command[int]; variable
42 command[i].str = "foobarbaz";
43 command[i].substr = "barbaz";
46 command[i].str = "foofoofoo";
47 command[i].substr = "foo";
50 command[i].str = "boofoofoo";
51 command[i].substr = "foo";
54 command[i].str = "foobarbaz";
55 command[i].substr = "barbazzy";
58 command[
[all...]
H A Dtst.substr.d37 } command[int]; variable
48 command[i].index = 3;
49 command[i].nolen = 1;
52 command[i].index = 300;
53 command[i].nolen = 1;
56 command[i].index = -10;
57 command[i].nolen = 1;
60 command[i].index = 0;
61 command[i].nolen = 1;
64 command[
[all...]
H A Dtst.strtok.d91 } command[int]; variable
97 command[i].s1 = "";
98 command[i].s2 = "";
99 command[i].result = "";
102 command[i].s1 = "foo";
103 command[i].s2 = "";
104 command[i].result = command[i].s1;
107 command[i].s1 = "foobar";
108 command[
[all...]
/titanic_51/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c117 * Execute a command and determine the result.
120 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()
138 /* print command for debug */ in cmd()
140 if ((command->uscsi_cdb == NULL) || in cmd()
152 "SCSI command: %s\n", 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 in cmd()
[all...]
H A Dgenf.c670 * Return a pointer to a string telling us the name of the command.
679 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 in g_scsi_find_command_name()
[all...]
/titanic_51/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c130 * The undo order is from last command to the first command.
249 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()
284 * Process the path command and return PICL node handle
287 process_path(command_t *command, picl_nodehdl_t *nodeh) in process_path() argument
291 err = ptree_get_node_by_path(command in process_path()
299 free_node(command_t * command) free_node() argument
310 parse_node(char * line,command_t * command) parse_node() argument
350 process_node(command_t * command,picl_nodehdl_t parh,picl_nodehdl_t * nodeh) process_node() argument
509 free_prop(command_t * command) free_prop() argument
593 parse_prop(char * line,command_t * command) parse_prop() argument
694 add_proph_to_row(command_t * command,picl_prophdl_t proph) add_proph_to_row() argument
708 process_prop(cmdbuf_t * cmds,command_t * command,picl_nodehdl_t nodeh) process_prop() argument
748 free_refnode(command_t * command) free_refnode() argument
762 parse_refnode(char * line,command_t * command) parse_refnode() argument
819 process_refnode(command_t * command,picl_nodehdl_t parh) process_refnode() argument
842 free_refprop(command_t * command) free_refprop() argument
854 parse_refprop(char * line,command_t * command) parse_refprop() argument
894 process_refprop(cmdbuf_t * cmds,command_t * command,picl_nodehdl_t nodeh) process_refprop() argument
942 free_table(command_t * command) free_table() argument
954 parse_table(char * line,command_t * command) parse_table() argument
985 process_table(command_t * command,picl_nodehdl_t nodeh) process_table() argument
1034 process_row(command_t * command) process_row() argument
1083 parse_verbose(cmdbuf_t * cmds,char * line,command_t * command) parse_verbose() argument
1119 process_verbose(cmdbuf_t * cmds,command_t * command) process_verbose() argument
1129 parse_and_tokenize_line(cmdbuf_t * cmds,char * buf,command_t * command) parse_and_tokenize_line() argument
1266 command_t command; check_line_syntax() local
[all...]
/titanic_51/usr/src/contrib/ast/src/cmd/INIT/
H A Dhurl.sh22 command=hurl
23 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
[all...]
/titanic_51/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 DbgMessage(pdev,VERBOSEl2sp | VERBOSEl4sp, "Writing SP prod %d, conn_and_cmd_data=%x, type=%d \n",pdev->sq_info.sq_chain.prod_idx, pending->command.hdr.conn_and_cmd_data, pending->command.hdr.type); in _lm_sq_post()
62 * @Description: This function fills a command that is received
69 * @param command - FW Command ID
76 * command will be returned to the pool
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_SHIF in lm_sq_post_fill_entry()
179 lm_command_post(struct _lm_device_t * pdev,u32_t cid,u8_t command,u8_t priority,u16_t type,u64_t data) lm_command_post() argument
[all...]
/titanic_51/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr_main.c52 (void) printf(gettext("usage: sharemgr [-h | <command> [options]]\n")); in global_help()
61 char *command = NULL; in main() local
71 * parse enough of command line to get protocol, if any. in main()
74 command = basename(argv[0]); in main()
75 if (strcmp(command, "share") != 0 && strcmp(command, "unshare") != 0) { in main()
89 if (strcmp(command, "sharemgr") == 0) { in main()
90 command = argv[optind]; in main()
102 * now have enough to parse rest of command line in main()
120 rval = run_command(command, arg in main()
127 run_command(char * command,int argc,char * argv[],char * proto,sa_handle_t handle) run_command() argument
[all...]
/titanic_51/usr/src/cmd/luxadm/
H A Dlux_util.c75 static int issue_uscsi_cmd(int file, struct uscsi_cmd *command, int flag);
167 * Return a pointer to a string telling us the name of the command.
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 in scsi_find_command_name()
391 issue_uscsi_cmd(int file,struct uscsi_cmd * command,int flag) issue_uscsi_cmd() argument
[all...]
/titanic_51/usr/src/cmd/ppgsz/
H A Dppgsz.c56 static char *command; variable
132 " sizes\n", command); in getpgsz()
161 command, optarg); in cnvpgsz()
181 " cmd: launch command\n" in usage()
183 command); in usage()
198 if ((command = strrchr(argv[0], '/')) != NULL) in main()
199 command++; in main()
201 command = argv[0]; in main()
253 if (cflag && !interrupt) { /* command */ in main()
264 command, pat in main()
606 setup_mha(uint_t command,size_t pagesize,int dmodel) setup_mha() argument
[all...]
/titanic_51/usr/src/cmd/ptools/preap/
H A Dpreap.c45 static char *command; variable
119 command, arg, Pgrab_error(gret)); in reap()
125 command, (int)pid); in reap()
135 "non-defunct ancestor is 'init'\n", command, in reap()
144 command, (int)pid, Pgrab_error(gret)); in reap()
150 "defunct less than %d seconds\n", command, (int)pid, in reap()
156 (void) fprintf(stderr, "%s: cannot examine %d: %s\n", command, in reap()
164 "stopped and may reap status upon restart\n", command, in reap()
177 (void) fprintf(stderr, "%s: failed to stop %d: %s", command, in reap()
185 command, (in in reap()
[all...]
/titanic_51/usr/src/cmd/ptools/prun/
H A Dprun.c41 static char *command; variable
50 if ((command = strrchr(argv[0], '/')) != NULL) in main()
51 command++; in main()
53 command = argv[0]; in main()
56 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command); in main()
77 command, arg, Pgrab_error(gcode)); in start()
97 command, arg, strerror(errno)); in start()
124 " no matching LWPs found\n", command, arg); in start()
161 command, (int)Pstatus(P)->pr_pid, in lwpstart()
/titanic_51/usr/src/cmd/ptools/pwdx/
H A Dpwdx.c36 static char *command; variable
48 command, arg, Pgrab_error(gcode)); in show_cwd()
57 command, arg, strerror(errno)); in show_cwd()
72 if ((command = strrchr(argv[0], '/')) != NULL) in main()
73 command++; in main()
75 command = argv[0]; in main()
78 (void) fprintf(stderr, "usage:\t%s pid ...\n", command); in main()
/titanic_51/usr/src/cmd/ptools/pstop/
H A Dpstop.c41 static char *command; variable
50 if ((command = strrchr(argv[0], '/')) != NULL) in main()
51 command++; in main()
53 command = argv[0]; in main()
56 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command); in main()
77 command, arg, Pgrab_error(gcode)); in stop()
93 " no matching LWPs found\n", command, arg); in stop()
132 command, (int)Pstatus(P)->pr_pid, in lwpstop()
/titanic_51/usr/src/cmd/prtfru/
H A Dmain.c38 usage(const char *command) in usage() argument
42 command); in usage()
48 char *command = argv[0], *searchpath = NULL; in main() local
76 usage(command); in main()
86 usage(command); in main()
101 usage(command); in main()
108 usage(command); in main()
/titanic_51/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 i
[all...]
/titanic_51/usr/src/cmd/csh/
H A Dsh.parse.c28 struct command *syn0(struct wordent *, struct wordent *, int);
29 struct command *syn1(struct wordent *, struct wordent *, int);
30 struct command *syn1a(struct wordent *, struct wordent *, int);
31 struct command *syn1b(struct wordent *, struct wordent *, int);
32 struct command *syn2(struct wordent *, struct wordent *, int);
33 struct command *syn3(struct wordent *, struct wordent *, int);
39 * If word 0 of a command has an alias, do it.
203 struct command *
226 struct command *
230 struct command * in syn0()
[all...]
/titanic_51/usr/src/lib/libwrap/
H A Dshell_cmd.c9 * shell_cmd() takes a shell command after %<character> substitutions. The
10 * command is executed by a /bin/sh child process, with standard input,
45 /* shell_cmd - execute shell command */
47 void shell_cmd(command) in shell_cmd() argument
48 char *command; in shell_cmd()
63 do_child(command);
71 /* do_child - exec command with { stdin, stdout, stderr } to /dev/null */
73 static void do_child(command) in do_child() argument
74 char *command; in do_child()
86 /* Set up new stdin, stdout, stderr, and exec the shell command
[all...]
/titanic_51/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c63 static char const *command; variable
113 /* Squirrel the basename of the command name away. */ in main()
114 if ((command = strrchr(argv[0], '/')) != NULL) in main()
115 command++; in main()
117 command = argv[0]; in main()
165 * If there was a problem with the options, or there was no command in main()
169 usage(command); in main()
219 command, strerror(errno)); in main()
230 command, argv[0], strerror(errno)); in main()
240 command, strerro in main()
[all...]
/titanic_51/usr/src/cmd/make/lib/mksh/
H A Ddosys.cc131 * doshell(command, ignore_error)
133 * Used to run command lines that include shell meta-characters.
140 * command The command to run
148 doshell(wchar_t *command, register Boolean ignore_error, char *stdout_file, char *stderr_file, int nice_prio) in doshell() argument
170 * Only prepend the /usr/bin/nice command to the original command in doshell()
181 if ((length = wcslen(command)) >= MAXPATHLEN) { in doshell()
183 (void) wcstombs(tmp_mbs_buffer, command, (length * MB_LEN_MAX) + 1); in doshell()
188 WCSTOMBS(mbs_buffer, command); in doshell()
313 doexec(register wchar_t * command,register Boolean ignore_error,char * stdout_file,char * stderr_file,pathpt vroot_path,int nice_prio) doexec() argument
433 await(register Boolean ignore_error,register Boolean silent_error,Name target,wchar_t * command,pid_t running_pid,void * xdrs_p,int job_msg_id) await() argument
527 sh_command2string(register String command,register String destination) sh_command2string() argument
[all...]
/titanic_51/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()
/titanic_51/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, lin
[all...]
/titanic_51/usr/src/lib/libast/common/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 …]
/titanic_51/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c137 * exists and invoke the appropriate mount command for in do_mount1()
398 command_t *command; in automountd_do_fork_exec() local
403 command = (command_t *)argp; in automountd_do_fork_exec()
404 if (sizeof (*command) != arg_size) { in automountd_do_fork_exec()
419 fd = open(command->console ? "/dev/console" : "/dev/null", in automountd_do_fork_exec()
427 for (i = 0; *command->argv[i]; i++) { in automountd_do_fork_exec()
428 newargv[i] = strdup(command->argv[i]); in automountd_do_fork_exec()
431 " of %s: %m", command->argv[i], in automountd_do_fork_exec()
432 command->file); in automountd_do_fork_exec()
438 (void) execv(command in automountd_do_fork_exec()
662 command_t command; global() local
[all...]

12345678910>>...24