Searched defs:cmds (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/cmd/chg_usr_exec/
H A Dchg_usr_exec.c40 char cmds[BUFSIZ] = { 0 }; local
53 (void) snprintf(cmds+len, sizeof (cmds)-len,
71 if (execl(EXECSHELL, "sh", "-c", cmds, (char *)NULL) != 0) {
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dkmfcfg.c57 static verbcmd cmds[] = { variable
150 static int num_cmds = sizeof (cmds) / sizeof (verbcmd);
167 (void) fprintf(stdout, "\t%s\n", cmds[i].synopsis);
211 if (strcmp(cmds[i].verb, argv[0]) == 0) {
223 ret = (*cmds[found].action)(argc, argv);
257 "error 0x%02x\n"), cmds[found].verb, ret);
/illumos-gate/usr/src/cmd/hal/utils/
H A Dprinter.c92 char *cmds[32]; local
95 memset(&cmds, 0, sizeof (cmds));
98 ((v != NULL) && (i < NELEM(cmds)));
100 cmds[i++] = strdup(strip_ws(v));
104 for (i = 0; (cmds)[i] != NULL; i++)
105 (*command_set)[i] = cmds[i];
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dmain.c63 struct cmd cmds[] = { variable in typeref:struct:cmd
130 for (cur_cmd = 0; cmds[cur_cmd].c_name != NULL; cur_cmd++) {
131 if (ci_streq(argv[optind], cmds[cur_cmd].c_name)) {
136 return (cmds[cur_cmd].c_func(newargc, newargv));
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfmadm.c104 } cmds[] = { variable in typeref:struct:cmd
133 for (cp = cmds; cp->cmd_name != NULL; cp++) {
202 for (cp = cmds; cp->cmd_name != NULL; cp++) {
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dmain.c42 print_usage(char *progname, cmdtable_t cmds[]) argument
50 for (p = &cmds[0]; p->name != NULL; p++) {
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhrtimers.c78 int cmds; member in struct:hrtalarma
152 if (uap->cmds <= 0)
161 for (cnt = 0; cnt < uap->cmds; cnt++, hrcmdp++) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c212 match_cmd(char *name, ilbadm_cmd_desc_t *cmds, cmdfunc_t *action, int flags) argument
225 for (cmd = &cmds[0]; cmd->c_name[0] != '\0'; cmd++) {
/illumos-gate/usr/src/cmd/cmd-inet/sbin/ifparse/
H A Difparse.c152 } cmds[] = { variable in typeref:struct:cmd
455 for (p = cmds; ; p++) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dmain.c426 struct subcmd *cmds; local
454 cmds = NULL;
456 cmds = makesubcmd(INSTALL);
457 cmds->sc_options = options;
458 cmds->sc_name = dest;
467 insert(NULL, files, hosts, cmds);
/illumos-gate/usr/src/cmd/devctl/
H A Ddevctl.c99 typedef struct cmds { struct
113 static struct cmds *dc_cmd();
139 static struct cmds device_cmds[] = {
158 static struct cmds bus_cmds[] = {
186 struct cmds *dcmd;
525 static struct cmds *
526 dc_cmd(struct cmds *cmd_tbl, char *devctl_cmdname)
/illumos-gate/usr/src/cmd/svc/configd/
H A Dobject.c357 const struct rep_protocol_transaction_cmd *cmds; local
370 cmds = (struct rep_protocol_transaction_cmd *)loc;
371 cur->tx_cmd = cmds;
373 sz = cmds->rptc_size;
378 len = cmds->rptc_name_len;
459 const struct rep_protocol_transaction_cmd *cmds; local
474 cmds = (struct rep_protocol_transaction_cmd *)loc;
479 sz = cmds->rptc_size;
/illumos-gate/usr/src/uts/sun4u/io/
H A Dppm_xgsubr.c522 static struct ctlop_cmd cmds[] = { local
549 for (ccp = cmds; ccp->ctlop != PMR_UNKNOWN; ccp++)
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Druntests.c77 static short cmds[8] = { variable
596 for (i = 0; i < sizeof (cmds) / sizeof (short); i++) {
597 flock_test_invalid(&flock_fileA, cmds[i], 200, 0, 0, 0);
598 flock_test_invalid(&flock_fileA, cmds[i], -1, 0, 0, 0);
600 for (i = 3; i < sizeof (cmds) / sizeof (short); i++) {
601 flock_test_invalid(&flock_fileA, cmds[i], F_WRLCK, 1, 0, 0);
602 flock_test_invalid(&flock_fileA, cmds[i], F_WRLCK, 0, 1, 0);
603 flock_test_invalid(&flock_fileA, cmds[i], F_WRLCK, 0, 0, 1);
/illumos-gate/usr/src/cmd/vrrpadm/
H A Dvrrpadm.c51 static cmd_t cmds[] = { variable
161 for (i = 0; i < sizeof (cmds) / sizeof (cmd_t); i++) {
162 cp = &cmds[i];
675 for (i = 0; i < sizeof (cmds) / sizeof (cmd_t); i++) {
676 cp = &cmds[i];
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar.c84 tlm_commands_t *cmds; local
96 cmds = &nlp->nlp_cmds;
97 (void) memset(cmds, 0, sizeof (*cmds));
112 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size);
113 if (cmds->tcs_command == NULL) {
124 tlm_release_reader_writer_ipc(cmds->tcs_command);
153 tlm_commands_t *cmds; local
164 cmds = &nlp->nlp_cmds;
165 (void) memset(cmds,
272 tlm_commands_t *cmds; local
954 ndmp_tar_writer(ndmpd_session_t *session, ndmpd_module_params_t *mod_params, tlm_commands_t *cmds) argument
1080 tlm_commands_t *cmds; local
1179 tlm_commands_t *cmds; local
1276 tlm_commands_t *cmds; local
[all...]
H A Dndmpd_mover.c2515 tlm_commands_t *cmds; /* Commands structure */ local
2522 cmds = &nlp->nlp_cmds;
2523 lcmd = cmds->tcs_command;
2527 cmds->tcs_reader_count++;
2532 tlm_cmd_signal(cmds->tcs_command, TLM_TAPE_READER);
2535 while (cmds->tcs_reader == TLM_RESTORE_RUN &&
2582 cmds->tcs_reader_count--;
2663 tlm_commands_t *cmds; /* Commands structure */ local
2670 cmds = &nlp->nlp_cmds;
2671 lcmd = cmds
2749 tlm_commands_t *cmds; local
2885 tlm_commands_t *cmds; /* Commands structure */ local
3025 tlm_commands_t *cmds; local
3121 tlm_commands_t *cmds; local
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dsys.c964 static elfedit_cmd_t cmds[] = { local
1032 cmds, mod_i18nhdl_to_str };
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c1108 static elfedit_cmd_t cmds[] = { local
1148 cmds, mod_i18nhdl_to_str };
H A Dsyminfo.c849 static elfedit_cmd_t cmds[] = { local
881 cmds, mod_i18nhdl_to_str };
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dpktool.c522 static verbcmd cmds[] = { variable
539 static int num_cmds = sizeof (cmds) / sizeof (verbcmd);
547 cmds[TOKEN_IDX].verb = TOKEN_VERB;
548 cmds[TOKEN_IDX].summary = TOKEN_SUMM;
549 cmds[TOKEN_IDX].synopsis = TOKEN_SYN;
551 cmds[SETPIN_IDX].verb = SETPIN_VERB;
552 cmds[SETPIN_IDX].summary = SETPIN_SUMM;
553 cmds[SETPIN_IDX].synopsis = SETPIN_SYN;
555 cmds[LIST_IDX].verb = LIST_VERB;
556 cmds[LIST_ID
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_engine.c197 } cmds[] = { variable in typeref:struct:cmd_info
246 for (cip = cmds; cip->name != NULL; ++cip) {
265 * argument-completion routine in the cmds table.
284 for (cip = cmds; cip->name != NULL; ++cip) {
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c133 undo_commands(cmdbuf_t *cmds, int last_cmd_index) argument
136 command_t *com = cmds->commands;
213 parse_version(cmdbuf_t *cmds, char *line) argument
230 cmds->version_no = (float)strtod(vertok, &endptr);
234 if (cmds->version_no > (float)SUPPORTED_VERSION_NUM)
708 process_prop(cmdbuf_t *cmds, command_t *command, picl_nodehdl_t nodeh) argument
715 if (cmds->inside_row_block &&
716 cmds->commands[cmds->current_row].rowcmd_nproph == 0)
734 if (cmds
894 process_refprop(cmdbuf_t *cmds, command_t *command, picl_nodehdl_t nodeh) argument
1050 process_endrow(cmdbuf_t *cmds) argument
1083 parse_verbose(cmdbuf_t *cmds, char *line, command_t *command) argument
1119 process_verbose(cmdbuf_t *cmds, command_t *command) argument
1129 parse_and_tokenize_line(cmdbuf_t *cmds, char *buf, command_t *command) argument
1263 check_line_syntax(cmdbuf_t *cmds, char *buf) argument
1360 check_conffile_syntax(cmdbuf_t *cmds, FILE *fp) argument
1460 skip_to_next_valid_path(cmdbuf_t *cmds, int starting_index, picl_nodehdl_t *parent, int *last_processed_index) argument
1490 process_commands(cmdbuf_t *cmds, int starting_index, picl_nodehdl_t parent, int *last_processed_index) argument
1581 clean_up(cmdbuf_t *cmds) argument
1637 cmdbuf_t *cmds; local
[all...]
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c91 static cmd_t cmds[] = { variable
270 for (i = 0; i < sizeof (cmds) / sizeof (cmds[0]); i++) {
271 cmdp = &cmds[i];
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dengine.c201 static cmdfct cmds[] = variable
250 int ncmds = sizeof(cmds) / sizeof(cmdfct);
335 if (cmd == cmds[i].cm_cmd)
347 if ((f = cmds[i].cm_fct) == NULL)
358 newstate = cmds[i].cm_next;
400 arg.a_idx = cmds[i].cm_macros;
431 if (!bitset(CT_IGNO, cmds[i].cm_todo))
442 } while (!bitset(CT_END, cmds[i].cm_todo));

Completed in 84 milliseconds

12