/titanic_50/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; in init_command_list() 548 cmds[TOKEN_IDX].summary = TOKEN_SUMM; in init_command_list() 549 cmds[TOKEN_IDX].synopsis = TOKEN_SYN; in init_command_list() 551 cmds[SETPIN_IDX].verb = SETPIN_VERB; in init_command_list() 552 cmds[SETPIN_IDX].summary = SETPIN_SUMM; in init_command_list() 553 cmds[SETPIN_IDX].synopsis = SETPIN_SYN; in init_command_list() 555 cmds[LIST_IDX].verb = LIST_VERB; in init_command_list() 556 cmds[LIST_IDX].summary = LIST_SUMM; in init_command_list() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 133 undo_commands(cmdbuf_t *cmds, int last_cmd_index) in undo_commands() argument 136 command_t *com = cmds->commands; in undo_commands() 213 parse_version(cmdbuf_t *cmds, char *line) in parse_version() argument 230 cmds->version_no = (float)strtod(vertok, &endptr); in parse_version() 234 if (cmds->version_no > (float)SUPPORTED_VERSION_NUM) in parse_version() 708 process_prop(cmdbuf_t *cmds, command_t *command, picl_nodehdl_t nodeh) in process_prop() argument 715 if (cmds->inside_row_block && in process_prop() 716 cmds->commands[cmds->current_row].rowcmd_nproph == 0) in process_prop() 734 if (cmds->inside_row_block) { in process_prop() 735 err = add_proph_to_row(&cmds->commands[cmds->current_row], in process_prop() [all …]
|
/titanic_50/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tar.c | 84 tlm_commands_t *cmds; in backup_create_structs() local 96 cmds = &nlp->nlp_cmds; in backup_create_structs() 97 (void) memset(cmds, 0, sizeof (*cmds)); in backup_create_structs() 112 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size); in backup_create_structs() 113 if (cmds->tcs_command == NULL) { in backup_create_structs() 124 tlm_release_reader_writer_ipc(cmds->tcs_command); in backup_create_structs() 153 tlm_commands_t *cmds; in restore_create_structs() local 164 cmds = &nlp->nlp_cmds; in restore_create_structs() 165 (void) memset(cmds, 0, sizeof (*cmds)); in restore_create_structs() 168 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in restore_create_structs() [all …]
|
H A D | ndmpd_tar3.c | 1443 tlm_commands_t *cmds; in backup_alloc_structs_v3() local 1457 cmds = &nlp->nlp_cmds; in backup_alloc_structs_v3() 1458 (void) memset(cmds, 0, sizeof (*cmds)); in backup_alloc_structs_v3() 1475 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size); in backup_alloc_structs_v3() 1476 if (!cmds->tcs_command) { in backup_alloc_structs_v3() 1484 tlm_release_reader_writer_ipc(cmds->tcs_command); in backup_alloc_structs_v3() 1517 tlm_commands_t *cmds; in restore_alloc_structs_v3() local 1534 cmds = &nlp->nlp_cmds; in restore_alloc_structs_v3() 1535 (void) memset(cmds, 0, sizeof (*cmds)); in restore_alloc_structs_v3() 1538 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in restore_alloc_structs_v3() [all …]
|
H A D | ndmpd_util.c | 1308 ndmp_stop_local_reader(ndmpd_session_t *session, tlm_commands_t *cmds) in ndmp_stop_local_reader() argument 1314 if (cmds != NULL && cmds->tcs_reader_count > 0) { in ndmp_stop_local_reader() 1317 cmds->tcs_command->tc_reader = TLM_STOP; in ndmp_stop_local_reader() 1359 ndmp_wait_for_reader(tlm_commands_t *cmds) in ndmp_wait_for_reader() argument 1361 if (cmds == NULL) { in ndmp_wait_for_reader() 1365 "reader_count: %d", cmds->tcs_reader_count); in ndmp_wait_for_reader() 1367 while (cmds->tcs_reader_count > 0) in ndmp_wait_for_reader() 1574 tlm_commands_t *cmds; in ndmp_stop_buffer_worker() local 1580 cmds = &nlp->nlp_cmds; in ndmp_stop_buffer_worker() 1581 if (cmds->tcs_command == NULL) { in ndmp_stop_buffer_worker() [all …]
|
H A D | ndmpd_mover.c | 2515 tlm_commands_t *cmds; /* Commands structure */ in mover_tape_reader() local 2522 cmds = &nlp->nlp_cmds; in mover_tape_reader() 2523 lcmd = cmds->tcs_command; in mover_tape_reader() 2527 cmds->tcs_reader_count++; in mover_tape_reader() 2532 tlm_cmd_signal(cmds->tcs_command, TLM_TAPE_READER); in mover_tape_reader() 2535 while (cmds->tcs_reader == TLM_RESTORE_RUN && in mover_tape_reader() 2582 cmds->tcs_reader_count--; in mover_tape_reader() 2663 tlm_commands_t *cmds; /* Commands structure */ in mover_socket_writer() local 2670 cmds = &nlp->nlp_cmds; in mover_socket_writer() 2671 lcmd = cmds->tcs_command; in mover_socket_writer() [all …]
|
/titanic_50/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); in usage() 211 if (strcmp(cmds[i].verb, argv[0]) == 0) { in main() 223 ret = (*cmds[found].action)(argc, argv); in main() 257 "error 0x%02x\n"), cmds[found].verb, ret); in main()
|
/titanic_50/usr/src/cmd/hal/utils/ |
H A D | printer.c | 92 char *cmds[32]; in ieee1284_devid_to_printer_info() local 95 memset(&cmds, 0, sizeof (cmds)); in ieee1284_devid_to_printer_info() 98 ((v != NULL) && (i < NELEM(cmds))); in ieee1284_devid_to_printer_info() 100 cmds[i++] = strdup(strip_ws(v)); in ieee1284_devid_to_printer_info() 104 for (i = 0; (cmds)[i] != NULL; i++) in ieee1284_devid_to_printer_info() 105 (*command_set)[i] = cmds[i]; in ieee1284_devid_to_printer_info()
|
/titanic_50/usr/src/test/zfs-tests/cmd/chg_usr_exec/ |
H A D | chg_usr_exec.c | 40 char cmds[BUFSIZ] = { 0 }; in main() local 53 (void) snprintf(cmds+len, sizeof (cmds)-len, in main() 71 if (execl(EXECSHELL, "sh", "-c", cmds, (char *)NULL) != 0) { in main()
|
/titanic_50/usr/src/lib/krb5/ss/ |
H A D | utils.c | 35 char * generate_cmds_string(cmds) in generate_cmds_string() argument 36 char const *cmds; in generate_cmds_string() 42 fputs(cmds, output_file); 55 char * generate_rqte(func_name, info_string, cmds, options) in generate_rqte() argument 58 char const *cmds; 63 var_name = generate_cmds_string(cmds);
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | docmd.c | 58 struct subcmd *cmds); 61 struct subcmd *cmds); 110 extern struct cmd *cmds; 125 if (!cmds) 129 prcmd(cmds); 131 for (c = cmds; c != NULL; c = c->c_next) { 172 doarrow(filev, files, rhost, cmds) in doarrow() argument 176 struct subcmd *cmds; 184 printf("doarrow(%x, %s, %x)\n", files, rhost, cmds); 191 subcmds = cmds; [all …]
|
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);
|
H A D | gram.y | 22 struct cmd *cmds = NULL; variable 371 if (cmds) 372 prcmd(cmds); 380 for (prev = NULL, c = cmds; c!=NULL; prev = c, c = c->c_next) { 403 cmds = nc; 434 if (cmds == NULL) 435 cmds = last_cmd = c;
|
/titanic_50/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_pm.c | 660 dcopy_cmd_t *cmds = fipe_ioat_ctrl.ioat_cmds; in fipe_ioat_trigger() local 663 if (dcopy_cmd_post(cmds[idx]) == DCOPY_SUCCESS) { in fipe_ioat_trigger() 709 dcopy_cmd_t cmds[FIPE_IOAT_CMD_NUM + 1]; in fipe_ioat_alloc() local 779 bzero(cmds, sizeof (cmds)); in fipe_ioat_alloc() 791 cmds[idx] = cmds[idx + 1]; in fipe_ioat_alloc() 793 rc = dcopy_cmd_alloc(handle, flags, &cmds[idx]); in fipe_ioat_alloc() 805 cmds[idx]->dp_flags = DCOPY_CMD_NOSRCSNP | DCOPY_CMD_NODSTSNP; in fipe_ioat_alloc() 809 cmds[idx]->dp_flags |= DCOPY_CMD_NOSTAT; in fipe_ioat_alloc() 811 cmds[idx]->dp_flags |= DCOPY_CMD_NOWAIT; in fipe_ioat_alloc() 814 cmds[idx]->dp_flags |= DCOPY_CMD_LOOP; in fipe_ioat_alloc() [all …]
|
/titanic_50/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | main.c | 63 struct cmd cmds[] = { variable 130 for (cur_cmd = 0; cmds[cur_cmd].c_name != NULL; cur_cmd++) { in main() 131 if (ci_streq(argv[optind], cmds[cur_cmd].c_name)) { in main() 136 return (cmds[cur_cmd].c_func(newargc, newargv)); in main()
|
/titanic_50/usr/src/cmd/devctl/ |
H A D | devctl.c | 99 typedef struct cmds { struct 113 static struct cmds *dc_cmd(); argument 139 static struct cmds device_cmds[] = { 158 static struct cmds bus_cmds[] = { 186 struct cmds *dcmd; in main() 525 static struct cmds * 526 dc_cmd(struct cmds *cmd_tbl, char *devctl_cmdname) in dc_cmd()
|
/titanic_50/usr/src/cmd/svc/configd/ |
H A D | object.c | 357 const struct rep_protocol_transaction_cmd *cmds; in tx_check_and_setup() local 370 cmds = (struct rep_protocol_transaction_cmd *)loc; in tx_check_and_setup() 371 cur->tx_cmd = cmds; in tx_check_and_setup() 373 sz = cmds->rptc_size; in tx_check_and_setup() 378 len = cmds->rptc_name_len; in tx_check_and_setup() 459 const struct rep_protocol_transaction_cmd *cmds; in tx_commit_data_new() local 474 cmds = (struct rep_protocol_transaction_cmd *)loc; in tx_commit_data_new() 479 sz = cmds->rptc_size; in tx_commit_data_new()
|
/titanic_50/usr/src/tools/scripts/ |
H A D | git-pbchk.py | 281 def run_checks(root, parent, cmds, paths='', opts={}): argument 292 for cmd in cmds: 306 cmds = [copyright, 313 run_checks(root, parent, cmds, paths) 316 cmds = [comchk, 324 run_checks(root, parent, cmds)
|
/titanic_50/usr/src/cmd/fm/fmadm/common/ |
H A D | fmadm.c | 104 } cmds[] = { variable 133 for (cp = cmds; cp->cmd_name != NULL; cp++) { in usage() 202 for (cp = cmds; cp->cmd_name != NULL; cp++) { in main()
|
/titanic_50/usr/src/uts/i86pc/io/ |
H A D | hrtimers.c | 78 int cmds; member 152 if (uap->cmds <= 0) 161 for (cnt = 0; cnt < uap->cmds; cnt++, hrcmdp++) {
|
/titanic_50/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++) { in main() 162 cp = &cmds[i]; in main() 675 for (i = 0; i < sizeof (cmds) / sizeof (cmd_t); i++) { in usage() 676 cp = &cmds[i]; in usage()
|
/titanic_50/usr/src/cmd/devmgmt/ |
H A D | Makefile | 31 SUBDIRS = cmds data
|
/titanic_50/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | main.c | 42 print_usage(char *progname, cmdtable_t cmds[]) in print_usage() argument 50 for (p = &cmds[0]; p->name != NULL; p++) { in print_usage()
|
/titanic_50/usr/src/cmd/svr4pkg/pkgcond/ |
H A D | main.c | 237 static CMD_T cmds[] = { variable 447 for (cur_cmd = 0; cmds[cur_cmd].c_name != NULL; cur_cmd++) { in main() 448 if (ci_streq(argv[optind], cmds[cur_cmd].c_name)) { in main() 460 result = cmds[cur_cmd].c_func(newargc, newargv, gdt); in main() 2621 for (cur_cmd = 0; cmds[cur_cmd].c_name != NULL; cur_cmd++) { in cmd_is_what() 2626 if (cmds[cur_cmd].c_func == cmd_is_what) { in cmd_is_what() 2632 result = cmds[cur_cmd].c_func(argc, argv, a_gdt); in cmd_is_what() 2638 cmds[cur_cmd].c_name, result); in cmd_is_what() 3768 for (cur_cmd = 0; cmds[cur_cmd].c_name != NULL; cur_cmd++) { in usage() 3770 (void) strlcat(cmdlst, cmds[cur_cmd].c_name, sizeof (cmdlst)); in usage() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | Makefile | 29 OBJS = cmds.o cmdtab.o ftp.o getpass.o glob.o main.o pclose.o \
|