Searched refs:opts (Results 26 - 50 of 321) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthash_live.c20 iphtable_t *printhash_live(hp, fd, name, opts)
24 int opts;
34 printhashdata(hp, opts);
36 if ((opts & OPT_DEBUG) == 0)
66 (void) printhashnode(hp, node, bcopywrap, opts);
71 if ((opts & OPT_DEBUG) == 0)
78 if ((opts & OPT_DEBUG) == 0)
H A Dprintpool_live.c20 ip_pool_t *printpool_live(pool, fd, name, opts)
24 int opts;
34 printpooldata(pool, opts);
36 if ((opts & OPT_DEBUG) == 0)
66 (void) printpoolnode(node, opts);
71 if ((opts & OPT_DEBUG) == 0)
78 if ((opts & OPT_DEBUG) == 0)
H A Dextras.c21 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 Dprintifname.c21 if (opts & OPT_UNDEF) {
H A Dprintpooldata.c17 void printpooldata(pool, opts)
19 int opts;
22 if ((opts & OPT_DEBUG) == 0) {
64 if ((opts & OPT_DEBUG) == 0) {
H A Dprintpoolnode.c13 ip_pool_node_t *printpoolnode(np, opts)
15 int opts;
17 if ((opts & OPT_DEBUG) == 0)
33 if ((opts & OPT_DEBUG) != 0)
H A Dprintpool.c17 ip_pool_t *printpool(pp, copyfunc, name, opts)
21 int opts;
32 if ((opts & OPT_DEBUG) == 0) {
74 if ((opts & OPT_DEBUG) == 0) {
99 ipnp = printpoolnode(ipnp, opts);
101 if ((opts & OPT_DEBUG) == 0) {
107 if ((opts & OPT_DEBUG) == 0)
/illumos-gate/usr/src/cmd/svc/profile/
H A Dlistsvcs.pl41 my %opts;
45 if (!getopts("e", \%opts)) {
48 my $list_all = !$opts{e};
/illumos-gate/usr/src/cmd/logadm/
H A Dmain.c47 #include "opts.h"
56 static void dologname(struct fn *fnp, struct opts *clopts);
57 static boolean_t rotatelog(struct fn *fnp, struct opts *opts);
58 static void rotateto(struct fn *fnp, struct opts *opts, int n,
61 static void expirefiles(struct fn *fnp, struct opts *opts);
62 static void dorm(struct opts *opts, cons
410 struct opts *opts = (struct opts *)arg; local
432 struct opts *opts = (struct opts *)arg; local
573 rotatelog(struct fn *fnp, struct opts *opts) argument
779 rotateto(struct fn *fnp, struct opts *opts, int n, struct fn *recentlog, boolean_t isgz) argument
857 expirefiles(struct fn *fnp, struct opts *opts) argument
982 dorm(struct opts *opts, const char *msg, struct fn *fnp) argument
1001 docmd(struct opts *opts, const char *msg, const char *cmd, const char *arg1, const char *arg2, const char *arg3) argument
1103 docopytruncate(struct opts *opts, const char *file, const char *file_copy) argument
[all...]
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c175 static optdesc_t opts = { variable
198 if (opts.o_outpmode & OPT_UDATE) {
200 } else if (opts.o_outpmode & OPT_DDATE) {
251 if (opts.o_outpmode & OPT_USERS) {
258 } else if (opts.o_outpmode & OPT_TASKS) {
262 } else if (opts.o_outpmode & OPT_PROJECTS) {
269 } else if (opts.o_outpmode & OPT_ZONES) {
276 opts.o_outpmode);
287 if (getvmusage(flags, opts.o_interval, NULL, &nres) != 0)
292 ret = getvmusage(flags, opts
[all...]
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcputrack.c61 static const struct options *opts = (const struct options *)&__options; variable in typeref:struct:options
75 (void) fprintf(stderr, "%s: ", opts->pgmname);
76 if (opts->debug)
101 struct options *opts = &__options; local
111 if ((opts->pgmname = strrchr(argv[0], '/')) == NULL)
112 opts->pgmname = argv[0];
114 opts->pgmname++;
119 "counter library - %s\n"), opts->pgmname, errstr);
129 opts->mseconds = 1000;
130 opts
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_004_pos.ksh62 typeset opts=""
68 opts="$opts -o ${RW_FS_PROP[$i]}"
73 log_must zfs clone $opts $SNAPFS $TESTPOOL/$TESTCLONE
H A Dzfs_clone_006_pos.ksh63 typeset opts=""
69 opts="$opts -o ${RW_VOL_CLONE_PROP[$i]}"
74 log_must zfs clone $opts $SNAPFS1 $TESTPOOL/$TESTCLONE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_005_pos.ksh62 typeset opts=""
66 opts="$opts -o ${RW_FS_PROP[$i]}"
71 log_must zfs create $opts $TESTPOOL/$TESTFS1
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat.c96 int opts; variable
117 opts = 0;
128 opts |= OPT_CLEAR;
131 opts |= OPT_DEBUG;
137 opts |= OPT_FLUSH;
143 opts |=OPT_HITS;
146 opts |= OPT_LIST;
156 opts |= OPT_DONOTHING;
160 opts |= OPT_NORESOLVE;
163 opts |
[all...]
H A Dippool.c67 int opts = 0; variable
154 opts |= OPT_DEBUG;
182 opts |= OPT_DONOTHING;
190 opts |= OPT_NORESOLVE;
193 opts |= OPT_VERBOSE;
200 if (opts & OPT_DEBUG)
201 fprintf(stderr, "poolnodecommand: opts = %#x\n", opts);
239 opts |= OPT_DEBUG;
249 opts |
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dsetcchar.c47 setcchar(cchar_t *cc, const wchar_t *wcs, attr_t at, short co, const void *opts) argument
52 __m_trace("setcchar(%p, %p, %x, %d, %p)", cc, wcs, at, co, opts);
/illumos-gate/usr/src/common/net/dhcp/
H A Ddhcpinfo.c64 if (pl->opts[code] == NULL)
67 if (*vallenp < pl->opts[code]->len) {
68 *vallenp = pl->opts[code]->len;
72 bcopy(pl->opts[code]->value, value, pl->opts[code]->len);
73 *vallenp = pl->opts[code]->len;
/illumos-gate/usr/src/tools/scripts/
H A Dcddlchk.py92 def check(filename, opts):
100 return cddlchk(fh, verbose=opts['verbose'],
101 lenient=opts['lenient'],
104 def walker(opts, dirname, fnames):
109 if not path in opts['exclude']:
110 opts['status'] |= check(path, opts)
112 if path in opts['exclude']:
115 def walkpath(path, opts):
117 os.path.walk(path, walker, opts)
[all...]
H A Dmapfilechk.py91 def check(filename, opts):
99 return mapfilechk(fh, verbose=opts['verbose'],
102 def walker(opts, dirname, fnames):
107 if not path in opts['exclude']:
108 opts['status'] |= check(path, opts)
110 if path in opts['exclude']:
113 def walkpath(path, opts):
115 os.path.walk(path, walker, opts)
117 if not path in opts['exclud
[all...]
H A Dgenoffsets.pl116 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};
/illumos-gate/usr/src/tools/onbld/hgext/
H A Dcdm.py232 def cdm_pdiffs(ui, repo, *pats, **opts):
243 act = wslist[repo].active(opts.get('parent'))
251 if pats or opts.get('include') or opts.get('exclude'):
252 matchfunc = wslist[repo].matcher(pats=pats, opts=opts)
256 opts = patch.diffopts(ui, opts)
258 match=matchfunc, opts=opts)
[all...]
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c174 uchar_t *opts, *optmax, *subomax; local
180 opts = (uchar_t *)pkt + sizeof (dhcpv6_message_t);
182 while (opts + sizeof (d6o) <= optmax) {
188 (void) memcpy(&d6o, opts, sizeof (d6o));
191 subomax = opts + sizeof (d6o) + d6o.d6o_len;
202 opts = subomax;
211 opts += sizeof (dhcpv6_ia_ta_t);
214 if (opts + sizeof (d6in) > subomax) {
215 opts = subomax;
218 (void) memcpy(&d6in, opts,
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwattr_on.c53 wattr_on(WINDOW *w, attr_t at, void *opts) argument
64 wattr_off(WINDOW *w, attr_t at, void *opts) argument
75 wattr_set(WINDOW *w, attr_t at, short co, void *opts) argument
87 wattr_get(WINDOW *w, attr_t *at, short *co, void *opts) argument
102 wcolor_set(WINDOW *w, short co, void *opts) argument
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dgetopt.c50 getopt(int argc, char *const *argv, const char *opts) argument
65 if (c == ':' || (cp = strchr(opts, c)) == NULL) {
66 if (opts[0] != ':')
79 if (opts[0] != ':') {
85 return (opts[0] == ':' ? ':' : '?');

Completed in 139 milliseconds

1234567891011>>