/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/ |
H A D | history_common.kshlib | 56 subcmd=$(echo $histcmd | awk '{print $2}') 63 [[ $subcmd == "receive" || $subcmd == "recv" ]] && \ 87 [[ $flags =~ "i" ]] && log_must verify_$subcmd "$histcmd" "$subcmd" \ 119 typeset subcmd=$2 132 grep "$subcmd $ds ([0-9]*) tag=$tag" $NEW_HISTORY \ 192 grep "$subcmd $ds ([0-9]*) ${prop}=" $NEW_HISTORY >/dev/null \ 206 typeset subcmd=$2 210 [[ $subcmd == "allow" ]] && subcmd="update" 211 [[ $subcmd == "unallow" ]] && subcmd="remove" 245 grep "permission $subcmd $dsname ([0-9]*) $code" \ [all …]
|
H A D | history_007_pos.ksh | 94 for subcmd in "export" "import"; do 95 grep "$subcmd" $migrated_cmds_f >/dev/null 2>&1 97 (( $RET != 0 )) && log_fail "zpool $subcmd is not logged for" \
|
H A D | history_009_pos.ksh | 107 subcmd=${array[$i]} 110 run_and_verify "zfs $subcmd $options $testfs" "-i"
|
/illumos-gate/usr/src/cmd/dfs.cmds/dfshares/ |
H A D | dfshares.c | 70 char subcmd[BUFSIZ]; /* fs specific command */ in main() local 134 (void) snprintf(subcmd, sizeof (subcmd), in main() 138 (void) execvp(subcmd, nargv); in main() 140 perror(subcmd); in main() 176 (void) snprintf(subcmd, sizeof (subcmd), in main() 179 (void) snprintf(subcmd, sizeof (subcmd), FSCMD, fsname, cmd); in main() 187 (void) execvp(subcmd, nargv); in main() 188 perror(subcmd); /* execvp failed */ in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | gram.y | 24 struct subcmd *last_sc; 27 struct subcmd *subcmds); 51 struct subcmd *subcmd; member 57 %type <subcmd> INSTALL NOTIFY EXCEPT PATTERN SPECIAL cmdlist cmd 338 yylval.subcmd = makesubcmd(c); in yylex() 360 struct subcmd *subcmds; 422 struct subcmd *subcmds; 527 struct subcmd * 533 register struct subcmd *sc; 535 sc = ALLOC(subcmd);
|
H A D | defs.h | 101 struct subcmd { struct 106 struct subcmd *sc_next; argument 114 struct subcmd *c_cmds; 144 struct subcmd *makesubcmd();
|
H A D | docmd.c | 45 struct subcmd *subcmds; /* list of sub-commands for current cmd */ 57 struct subcmd *cmds); 60 struct subcmd *cmds); 167 doarrow(char **filev, struct namelist *files, char *rhost, struct subcmd *cmds) in doarrow() 170 struct subcmd *sc; in doarrow() 500 dodcolon(char **filev, struct namelist *files, char *stamp, struct subcmd *cmds) in dodcolon() 502 struct subcmd *sc; in dodcolon() 743 struct subcmd *sc; in except()
|
H A D | main.c | 99 static void prsubcmd(struct subcmd *s); 426 struct subcmd *cmds; 504 struct subcmd *s; in prsubcmd()
|
H A D | server.c | 315 struct subcmd *sc; in sendf() 322 extern struct subcmd *subcmds; in sendf()
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-zpool.c | 102 char *subcmd, const char *pool, const char *device, in handle_zpool() argument 117 printf ("subcmd = %s\n", subcmd); in handle_zpool() 126 args[na++] = subcmd; in handle_zpool() 127 if ((strcmp (subcmd, "import") == 0) && in handle_zpool() 146 printf ("Cannot execute zpool %s\n", subcmd); in handle_zpool() 152 event_id = (strcmp (subcmd, "import") == 0) ? in handle_zpool()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs/ |
H A D | zfs_002_pos.ksh | 96 for subcmd in "${cmds[@]}" "${badparams[@]}"; do 97 zfs $subcmd >/dev/null 2>&1 && log_fail "$subcmd passed incorrectly." 100 log_fail "zfs $subcmd cannot generate core file with " \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/ |
H A D | zpool_002_pos.ksh | 91 for subcmd in "${cmds[@]}" "${badparams[@]}"; do 92 zpool $subcmd >/dev/null 2>&1 95 log_fail "zpool $subcmd cannot generate core file with ZFS_ABORT set."
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 401 bam_loader_menu(char *subcmd, char *opt, int largc, char *largv[]) in bam_loader_menu() argument 423 ret = check_subcmd_and_options(subcmd, opt, menu_subcmds, &f); in bam_loader_menu() 433 if (strcmp(subcmd, "update_entry") == 0) { in bam_loader_menu() 506 strcmp(subcmd, "update_entry") != 0) { in bam_loader_menu() 516 if (strcmp(subcmd, "list_entry") == 0) in bam_loader_menu() 525 if (strcmp(subcmd, "set_option") == 0) { in bam_loader_menu() 528 } else if ((strcmp(subcmd, "enable_hypervisor") != 0) && in bam_loader_menu() 529 (strcmp(subcmd, "list_setting") != 0)) { in bam_loader_menu() 537 if (strcmp(subcmd, "update_entry") == 0) { in bam_loader_menu() 539 } else if (strcmp(subcmd, "upgrade") == 0) { in bam_loader_menu() [all …]
|
H A D | bootadm.c | 874 char *subcmd, in check_subcmd_and_options() argument 881 if (subcmd == NULL) { in check_subcmd_and_options() 886 if (strcmp(subcmd, "set_option") == 0) { in check_subcmd_and_options() 896 } else if (strcmp(subcmd, "update_all") == 0) { in check_subcmd_and_options() 909 } else if (((strcmp(subcmd, "enable_hypervisor") != 0) && in check_subcmd_and_options() 910 (strcmp(subcmd, "list_setting") != 0)) && (bam_argc || bam_argv)) { in check_subcmd_and_options() 926 for (i = 0; table[i].subcmd != NULL; i++) { in check_subcmd_and_options() 927 if (strcmp(table[i].subcmd, subcmd) == 0) in check_subcmd_and_options() 931 if (table[i].subcmd == NULL) { in check_subcmd_and_options() 932 bam_error(_("invalid sub-command specified: %s\n"), subcmd); in check_subcmd_and_options() [all …]
|
H A D | bootadm.h | 171 char *subcmd; member
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_wdc.c | 345 nvme_wdc_resize_vuc(nvme_ctrl_t *ctrl, uint8_t subcmd, uint32_t gib) in nvme_wdc_resize_vuc() argument 348 uint32_t cdw12 = WDC_VUC_RESIZE_CMD | ((uint32_t)subcmd << 8); in nvme_wdc_resize_vuc() 572 nvme_wdc_assert_common(nvme_ctrl_t *ctrl, uint32_t subcmd) in nvme_wdc_assert_common() argument 575 const char *name = subcmd == WDC_VUC_ASSERT_SUB_CLEAR ? in nvme_wdc_assert_common() 577 uint32_t cdw12 = WDC_VUC_ASSERT_CMD | (subcmd << 8); in nvme_wdc_assert_common()
|
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | admin_cmds.c | 556 char *subcmd = argv[1]; in cmd_clear() local 558 if (subcmd && strcmp(subcmd, "lock") == 0) { in cmd_clear() 560 } else if (subcmd && strcmp(subcmd, "owner") == 0) { in cmd_clear()
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | priocntl.c | 326 char subcmd[128]; in print_procs() local 424 if (snprintf(subcmd, sizeof (subcmd), "%s/%s/%s%s -d", in print_procs() 426 basenm) >= sizeof (subcmd)) { in print_procs() 434 if ((pipe_to_subcmd = popen(subcmd, "w")) == NULL) { in print_procs()
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 3851 uint8_t subcmd; in ata_set_dma_mode() local 3872 subcmd = ATF_XFRMOD_UDMA; in ata_set_dma_mode() 3880 subcmd = ATF_XFRMOD_MDMA; in ata_set_dma_mode() 3887 subcmd|mode); in ata_set_dma_mode() 3898 uint8_t subcmd; in ata_reset_dma_mode() local 3904 subcmd = ATF_XFRMOD_UDMA; in ata_reset_dma_mode() 3911 subcmd = ATF_XFRMOD_MDMA; in ata_reset_dma_mode() 3922 (subcmd | mode)); in ata_reset_dma_mode()
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | cryptoadm.c | 123 char *subcmd; in main() local 144 subcmd = argv[1]; in main() 148 (strcmp(subcmd, cmd_table[cmd_index]) != 0)) { in main()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 1629 modctl_modevents(int subcmd, uintptr_t a2, uintptr_t a3, uintptr_t a4, in modctl_modevents() argument 1635 switch (subcmd) { in modctl_modevents() 1639 log_sysevent_flushq(subcmd, flag); in modctl_modevents() 2280 modctl_hp(int subcmd, const char *path, char *cn_name, uintptr_t arg, in modctl_hp() argument 2306 switch (subcmd) { in modctl_hp() 2341 modctl_moddevname(int subcmd, uintptr_t a1, uintptr_t a2) in modctl_moddevname() argument 2345 switch (subcmd) { in modctl_moddevname()
|
H A D | sunpm.c | 9108 pm_noinvol_update(int subcmd, int volpmd, int wasvolpmd, char *path, in pm_noinvol_update() argument 9118 args.bpni_cmd = subcmd; in pm_noinvol_update() 9123 path, (void *)tdip, subcmd, wasvolpmd, volpmd)) in pm_noinvol_update()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 8539 devname_kcall(int subcmd, void *args) in devname_kcall() argument 8543 switch (subcmd) { in devname_kcall() 8545 error = modctl(MODDEVNAME, subcmd, (uintptr_t)args); in devname_kcall()
|
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 14415 uint8_t subcmd; in sata_set_dma_mode() local 14461 subcmd = SATAC_TRANSFER_MODE_ULTRA_DMA; in sata_set_dma_mode() 14492 subcmd = SATAC_TRANSFER_MODE_MULTI_WORD_DMA; in sata_set_dma_mode() 14526 scmd->satacmd_sec_count_lsb = subcmd | mode; in sata_set_dma_mode()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 3560 long subcmd; in aus_modctl() member
|