Home
last modified time | relevance | path

Searched refs:opt_s (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dreset.c33 const char *opt_s = NULL; in cmd_reset() local
40 opt_s = optarg; in cmd_reset()
55 if (opt_s != NULL) { in cmd_reset()
56 if (fmd_adm_serd_reset(adm, mod, opt_s) != 0) in cmd_reset()
57 die("failed to reset serd engine %s", opt_s); in cmd_reset()
58 note("%s serd engine '%s' has been reset\n", mod, opt_s); in cmd_reset()
H A Dfaulty.c1664 int opt_a = 0, opt_v = 0, opt_p = 0, opt_s = 0, opt_r = 0, opt_f = 0; in cmd_faulty() local
1696 opt_s++; in cmd_faulty()
1733 print_fru(opt_s, opt_a, opt_i, opt_p && !opt_s); in cmd_faulty()
1737 print_catalog(opt_s, opt_a, opt_v, opt_i, opt_p && !opt_s); in cmd_faulty()
/illumos-gate/usr/src/cmd/rsrvrctl/
H A Drsrvrctl.c176 const char *opt_a = NULL, *opt_r = NULL, *opt_s = NULL; in main() local
199 if (opt_s == NULL) { in main()
201 opt_s = optarg; in main()
250 } else if (opt_s != NULL) { in main()
253 if (!parse_size(opt_s, &sz)) { in main()
254 warn("Invalid size %s", opt_s); in main()
/illumos-gate/usr/src/tools/scripts/
H A Dvalidate_paths.pl72 my ($opt_r, $opt_m, @opt_s, @opt_e, @opt_k, $opt_b, $opt_n);
110 foreach my $pat (@opt_s) {
144 my $arg, $opt_r, $opt_m, @opt_s, @opt_e, @opt_k, $opt_b, $opt_n;
156 push @opt_s, $arg;
/illumos-gate/usr/src/cmd/dlutil/
H A Ddlled.c211 boolean_t opt_s = B_FALSE; in main() local
220 opt_s = B_TRUE; in main()
236 if (opt_s && argc > 1) { in main()
241 if (opt_s && argc <= 0) { in main()
252 if (opt_s) { in main()
/illumos-gate/usr/src/cmd/projadd/
H A Dprojmod.pl371 my $opt_s;
383 "s" => \$opt_s,
420 if ((defined($opt_a) && (defined($opt_r) || defined($opt_s))) ||
421 (defined($opt_r) && (defined($opt_a) || defined($opt_s))) ||
422 (defined($opt_s) && (defined($opt_a) || defined($opt_r))));
425 if ((defined($opt_a) || defined($opt_r) || defined($opt_s)) &&
433 } elsif (defined($opt_s)) {
/illumos-gate/usr/src/cmd/psrinfo/
H A Dpsrinfo.c555 int opt_s = 0; in main() local
734 opt_s = 1; in main()
750 if (opt_c || opt_p || opt_S != NULL || opt_s || opt_t || opt_v) in main()
760 if (opt_s || opt_v) in main()
794 if (opt_s && opt_v) { in main()
797 if (opt_s && nspec != 1) { in main()
802 } else if (opt_s && opt_p) { in main()
808 } else if (opt_s) { in main()
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmvolmgr.c71 static boolean_t opt_s; /* system instance */ variable
113 opt_s = B_TRUE; in rmvolmgr()
128 if (opt_s) { in rmvolmgr()
181 if (opt_s) { in rmvolmgr()
212 if (!opt_s) { in rmvolmgr()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmodhash.c354 uint_t opt_s = FALSE; in modhash() local
367 's', MDB_OPT_SETBITS, TRUE, &opt_s, in modhash()
416 if (opt_s | opt_t) { in modhash()
445 if (DCMD_HDRSPEC(flags) && opt_s) { in modhash()
468 if (!mwd.mwd_opt_e && !opt_s) { in modhash()
488 if (opt_s) { in modhash()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_set.c360 uintptr_t opt_s = (uintptr_t)(long)-1; in cmd_set() local
383 's', MDB_OPT_UINTPTR, &opt_s, in cmd_set()
459 if (opt_s != (uintptr_t)-1) in cmd_set()
460 mdb.m_symdist = (size_t)opt_s; in cmd_set()
H A Dmdb_nm.c814 uintptr_t opt_e = 0, opt_s = 0; in cmd_nmadd() local
827 's', MDB_OPT_UINTPTR, &opt_s, NULL); in cmd_nmadd()
851 if (opt_s) in cmd_nmadd()
852 sym.st_size = (GElf_Xword)(opt_s); in cmd_nmadd()
H A Dmdb_print.c2311 uintptr_t opt_s = (uintptr_t)-1ul; in cmd_print() local
2339 's', MDB_OPT_UINTPTR, &opt_s, in cmd_print()
2412 pa.pa_maxdepth = opt_s; in cmd_print()
/illumos-gate/usr/src/cmd/logadm/
H A Dtester131 usage("cannot list more than one test with -s option") if $opt_s && @ARGV;
161 if ($opt_s) {
165 $testname = $opt_s;
166 eval "&$opt_s";
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddtest.pl522 unless ($opt_s) {
686 unless ($opt_s) {
695 unless ($opt_s) {
/illumos-gate/usr/src/cmd/fm/fmtopo/common/
H A Dfmtopo.c52 static const char *opt_s = FM_FMRI_SCHEME_HC; variable
838 if (opt_e && strcmp(opt_s, FM_FMRI_SCHEME_HC) == 0) { in walk_node()
1006 strcmp(opt_s, FM_FMRI_SCHEME_HC) == 0) { in walk_topo()
1010 if ((twp = topo_walk_init(thp, opt_s, walk_node, NULL, &err)) in walk_topo()
1013 " %s\n", g_pname, opt_s, topo_strerror(err)); in walk_topo()
1277 opt_s = optarg; in main()
1323 strcmp(opt_s, FM_FMRI_SCHEME_HC) == 0 ? in main()
1344 if (topo_xml_print(thp, stdout, opt_s, &err) < 0) in main()
/illumos-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c701 int opt_a = 0, opt_s = 0, opt_t = 0, opt_T = 0, opt_z = 0; in main() local
746 opt_s++; in main()
773 if (opt_t != 0 && (opt_m != NULL || opt_s != 0)) { in main()
785 if (opt_m == NULL && opt_s != 0) { in main()
797 if (opt_s) in main()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_mdb.c283 uint_t opt_c = FALSE, opt_s = FALSE; in fmd_trace() local
287 's', MDB_OPT_SETBITS, TRUE, &opt_s, NULL) != argc) in fmd_trace()
297 func = opt_s ? trprint_cpp_stack : trprint_cpp; in fmd_trace()
300 func = opt_s ? trprint_msg_stack : trprint_msg; in fmd_trace()
1516 uint_t opt_s = FALSE, opt_l = FALSE, opt_r = FALSE, opt_u = FALSE; in fmd_xprt() local
1522 's', MDB_OPT_SETBITS, TRUE, &opt_s, in fmd_xprt()
1547 if (opt_l | opt_s) { in fmd_xprt()
1556 if (opt_r | opt_s) { in fmd_xprt()
1565 if (opt_u | opt_s) { in fmd_xprt()
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c513 char product[36], *opt_s = NULL, *opt_P = NULL; in fmtopo() local
520 's', MDB_OPT_STR, &opt_s, 'P', MDB_OPT_STR, &opt_P, NULL) in fmtopo()
525 if (opt_s) { in fmtopo()
526 tgt_scheme = opt_s; in fmtopo()
/illumos-gate/usr/src/cmd/mdb/common/modules/nfs/
H A Dnfs_clnt.c920 uint_t opt_s = FALSE; in nfs4_server_info_dcmd() local
933 's', MDB_OPT_SETBITS, TRUE, &opt_s, NULL) != argc) in nfs4_server_info_dcmd()
949 if (opt_s) { in nfs4_server_info_dcmd()
1317 uint_t opt_s = *(uint_t *)cb_data; in print_mimsg_cb() local
1324 if (opt_s) { in print_mimsg_cb()
1376 uint_t opt_s = FALSE; in nfs4_mimsg_dcmd() local
1384 's', MDB_OPT_SETBITS, TRUE, &opt_s, NULL) != argc) in nfs4_mimsg_dcmd()
1387 if (mdb_pwalk("list", print_mimsg_cb, &opt_s, addr) == -1) { in nfs4_mimsg_dcmd()
/illumos-gate/usr/src/stand/lib/sock/
H A Dsock_test.c792 st_match_option(char *opt_s, int *opt, int *opt_level) in st_match_option() argument
797 if (strcmp(so_option_array[i].so_name, opt_s) == 0) { in st_match_option()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd666 if !$opt_s && ($lcladdr || $str);
671 if ($$opts{interface} && $opt_s) {
782 if ($opt_s) {
/illumos-gate/usr/src/cmd/fm/scripts/
H A Dfmsim.ksh276 if $opt_s; then
/illumos-gate/usr/src/cmd/smbios/
H A Dsmbios.c58 static int opt_s; variable
1970 if (g_hdr++ == 0 || !opt_s) in print_struct()
1990 if (opt_s) in print_struct()
2244 opt_s++; in main()