Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/cmd/prtconf/
H A Dprtconf.c41 struct prt_opts opts; variable
191 ++opts.o_children; in main()
194 ++opts.o_pciid; in main()
197 ++opts.o_drv_name; in main()
200 ++opts.o_verbose; in main()
203 ++opts.o_memory; in main()
218 ++opts.o_fbname; in main()
245 if (opts.o_fbname) in main()
259 opts.o_target = 0; in main()
328 opts.o_target = 1; in main()
[all …]
/illumos-gate/usr/src/cmd/krb5/kinit/
H A Dkinit.c361 p = &opts->pa_opts[opts->num_pa_opts]; in add_preauth_opt()
522 if (opts->forwardable && opts->not_forwardable)
527 if (opts->proxiable && opts->not_proxiable)
532 if (opts->addresses && opts->no_addresses)
553 (opts->starttime || opts->rlife || opts->forwardable ||
554 opts->proxiable || opts->addresses || opts->not_forwardable ||
555 opts->not_proxiable || opts->no_addresses ||
573 && (opts->service_name || opts->keytab_name ||
952 opts->rlife = opts->rlife ? opts->rlife : krb5_max_duration;
1074 opts->k5_cache_name?opts->k5_cache_name:"");
[all …]
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcputrack.c76 if (opts->debug) in cputrack_errfn()
114 opts->pgmname++; in main()
130 opts->dotitle = 1; in main()
151 opts->debug++; in main()
205 (opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) { in main()
258 if (opts->dotick) in print_title()
274 if (opts->dotick) in print_exec()
287 if (opts->dotick) in print_fork()
305 if (opts->dotick) in print_sample()
676 (void) pctx_run(pctx, opts->mseconds, opts->nsamples, ptick); in pfork()
[all …]
H A Dcpustat.c106 if (opts->debug) in cpustat_errfn()
137 opts->pgmname++; in main()
168 opts->dotitle = 1; in main()
178 opts->debug++; in main()
252 if (opts->nsamples == 0 || opts->mseconds == 0) in main()
256 (opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) { in main()
285 (opts->mseconds * opts->nsets)); in main()
289 opts->nsamples *= opts->nsets; in main()
328 if (opts->dotick) in print_title()
349 if (opts->dotick) in print_sample()
[all …]
/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_test.c51 switch (opts->rto_v) { in print_opts()
197 int dcols = opts->rm_golden->rm_cols - raidz_parity(opts->rm_golden); in cmp_data()
262 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in init_raidz_golden_map()
268 opts->zio_golden->io_offset = zio_test->io_offset = opts->rto_offset; in init_raidz_golden_map()
269 opts->zio_golden->io_size = zio_test->io_size = opts->rto_dsize; in init_raidz_golden_map()
271 opts->zio_golden->io_abd = raidz_alloc(opts->rto_dsize); in init_raidz_golden_map()
279 opts->rm_golden = vdev_raidz_map_alloc(opts->zio_golden, in init_raidz_golden_map()
385 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in run_gen_check()
556 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in run_rec_check()
566 if (opts == NULL) in run_test()
[all …]
/illumos-gate/usr/src/cmd/logadm/
H A Dopts.c49 struct opts { struct
133 opts = MALLOC(sizeof (*opts)); in opts_parse()
134 opts->op_raw = opts->op_ints = NULL; in opts_parse()
202 opts_free(struct opts *opts) in opts_free() argument
243 opts_count(struct opts *opts, const char *options) in opts_count() argument
261 opts_optarg(struct opts *opts, const char *o) in opts_optarg() argument
270 opts_optarg_int(struct opts *opts, const char *o) in opts_optarg_int() argument
284 opts_cmdargs(struct opts *opts) in opts_cmdargs() argument
301 opts_merge(struct opts *back, struct opts *front) in opts_merge()
303 struct opts *ret = MALLOC(sizeof (struct opts)); in opts_merge()
[all …]
H A Dopts.h41 struct opts;
57 struct opts *opts_parse(struct opts *, char **args, int flags);
58 void opts_free(struct opts *opts);
59 void opts_set(struct opts *opts, const char *o, const char *optarg);
60 int opts_count(struct opts *opts, const char *options);
61 const char *opts_optarg(struct opts *opts, const char *o);
62 off_t opts_optarg_int(struct opts *opts, const char *o);
63 struct fn_list *opts_cmdargs(struct opts *opts);
64 struct opts *opts_merge(struct opts *back, struct opts *front);
69 void opts_print(struct opts *opts, FILE *stream, char *exclude);
H A Dmain.c59 static boolean_t rotatelog(struct fn *fnp, struct opts *opts);
60 static void rotateto(struct fn *fnp, struct opts *opts, int n,
63 static void expirefiles(struct fn *fnp, struct opts *opts);
64 static void dorm(struct opts *opts, const char *msg, struct fn *fnp);
67 static void docopytruncate(struct opts *opts, const char *file,
412 struct opts *opts = (struct opts *)arg; in doaftercmd() local
434 struct opts *opts = (struct opts *)arg; in do_delayed_gzip() local
576 rotatelog(struct fn *fnp, struct opts *opts) in rotatelog() argument
860 expirefiles(struct fn *fnp, struct opts *opts) in expirefiles() argument
986 dorm(struct opts *opts, const char *msg, struct fn *fnp) in dorm() argument
[all …]
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c176 optdesc_t opts = { variable
383 if (((opts.o_outpmode & OPT_UDATE) || (opts.o_outpmode & OPT_DDATE)) && in list_print()
390 n = opts.o_cols; in list_print()
440 if ((opts.o_outpmode & OPT_TERMCAP) && n < opts.o_cols) in list_print()
1206 n = opts.o_ntop + opts.o_nbottom + 2; in setmovecur()
1213 if (((opts.o_outpmode & OPT_UDATE) || (opts.o_outpmode & OPT_DDATE))) in setmovecur()
1252 opts.o_nbottom = n - 1 - opts.o_ntop; in setsize()
1258 opts.o_ntop = n; in setsize()
1548 opts.o_nbottom = opts.o_ntop; in main()
1549 if (!(opts.o_outpmode & OPT_SPLIT) && opts.o_ntop == 0) in main()
[all …]
/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;
166 opts |= OPT_STAT;
305 int fd, opts, alive;
410 int fd, opts; in flushtable()
[all …]
H A Dippool.c68 int opts = 0; variable
155 opts |= OPT_DEBUG;
201 if (opts & OPT_DEBUG)
240 opts |= OPT_DEBUG;
280 if (opts & OPT_DEBUG)
335 opts |= OPT_DEBUG;
348 opts |= OPT_REMOVE;
403 opts |= OPT_DEBUG;
611 int opts;
658 opts |= OPT_DEBUG;
[all …]
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c174 uchar_t *opts, *optmax, *subomax; in read_hostconf() local
202 opts = subomax; in read_hostconf()
215 opts = subomax; in read_hostconf()
218 (void) memcpy(&d6in, opts, in read_hostconf()
224 (void) memcpy(opts, &d6in, in read_hostconf()
226 opts += sizeof (d6in); in read_hostconf()
236 (void) memcpy(&d6o, opts, in read_hostconf()
244 opts += sizeof (d6o) + in read_hostconf()
254 (void) memcpy(&d6ia, opts, in read_hostconf()
260 (void) memcpy(opts, &d6ia, in read_hostconf()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_hostbridge.c63 (void) pci_hostbridge_init(ctx, pi, opts); in pci_amd_hostbridge_init()
124 for (; opts != NULL && *opts != '\0'; opts = next) { in pci_hostbridge_parse_args()
127 if ((cp = strchr(opts, ',')) != NULL) { in pci_hostbridge_parse_args()
134 if ((cp = strchr(opts, '=')) == NULL) { in pci_hostbridge_parse_args()
137 " (%s=VAL)", opts); in pci_hostbridge_parse_args()
145 if (strcmp(opts, "model") == 0) { in pci_hostbridge_parse_args()
147 } else if (strcmp(opts, "vendor") == 0) { in pci_hostbridge_parse_args()
152 } else if (strcmp(opts, "device") == 0) { in pci_hostbridge_parse_args()
159 "pci_hostbridge: unrecognized option '%s'", opts); in pci_hostbridge_parse_args()
205 if (opts == NULL) { in pci_hostbridge_init()
[all …]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dform_opts.c39 set_form_opts(FORM *f, OPTIONS opts) in set_form_opts() argument
41 Form(f)->opts = opts; in set_form_opts()
48 return (Form(f) -> opts); in form_opts()
52 form_opts_on(FORM *f, OPTIONS opts) in form_opts_on() argument
54 Form(f)->opts |= opts; in form_opts_on()
59 form_opts_off(FORM *f, OPTIONS opts) in form_opts_off() argument
61 Form(f)-> opts &= ~opts; in form_opts_off()
H A Dfield_opts.c39 set_field_opts(FIELD *f, OPTIONS opts) in set_field_opts() argument
41 return (_sync_opts(Field(f), opts)); in set_field_opts()
47 return (Field(f) -> opts); in field_opts()
51 field_opts_on(FIELD *f, OPTIONS opts) in field_opts_on() argument
54 return (_sync_opts(x, x->opts | opts)); in field_opts_on()
59 field_opts_off(FIELD *f, OPTIONS opts) in field_opts_off() argument
62 return (_sync_opts(x, x->opts & ~opts)); in field_opts_off()
/illumos-gate/usr/src/common/net/dhcp/
H A Dscan.c93 if (pl->opts[CD_VENDOR_SPEC] == NULL) in vendor_scan()
95 len = pl->opts[CD_VENDOR_SPEC]->len; in vendor_scan()
96 start = pl->opts[CD_VENDOR_SPEC]->value; in vendor_scan()
140 if (pl->opts[CD_DHCP_TYPE] == NULL) in dhcp_options_scan()
143 if (pl->opts[CD_DHCP_TYPE]->len != 1) in dhcp_options_scan()
146 if (*pl->opts[CD_DHCP_TYPE]->value < DISCOVER || in dhcp_options_scan()
147 *pl->opts[CD_DHCP_TYPE]->value > INFORM) in dhcp_options_scan()
150 if (pl->opts[CD_OPTION_OVERLOAD]) { in dhcp_options_scan()
151 if (pl->opts[CD_OPTION_OVERLOAD]->len != 1) { in dhcp_options_scan()
152 pl->opts[CD_OPTION_OVERLOAD] = NULL; in dhcp_options_scan()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_term.c206 if (sp->opts->opts & TBL_OPT_CENTRE) { in term_tbl()
207 tsz = sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) in term_tbl()
208 ? 2 : !!sp->opts->lvert + !!sp->opts->rvert; in term_tbl()
224 sp->opts->opts & TBL_OPT_DBOX) in term_tbl()
226 if (sp->opts->opts & (TBL_OPT_DBOX | TBL_OPT_BOX)) in term_tbl()
317 uvert = dvert = sp->opts->opts & TBL_OPT_DBOX ? 2 : in term_tbl()
318 sp->opts->opts & TBL_OPT_BOX ? 1 : 0; in term_tbl()
393 if (sp->opts->opts & TBL_OPT_ALLBOX) { in term_tbl()
506 sp->opts->opts & TBL_OPT_BOX ? 1 : 0; in term_tbl()
564 sp->opts->opts & TBL_OPT_DBOX) { in term_tbl()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dattr_on.c52 attr_on(attr_t at, void *opts) in attr_on() argument
54 (void) wattr_on(stdscr, at, opts); in attr_on()
62 attr_off(attr_t at, void *opts) in attr_off() argument
64 (void) wattr_off(stdscr, at, opts); in attr_off()
72 attr_set(attr_t at, short co, void *opts) in attr_set() argument
74 (void) wattr_set(stdscr, at, co, opts); in attr_set()
82 color_set(short co, void *opts) in color_set() argument
84 (void) wcolor_set(stdscr, co, opts); in color_set()
92 attr_get(attr_t *at, short *co, void *opts) in attr_get() argument
94 (void) wattr_get(stdscr, at, co, opts); in attr_get()
/illumos-gate/usr/src/tools/scripts/
H A Dcddlchk.py93 def check(filename, opts): argument
98 lenient=opts['lenient'],
105 def walker(opts, dirname, fnames): argument
110 if not path in opts['exclude']:
111 opts['status'] |= check(path, opts)
113 if path in opts['exclude']:
116 def walkpath(path, opts): argument
118 os.path.walk(path, walker, opts)
120 if not path in opts['exclude']:
121 opts['status'] |= check(path, opts)
[all …]
H A Dmapfilechk.py92 def check(filename, opts): argument
96 return mapfilechk(fh, verbose=opts['verbose'],
103 def walker(opts, dirname, fnames): argument
108 if not path in opts['exclude']:
109 opts['status'] |= check(path, opts)
111 if path in opts['exclude']:
114 def walkpath(path, opts): argument
116 os.path.walk(path, walker, opts)
118 if not path in opts['exclude']:
119 opts['status'] |= check(path, opts)
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dattr_on.c45 (attr_on)(attr_t at, void *opts)
48 __m_trace("attr_on(%x, %p)", at, opts);
57 (attr_off)(attr_t at, void *opts)
60 __m_trace("attr_off(%x, %p)", at, opts);
69 (attr_set)(attr_t at, short co, void *opts)
72 __m_trace("attr_set(%x, %d, %p)", at, co, opts);
82 (color_set)(short co, void *opts)
85 __m_trace("color_set(%d, %p)", co, opts);
94 (attr_get)(attr_t *at, short *co, void *opts)
97 __m_trace("attr_get(%p, %p, %p)", at, co, opts);
H A Dchgat.c47 (chgat)(int n, attr_t at, short co, const void *opts)
52 __m_trace("chgat(%d, %x, %d, %p)", n, at, co, opts);
55 code = wchgat(stdscr, n, at, co, opts);
61 (mvchgat)(int y, int x, int n, attr_t at, short co, const void *opts)
66 __m_trace("mvchgat(%d, %d, %d, %x, %d, %p)", y, x, n, at, co, opts);
70 code = wchgat(stdscr, n, at, co, opts);
77 WINDOW *w, int y, int x, int n, attr_t at, short co, const void *opts)
84 w, y, x, n, at, co, opts
89 code = wchgat(w, n, at, co, opts);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c197 opts = 0; in server()
199 opts = (opts << 3) | (*cp++ - '0'); in server()
316 int opts;
562 int opts;
605 int opts;
792 opts = 0;
794 opts = (opts << 3) | (*cp++ - '0');
1065 opts = 0;
1067 opts = (opts << 3) | (*cp++ - '0');
1234 int opts; in rmchk()
[all …]
/illumos-gate/usr/src/cmd/fs.d/
H A Dswitchout.c428 fssnap_show_status(mountpoint, opts, 1, (opts ? 0 : 1)); in stat_snap()
431 has_Nflag(char *opts) in has_Nflag() argument
433 while (opts != NULL && *opts != '\0') { in has_Nflag()
437 if (!opts) in has_Nflag()
439 if (*opts == ',') in has_Nflag()
440 opts ++; in has_Nflag()
441 if (*opts == ' ') in has_Nflag()
442 opts ++; in has_Nflag()
458 cs = *opts; in match()
474 *opts = tmp_str; in match()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_files.c342 opts = map; in loadmaster_files()
343 while (*opts && isspace(*opts)) in loadmaster_files()
344 opts++; in loadmaster_files()
348 opts++; in loadmaster_files()
352 if (strcspn(opts, " ") == strlen(opts)) { in loadmaster_files()
366 while (*opts && !isspace(*opts)) in loadmaster_files()
367 opts++; in loadmaster_files()
370 while (*opts && isspace(*opts)) in loadmaster_files()
371 opts++; in loadmaster_files()
376 opts++; in loadmaster_files()
[all …]

12345678910>>...14