/illumos-gate/usr/src/test/zfs-tests/cmd/chg_usr_exec/ |
H A D | chg_usr_exec.c | 40 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 D | kmfcfg.c | 57 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 D | printer.c | 92 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 D | main.c | 63 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 D | fmadm.c | 104 } 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 D | main.c | 42 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 D | hrtimers.c | 78 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 D | ilbadm_import.c | 212 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 D | ifparse.c | 152 } cmds[] = { variable in typeref:struct:cmd 455 for (p = cmds; ; p++) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | main.c | 426 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 D | devctl.c | 99 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 D | object.c | 357 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 D | ppm_xgsubr.c | 522 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 D | runtests.c | 77 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 D | vrrpadm.c | 51 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 D | ndmpd_tar.c | 84 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 D | ndmpd_mover.c | 2515 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 D | sys.c | 964 static elfedit_cmd_t cmds[] = { local 1032 cmds, mod_i18nhdl_to_str };
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | str.c | 1108 static elfedit_cmd_t cmds[] = { local 1148 cmds, mod_i18nhdl_to_str };
|
H A D | syminfo.c | 849 static elfedit_cmd_t cmds[] = { local 881 cmds, mod_i18nhdl_to_str };
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | pktool.c | 522 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 D | svccfg_engine.c | 197 } 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 D | picld_pluginutil.c | 133 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 D | flowadm.c | 91 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 D | engine.c | 201 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));
|