Searched refs:cmds (Results 1 - 25 of 62) sorted by relevance

123

/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/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/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/lib/krb5/ss/
H A Dutils.c35 char * generate_cmds_string(cmds)
36 char const *cmds;
42 fputs(cmds, output_file);
55 char * generate_rqte(func_name, info_string, cmds, options)
58 char const *cmds;
63 var_name = generate_cmds_string(cmds);
/illumos-gate/usr/src/cmd/devmgmt/
H A DMakefile31 SUBDIRS = cmds data
/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_tar3.c1443 tlm_commands_t *cmds; local
1457 cmds = &nlp->nlp_cmds;
1458 (void) memset(cmds, 0, sizeof (*cmds));
1475 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size);
1476 if (!cmds->tcs_command) {
1484 tlm_release_reader_writer_ipc(cmds->tcs_command);
1517 tlm_commands_t *cmds; local
1534 cmds = &nlp->nlp_cmds;
1535 (void) memset(cmds,
1585 tlm_commands_t *cmds; local
2236 tlm_commands_t *cmds; local
2369 tlm_commands_t *cmds; local
2922 tlm_commands_t *cmds; local
2962 tlm_commands_t *cmds; local
3152 tlm_commands_t *cmds; local
3514 tlm_commands_t *cmds; local
[all...]
H A Dndmpd_util.c1302 * cmds (input) - reader/writer command struct
1308 ndmp_stop_local_reader(ndmpd_session_t *session, tlm_commands_t *cmds) argument
1314 if (cmds != NULL && cmds->tcs_reader_count > 0) {
1317 cmds->tcs_command->tc_reader = TLM_STOP;
1331 * cmds (input) - reader/writer command struct
1359 ndmp_wait_for_reader(tlm_commands_t *cmds) argument
1361 if (cmds == NULL) {
1362 NDMP_LOG(LOG_DEBUG, "cmds == NULL");
1365 "reader_count: %d", cmds
1574 tlm_commands_t *cmds; local
1613 tlm_commands_t *cmds; local
1649 tlm_commands_t *cmds; local
1689 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/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/cmd-inet/usr.bin/rdist/
H A Ddocmd.c58 struct subcmd *cmds);
61 struct subcmd *cmds);
99 * Do the commands in cmds (initialized by yyparse).
110 extern struct cmd *cmds;
125 if (!cmds)
126 printf("docmds: cmds == NULL\n");
128 printf("docmds: cmds ");
129 prcmd(cmds);
131 for (c = cmds; c != NULL; c = c->c_next) {
172 doarrow(filev, files, rhost, cmds)
[all...]
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);
H A Dgram.y22 struct cmd *cmds = NULL;
371 if (cmds)
372 prcmd(cmds);
374 printf("insert: cmds NULL\n");
380 for (prev = NULL, c = cmds; c!=NULL; prev = c, c = c->c_next) {
403 cmds = nc;
406 /* update last_cmd if appending nc to cmds */
434 if (cmds == NULL)
435 cmds = last_cmd = c;
/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/uts/i86pc/io/fipe/
H A Dfipe_pm.c660 dcopy_cmd_t *cmds = fipe_ioat_ctrl.ioat_cmds; local
663 if (dcopy_cmd_post(cmds[idx]) == DCOPY_SUCCESS) {
709 dcopy_cmd_t cmds[FIPE_IOAT_CMD_NUM + 1]; local
779 bzero(cmds, sizeof (cmds));
791 cmds[idx] = cmds[idx + 1];
793 rc = dcopy_cmd_alloc(handle, flags, &cmds[idx]);
805 cmds[idx]->dp_flags = DCOPY_CMD_NOSRCSNP | DCOPY_CMD_NODSTSNP;
809 cmds[id
895 dcopy_cmd_t *cmds = fipe_ioat_ctrl.ioat_cmds; local
[all...]
/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/tools/scripts/
H A Dgit-pbchk.py313 def run_checks(root, parent, cmds, paths='', opts={}):
314 """Run the checks given in 'cmds', expected to have well-known signatures,
324 for cmd in cmds:
339 cmds = [copyright,
346 run_checks(root, parent, cmds, paths)
350 cmds = [comchk,
358 run_checks(root, parent, cmds)
/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/cmd/cmd-inet/usr.bin/ftp/
H A DMakefile29 OBJS = cmds.o cmdtab.o ftp.o getpass.o glob.o main.o pclose.o \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs/
H A Dzfs_002_pos.ksh81 typeset cmds=("create $fs" "list $fs" "snapshot $snap" "set snapdir=hidden $fs" \
95 for subcmd in "${cmds[@]}" "${badparams[@]}"; do
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_002_pos.ksh76 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \
90 for subcmd in "${cmds[@]}" "${badparams[@]}"; do
/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/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++) {

Completed in 1308 milliseconds

123