/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wattr_on.c | 45 wattr_on(WINDOW *w, attr_t at, void *opts) in wattr_on() argument 48 __m_trace("wattr_on(%p, %x, %p)", w, at, opts); in wattr_on() 59 wattr_off(WINDOW *w, attr_t at, void *opts) in wattr_off() argument 62 __m_trace("wattr_off(%p, %x, %p)", w, at, opts); in wattr_off() 73 wattr_set(WINDOW *w, attr_t at, short co, void *opts) in wattr_set() argument 76 __m_trace("wattr_set(%p, %x, %d, %p)", w, at, co, opts); in wattr_set() 88 wattr_get(WINDOW *w, attr_t *at, short *co, void *opts) in wattr_get() argument 91 __m_trace("wattr_get(%p, %p, %p, %p)", w, at, co, opts); in wattr_get() 106 wcolor_set(WINDOW *w, short co, void *opts) in wcolor_set() argument 109 __m_trace("wcolor_set(%p, %d, %p)", w, co, opts); in wcolor_set()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnmount.c | 165 safe_opts(const char *opts); 411 opts, status)); in process_ref() 470 mntpnt, child, opts, status); in frontier() 551 opts = (opts[0] != '\0') in frontier_aux() 681 char *opts; in safe_mapent() local 687 opts = me->map_mntopts; in safe_mapent() 689 free(opts); in safe_mapent() 695 safe_opts(const char *opts) in safe_opts() argument 700 if (opts[0] == '\0') { in safe_opts() 712 opts[len] == ',' || opts[len] == '\0') { in safe_opts() [all …]
|
H A D | mount.c | 131 fni.opts = options; in main() 179 char *opts; in process_opts() local 181 if ((opts = strdup(options)) == NULL) { in process_opts() 189 while ((opt = strtok(opts, ",")) != NULL) { in process_opts() 190 opts = NULL; in process_opts() 214 char *opts = malloc(strlen(opts1) + strlen(opts2) + 2); in concat_opts() local 215 if (opts == NULL) { in concat_opts() 220 strcpy(opts, opts1); in concat_opts() 222 strcat(opts, ","); in concat_opts() 224 return (strcat(opts, opts2)); in concat_opts()
|
H A D | ns_nis.c | 262 opts = pmap; 263 while (*opts && !isspace(*opts)) 264 opts++; 265 if (*opts) { 266 *opts++ = '\0'; 267 while (*opts && isspace(*opts)) 268 opts++; 269 if (*opts == '-') 270 opts++; 272 opts = defopts; [all …]
|
/illumos-gate/usr/src/cmd/diskinfo/ |
H A D | diskinfo.c | 263 if (opts->di_condensed || opts->di_physical) { in enumerate_disks() 394 if (opts->di_parseable) { in enumerate_disks() 404 if (opts->di_condensed) { in enumerate_disks() 412 if (opts->di_physical) { in enumerate_disks() 413 if (opts->di_scripted) { in enumerate_disks() 428 if (opts->di_scripted) { in enumerate_disks() 473 di_opts_t opts = { in main() local 483 if (opts.di_physical) { in main() 510 if (!opts.di_scripted) { in main() 511 if (opts.di_physical) { in main() [all …]
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | conf.c | 51 struct opts *opts, const char *com, int flags); 96 struct opts *opts, const char *com, int flags) in fillconflist() argument 103 cp->cf_opts = opts; in fillconflist() 197 struct opts *opts = NULL; in conf_scan() local 290 opts = cp->cf_opts; in conf_scan() 293 opts = opts_parse(opts, Args, OPTF_CONF); in conf_scan() 312 if (ret == 1 && opts && opts_optarg(opts, "P") != NULL) in conf_scan() 457 conf_close(struct opts *opts) in conf_close() argument 579 struct opts * 699 struct opts *opts; in main() local [all …]
|
H A D | conf.h | 34 int conf_open(const char *cfname, const char *tfname, struct opts *opts); 35 void conf_close(struct opts *opts); 37 struct opts *conf_opts(const char *lhs); 38 void conf_replace(const char *lhs, struct opts *newopts);
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf.c | 45 int opts = 0; variable 106 opts &= ~OPT_INACTIVE; 119 opts ^= OPT_DEBUG; 131 opts ^= OPT_INACTIVE; 137 opts ^= OPT_DONOTHING; 145 opts ^= OPT_NORESOLVE; 148 opts ^= OPT_REMOVE; 158 opts += OPT_VERBOSE; 295 if (opts & OPT_VERBOSE) 301 if (opts & OPT_VERBOSE) [all …]
|
H A D | ipftest.c | 21 int opts = OPT_DONOTHING; variable 129 opts |= OPT_BRIEF; 132 opts |= OPT_DEBUG; 161 opts |= OPT_SAVEOUT; 173 opts |= OPT_VERBOSE; 180 opts |= OPT_NAT; 191 opts |= OPT_HEX; 200 if (opts & OPT_SAVEOUT) 333 if (opts & OPT_DEBUG) in ipftestioctl() 355 if (opts & OPT_DEBUG) in ipnattestioctl() [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | extras.c | 21 u_long opts; local 24 opts = 0; 73 if (!(opts = optname(cp, &secmsk, linenum))) 78 fr->fr_optmask |= opts; 80 fr->fr_optmask |= (opts & ~0x0100); 84 fr->fr_optbits &= ~opts; 86 fr->fr_optmask |= opts; 88 fr->fr_optbits |= opts; 107 opts = 0;
|
H A D | load_pool.c | 32 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0)) 34 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0)) 52 if ((opts & OPT_REMOVE) == 0) { 54 if ((opts & OPT_DONOTHING) == 0) { 60 if ((opts & OPT_VERBOSE) != 0) { 62 printpool(&pool, bcopywrap, pool.ipo_name, opts); 69 if ((opts & OPT_REMOVE) != 0) { 71 if ((opts & OPT_DONOTHING) == 0) {
|
H A D | printhash_live.c | 18 iphtable_t *printhash_live(hp, fd, name, opts) in printhash_live() argument 22 int opts; 32 printhashdata(hp, opts); 34 if ((opts & OPT_DEBUG) == 0) 64 (void) printhashnode(hp, node, bcopywrap, opts); 69 if ((opts & OPT_DEBUG) == 0) 76 if ((opts & OPT_DEBUG) == 0)
|
H A D | printpool_live.c | 18 ip_pool_t *printpool_live(pool, fd, name, opts) in printpool_live() argument 22 int opts; 32 printpooldata(pool, opts); 34 if ((opts & OPT_DEBUG) == 0) 64 (void) printpoolnode(node, opts); 69 if ((opts & OPT_DEBUG) == 0) 76 if ((opts & OPT_DEBUG) == 0)
|
H A D | load_hash.c | 35 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0)) 37 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0)) 75 if ((opts & OPT_REMOVE) == 0) { 77 if ((opts & OPT_DONOTHING) == 0) { 86 if (opts & OPT_VERBOSE) { 99 printhash(&iph, bcopywrap, iph.iph_name, opts); 110 if (opts & OPT_DEBUG) 116 if ((opts & OPT_REMOVE) != 0) { 118 if ((opts & OPT_DONOTHING) == 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 591 if $$opts{ipcp_async_map}; 601 $peer = $$opts{pap_peer_id}; 618 push(@$pppdargs, "mru " . $$opts{lcp_mru}) if $$opts{lcp_mru}; 620 if $$opts{negotiate_address}; 623 $myname = $$opts{chap_name}; 624 $csecret = $$opts{chap_secret}; 629 $myname ne $$opts{pap_id}) { 633 $myname = $$opts{pap_id} if $$opts{pap_id} ne ""; 657 if ($$opts{debug_level} >= 4) { 664 $str = $$opts{peer_ip_address} if $$opts{peer_ip_address}; [all …]
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | dhcpv4.c | 498 if (wk->opts[CD_DHCP_TYPE] && in select_best() 505 if (!wk->opts[CD_LEASE_TIME]) { in select_best() 516 if (!wk->opts[CD_SERVER_ID]) { in select_best() 539 if (wk->opts[CD_VENDOR_SPEC]) in select_best() 550 if (wk->opts[CD_SUBNETMASK]) in select_best() 552 if (wk->opts[CD_ROUTER]) in select_best() 554 if (wk->opts[CD_HOSTNAME]) in select_best() 752 if (pl->opts[CD_MESSAGE]) in dhcp_requesting() 834 !wk->opts[CD_DHCP_TYPE]) in dhcp_requesting() 845 if (wk->opts[CD_MESSAGE]) in dhcp_requesting() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv.c | 671 uint_t opts; in smbsrv_dcmd() local 684 if (((opts & SMB_OPT_WALK) && (opts & SMB_OPT_SERVER)) || in smbsrv_dcmd() 862 uint_t opts; in smbsess_dcmd() local 993 uint_t opts; in smbreq_dcmd() local 1449 if (((opts & SMB_OPT_WALK) && (opts & SMB_OPT_USER)) || in smbuser_dcmd() 1670 if (((opts & SMB_OPT_WALK) && (opts & SMB_OPT_TREE)) || in smbtree_dcmd() 1749 if (((opts & SMB_OPT_WALK) && (opts & SMB_OPT_ODIR)) || in smbodir_dcmd() 1869 if (((opts & SMB_OPT_WALK) && (opts & SMB_OPT_OFILE)) || in smbofile_dcmd() 2158 uint_t opts; in smblease_dcmd() local 2169 if (((opts & SMB_OPT_WALK) && (opts & SMB_OPT_OFILE)) || in smblease_dcmd() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/ |
H A D | mmp.kshlib | 35 typeset opts=$2 39 zpool import $opts 2>&1 | \ 49 typeset opts=$2 51 check_pool_import "$pool" "$opts" "status" \ 59 typeset opts=$2 61 while is_pool_imported "$pool" "$opts"; do 71 typeset opts=$2 260 typeset opts=$2 265 zpool import $opts $pool 279 typeset opts=$2 [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 68 uint_t opts; member 505 uint_t opts = 0; in mi() local 534 if (opts != 0) { in mi() 537 if (!(opts & MI_MODULE) && (opts & MI_DEVICE)) in mi() 541 if (!(opts & MI_DEVICE) && (opts & MI_MODULE)) in mi() 591 uint_t opts = ncb->opts; in netstat_tcp_cb() local 641 uint_t opts = ncb->opts; in netstat_udp_cb() local 1123 uint_t opts = 0; in netstat() local 1150 opts |= NETSTAT_V4; in netstat() 1152 opts |= NETSTAT_V6; in netstat() [all …]
|
H A D | cred.c | 36 uint_t opts = FALSE; in cmd_cred() local 39 'v', MDB_OPT_SETBITS, OPT_VERBOSE, &opts, NULL) != argc) in cmd_cred() 63 if (opts & OPT_VERBOSE) { in cmd_cred() 113 uint_t i, opts = FALSE; in cmd_credgrp() local 117 'v', MDB_OPT_SETBITS, OPT_VERBOSE, &opts, NULL) != argc) in cmd_credgrp() 129 if (opts & OPT_VERBOSE) { in cmd_credgrp() 158 uint_t opts = FALSE; in cmd_credsid() local 174 if (opts & OPT_VERBOSE) in cmd_credsid() 187 if (kr.kr_sidlist != NULL && (opts & OPT_VERBOSE) != 0) { in cmd_credsid() 207 uint_t i, opts = FALSE; in cmd_ksidlist() local [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_tftp.c | 47 struct tftp_options opts; in interpret_tftp() local 51 opts.tsize = 0; in interpret_tftp() 52 opts.blksize = 512; in interpret_tftp() 65 tt->blksize = opts.blksize; in interpret_tftp() 70 opts.blksize = tt->blksize; in interpret_tftp() 94 blocksize < opts.blksize ? " (last block)":""); in interpret_tftp() 107 fraglen - sizeof (tftp->th_opcode), &opts)); in interpret_tftp() 109 tt->blksize = opts.blksize; in interpret_tftp() 166 fraglen - sizeof (tftp->th_opcode), &opts)); in interpret_tftp() 168 tt->blksize = opts.blksize; in interpret_tftp() [all …]
|
/illumos-gate/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/ |
H A D | mapper_cn.c | 55 cooked_opts *opts; in mapper_initialize() local 57 if ((opts = malloc(sizeof (cooked_opts))) == NULL) in mapper_initialize() 61 opts->casesensitive = B_FALSE; in mapper_initialize() 65 opts->casesensitive = B_TRUE; in mapper_initialize() 68 kmf_set_mapper_options(h, opts); in mapper_initialize() 76 void *opts; in mapper_finalize() local 78 if ((opts = kmf_get_mapper_options(h)) != NULL) in mapper_finalize() 79 free(opts); in mapper_finalize() 153 cooked_opts *opts = NULL; in mapper_match_cert_to_name() local 155 opts = (cooked_opts *)kmf_get_mapper_options(h); in mapper_match_cert_to_name() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | mapping.c | 118 char *opts = NULL; in kmf_cert_to_name_mapping_initialize() local 153 } else if (dir != NULL || opts != NULL) { in kmf_cert_to_name_mapping_initialize() 160 opts = map->options; in kmf_cert_to_name_mapping_initialize() 169 opts = map->options; in kmf_cert_to_name_mapping_initialize() 189 if (opts != NULL) { in kmf_cert_to_name_mapping_initialize() 190 map->curoptions = strdup(opts); in kmf_cert_to_name_mapping_initialize() 220 if (map->curoptions != NULL && opts == NULL) { in kmf_cert_to_name_mapping_initialize() 224 if ((map->curoptions = strdup(opts)) == NULL) in kmf_cert_to_name_mapping_initialize() 251 if (opts != NULL) { in kmf_cert_to_name_mapping_initialize() 252 map->curoptions = strdup(opts); in kmf_cert_to_name_mapping_initialize() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | bound.c | 121 if (ack->opts[CD_DHCP_TYPE] == NULL) in dhcp_bound() 353 router_list = ack->opts[CD_ROUTER]; in dhcp_bound_complete() 407 if (ack->opts[CD_DHCP_TYPE] == NULL) in dhcp_bound_complete() 461 if (ack->opts[CD_DHCP_TYPE] == NULL) { in get_pkt_times() 466 if (ack->opts[CD_LEASE_TIME] == NULL) { in get_pkt_times() 483 if (ack->opts[CD_T1_TIME] != NULL && in get_pkt_times() 489 if (ack->opts[CD_T2_TIME] != NULL && in get_pkt_times() 528 if (ack->opts[CD_DHCP_TYPE] != NULL && in configure_v4_timers() 529 (ack->opts[CD_LEASE_TIME] == NULL || in configure_v4_timers() 976 if (ack->opts[CD_DHCP_TYPE] != NULL) { in configure_v4_lease() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | chgat.c | 50 chgat(int n, attr_t at, short co, const void *opts) in chgat() argument 54 code = wchgat(stdscr, n, at, co, opts); in chgat() 62 mvchgat(int y, int x, int n, attr_t at, short co, const void *opts) in mvchgat() argument 67 code = wchgat(stdscr, n, at, co, opts); in mvchgat() 76 short co, const void *opts) in mvwchgat() argument 81 code = wchgat(w, n, at, co, opts); in mvwchgat()
|