/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printhash.c | 16 iphtable_t *printhash(hp, copyfunc, name, opts) in printhash() argument 20 int opts; 33 if ((opts & OPT_DEBUG) == 0) { 82 if ((opts & OPT_DEBUG) == 0) { 111 if ((opts & OPT_DEBUG) != 0) { 122 if ((opts & OPT_DEBUG) == 0) 132 ipep = printhashnode(&iph, ipep, copyfunc, opts); 141 if ((opts & OPT_DEBUG) == 0)
|
H A D | printpool.c | 15 ip_pool_t *printpool(pp, copyfunc, name, opts) in printpool() argument 19 int opts; 30 if ((opts & OPT_DEBUG) == 0) { 72 if ((opts & OPT_DEBUG) == 0) { 97 ipnp = printpoolnode(ipnp, opts); 99 if ((opts & OPT_DEBUG) == 0) { 105 if ((opts & OPT_DEBUG) == 0)
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_clnt.c | 959 if (reqctx->opts->dh_size != 1024 && reqctx->opts->dh_size != 2048 1190 &reqctx->opts->dh_size); 1255 reqctx->opts = NULL; 1263 reqctx->opts->require_eku = plgctx->opts->require_eku; 1264 reqctx->opts->accept_secondary_eku = plgctx->opts->accept_secondary_eku; 1265 reqctx->opts->dh_or_rsa = plgctx->opts->dh_or_rsa; 1266 reqctx->opts->allow_upn = plgctx->opts->allow_upn; 1267 reqctx->opts->require_crl_checking = plgctx->opts->require_crl_checking; 1290 if (reqctx->opts != NULL) 1317 if (reqctx->opts != NULL) [all …]
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfstat.c | 97 int opts = 0; variable 311 opts |= OPT_DEBUG; 317 opts |= OPT_FRSTATES; 320 opts |= OPT_GROUPS; 326 opts |= OPT_HITS; 332 opts |= OPT_INACTIVE; 335 opts |= OPT_SHOWLIST; 384 opts |= OPT_VERBOSE; 385 opts |= OPT_UNDEF; 410 if ((opts & OPT_OUTQUE) && (opts & OPT_INQUE)){ [all …]
|
H A D | ipfs.c | 86 int opts = 0; variable 256 opts |= OPT_DONOTHING; 287 opts |= OPT_VERBOSE; 361 if (opts & OPT_DONOTHING) 390 if (opts & OPT_VERBOSE) 397 if (opts & OPT_VERBOSE) 433 if (opts & OPT_VERBOSE) 442 if (opts & OPT_VERBOSE) 536 if (opts & OPT_VERBOSE) 669 if (opts & OPT_VERBOSE) [all …]
|
H A D | ipmon.c | 148 static int opts = 0; variable 1440 opts |= flags; 1442 opts &= ~(flags); 1477 opts |= OPT_LOGALL; 1496 opts |= OPT_FILTER; 1512 opts |= OPT_NAT; 1521 if (opts & OPT_NAT) 1540 opts |= OPT_SYSLOG; 1544 opts |= OPT_STATE; 1549 opts |= OPT_TAIL; [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | send-cpL_varied_recsize.ksh | 161 typeset recsize opts dir 177 for opts in '' -d -c -p -dp -L -dL -cp -cL -pL -dpL -cpL; do 178 check $opts $small log_must 180 for opts in -dc -dcp -dcL -dcpL; do 181 check $opts $small log_mustnot 185 for opts in '' -d -dp -c; do 186 check $opts $large log_must 188 for opts in -dc -dL -dcp -dcL -dpL -dcpL; do 189 check $opts $large log_mustnot
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_autofs.c | 102 if ((fnip->opts = malloc(MAX_MNTOPT_STR)) == NULL) in mount_autofs() 104 strcpy(fnip->opts, me->map_mntopts); in mount_autofs() 106 if (process_opts(fnip->opts, &fnip->direct, &sawnest) != 0) in mount_autofs() 154 len = strlen(fnip->opts); in mount_autofs() 161 strcpy(buf, fnip->opts); in mount_autofs() 202 char *opt, *opts, *lasts; in process_opts() local 209 opts = buf; in process_opts() 213 while ((opt = strtok_r(opts, ",", &lasts)) != NULL) { in process_opts() 214 opts = NULL; in process_opts() 247 if (p->opts) in free_autofs_args() [all …]
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | genoffsets.pl | 116 my %opts; 117 getopts("kr:s:v", \%opts) || usage(); 120 my $ctfstabs = findprog($opts{"s"}, "CTFSTABS", "ctfstabs"); 121 my $ctfconvert = findprog($opts{"r"}, "CTFCONVERT", "ctfconvert"); 123 $Keep = $opts{k}; 124 $Verbose = $opts{k} || $opts{v};
|
H A D | jstyle.pl | 45 my %opts; 49 if (!getopts("chpstvC", \%opts)) { 54 my $check_continuation = $opts{'c'}; 55 my $heuristic = $opts{'h'}; 56 my $picky = $opts{'p'}; 57 my $tabs = $opts{'t'}; 58 my $verbose = $opts{'v'}; 59 my $ignore_hdr_comment = $opts{'C'};
|
H A D | protocmp.terse.sh | 29 opts="" 35 opts="$opts -$arg" 51 protocmp $opts "$@" 2>$errlog |
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tree.c | 432 printf("%d", sp->opts->cols); in print_span() 433 if (sp->opts->opts & TBL_OPT_CENTRE) in print_span() 435 if (sp->opts->opts & TBL_OPT_EXPAND) in print_span() 437 if (sp->opts->opts & TBL_OPT_ALLBOX) in print_span() 439 if (sp->opts->opts & TBL_OPT_BOX) in print_span() 441 if (sp->opts->opts & TBL_OPT_DBOX) in print_span() 443 if (sp->opts->opts & TBL_OPT_NOKEEP) in print_span() 445 if (sp->opts->opts & TBL_OPT_NOSPACE) in print_span() 447 if (sp->opts->opts & TBL_OPT_NOWARN) in print_span()
|
H A D | out.c | 121 const struct tbl_opts *opts; in tblcalc() local 138 opts = sp_first->opts; in tblcalc() 183 opts, dp, in tblcalc() 186 rmargin ? (rmargin + sp->opts->cols / 2) in tblcalc() 187 / (sp->opts->cols + 1) : 0); in tblcalc() 218 if (maxcol < sp_first->opts->cols - 1) in tblcalc() 219 maxcol = sp_first->opts->cols - 1; in tblcalc() 371 (opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) ? in tblcalc() 372 2 : !!opts->lvert + !!opts->rvert); in tblcalc() 427 return tblcalc_number(tbl, col, opts, dp); in tblcalc_data() [all …]
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | dhcpinfo.c | 62 if (pl->opts[code] == NULL) in dhcp_getinfo_pl() 65 if (*vallenp < pl->opts[code]->len) { in dhcp_getinfo_pl() 66 *vallenp = pl->opts[code]->len; in dhcp_getinfo_pl() 70 bcopy(pl->opts[code]->value, value, pl->opts[code]->len); in dhcp_getinfo_pl() 71 *vallenp = pl->opts[code]->len; in dhcp_getinfo_pl()
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_findzonecut.c | 157 opts |= RES_IPV4ONLY; in res_findzonecut() 158 opts &= ~RES_IPV6ONLY; in res_findzonecut() 195 ((opts & RES_EXHAUSTIVE) == 0 && in res_findzonecut2() 201 ((opts & RES_EXHAUSTIVE) == 0 && in res_findzonecut2() 206 if ((n = get_glue(statp, class, opts, &nsrrs)) >= 0) in res_findzonecut2() 374 zname, class, opts, nsrrsp) < 0) { in get_soa() 468 opts, nsrr) < 0) { in get_glue() 490 opts, nsrr) < 0) { in get_glue() 514 const char *owner, ns_class class, int opts, in save_ns() argument 562 nsrr->name, class, opts, nsrr) < 0) { in save_ns() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | request.c | 276 if (offer->opts[CD_MESSAGE] != NULL) { in dhcp_requesting() 279 offer->opts[CD_MESSAGE]->len); in dhcp_requesting() 305 offer->opts[CD_SERVER_ID]->value, in dhcp_requesting() 306 offer->opts[CD_SERVER_ID]->len); in dhcp_requesting() 468 if (pkt->opts[CD_DHCP_TYPE] == NULL) { in compute_points_v4() 485 if (pkt->opts[CD_SERVER_ID] == NULL) { in compute_points_v4() 515 if (pkt->opts[CD_SUBNETMASK] != NULL) in compute_points_v4() 518 if (pkt->opts[CD_ROUTER] != NULL) in compute_points_v4() 521 if (pkt->opts[CD_HOSTNAME] != NULL) in compute_points_v4() 674 if (plp->opts[CD_MESSAGE] != NULL) { in accept_v4_acknak() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/ |
H A D | cachefile_001_pos.ksh | 69 set -A opts "none" "false" "none" \ 77 log_must zpool create -o cachefile=${opts[i]} $TESTPOOL $DISKS 78 case ${opts[((i+1))]} in 81 true) log_must pool_in_cache $TESTPOOL ${opts[i]} 86 if [[ $PROP != ${opts[((i+2))]} ]]; then
|
H A D | cachefile_003_pos.ksh | 76 set -A opts "none" "none" \ 83 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \ 85 if [[ ${opts[i]} != none ]]; then 86 log_must pool_in_cache $TESTPOOL ${opts[i]} 92 if [[ $PROP != ${opts[((i+1))]} ]]; then
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 104 static char opts[MAX_MNTOPT_STR]; variable 185 opts[0] = '\0'; in main() 198 if (strlcpy(opts, optarg, sizeof (opts)) >= in main() 199 sizeof (opts)) { in main() 251 mnt.mnt_mntopts = opts; in main() 418 char *opts = opt; in mountfs() local 425 (void) strcpy(opts, mnt->mnt_mntopts); in mountfs() 464 while (*opts != '\0') { in mountfs() 512 opts = opt; in mountfs() 527 fixopts(mnt, opts); in mountfs() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/libstand/ |
H A D | getopt.c | 48 getopt(int argc, char *const *argv, const char *opts) in getopt() argument 63 if (c == ':' || (cp = strchr(opts, c)) == NULL) { in getopt() 64 if (opts[0] != ':') in getopt() 77 if (opts[0] != ':') { in getopt() 83 return (opts[0] == ':' ? ':' : '?'); in getopt()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | exportlist.c | 76 char *gr, *p, *opts, *val, *lasts; in export() local 110 opts = strdup(sh->sh_opts); in export() 111 p = opts; in export() 125 free(opts); in export() 129 opts = strdup(sh->sh_opts); in export() 130 p = opts; in export() 152 free(opts); in export()
|
/illumos-gate/usr/src/cmd/svc/shell/ |
H A D | fs_include.sh | 255 opts="$1" 258 set -- `IFS=, ; echo $opts` 320 opts="$1" 327 [ "$opts" = "-" ] && opts="" 334 cmd="/sbin/mount $opts $type $fsopts $special $path"
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 186 if (opts.o_target) { in prtconf_devinfo() 190 if (opts.o_pciid) { in prtconf_devinfo() 213 if (opts.o_verbose) { in prtconf_devinfo() 239 opts.o_target = 0; in prtconf_devinfo() 249 if (opts.o_target) { in prtconf_devinfo() 284 opts.o_target++; in prtconf_devinfo() 769 if (opts.o_target && !opts.o_ancestors) { in dump_devs() 785 if (opts.o_pciid) { in dump_devs() 795 opts.o_pcidb); in dump_devs() 849 if (opts.o_target) in dump_devs() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create_007_pos.ksh | 65 typeset opts="" 69 opts="$opts -o ${RW_VOL_PROP[$i]}" 74 log_must zfs create $opts -V $VOLSIZE $TESTPOOL/$TESTVOL 77 log_must zfs create -s $opts -V $VOLSIZE $TESTPOOL/$TESTVOL1
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wattr_on.c | 51 wattr_on(WINDOW *w, attr_t at, void *opts) in wattr_on() argument 62 wattr_off(WINDOW *w, attr_t at, void *opts) in wattr_off() argument 73 wattr_set(WINDOW *w, attr_t at, short co, void *opts) in wattr_set() argument 85 wattr_get(WINDOW *w, attr_t *at, short *co, void *opts) in wattr_get() argument 100 wcolor_set(WINDOW *w, short co, void *opts) in wcolor_set() argument
|