bin/ksh/c_sh.c
735
char opts[1];
bin/ksh/c_sh.c
749
t->left->str = opts;
bin/ksh/c_sh.c
750
opts[0] = 0;
bin/ksh/c_sh.c
752
tf |= opts[0];
bin/ksh/misc.c
215
} opts[NELEM(goptions)];
bin/ksh/misc.c
232
oi->opt_width, oi->opts[i].name,
bin/ksh/misc.c
233
Flag(oi->opts[i].flag) ? "on" : "off");
bin/ksh/misc.c
253
oi.opts[n].name = goptions[i].name;
bin/ksh/misc.c
254
oi.opts[n++].flag = i;
bin/ksh/misc.c
352
char *opts;
bin/ksh/misc.c
387
opts = cmd_opts;
bin/ksh/misc.c
389
opts = set_opts;
bin/ksh/misc.c
391
while ((optc = ksh_getopt(argv, &go, opts)) != EOF) {
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
233
natt_fill_options(struct ph1natt_options *opts, int version)
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
235
if (!opts)
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
238
opts->version = version;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
243
opts->float_port = 0; /* No port floating for those drafts */
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
244
opts->payload_nat_d = ISAKMP_NPTYPE_NATD_DRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
245
opts->payload_nat_oa = ISAKMP_NPTYPE_NATOA_DRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
246
opts->mode_udp_tunnel = IPSECDOI_ATTR_ENC_MODE_UDPTUNNEL_DRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
247
opts->mode_udp_transport = IPSECDOI_ATTR_ENC_MODE_UDPTRNS_DRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
248
opts->encaps_type = UDP_ENCAP_ESPINUDP_NON_IKE;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
253
opts->float_port = lcconf->port_isakmp_natt;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
254
opts->payload_nat_d = ISAKMP_NPTYPE_NATD_DRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
255
opts->payload_nat_oa = ISAKMP_NPTYPE_NATOA_DRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
256
opts->mode_udp_tunnel = IPSECDOI_ATTR_ENC_MODE_UDPTUNNEL_DRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
257
opts->mode_udp_transport = IPSECDOI_ATTR_ENC_MODE_UDPTRNS_DRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
258
opts->encaps_type = UDP_ENCAP_ESPINUDP;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
265
opts->float_port = lcconf->port_isakmp_natt;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
266
opts->payload_nat_d = ISAKMP_NPTYPE_NATD_BADDRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
267
opts->payload_nat_oa = ISAKMP_NPTYPE_NATOA_BADDRAFT;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
268
opts->mode_udp_tunnel = IPSECDOI_ATTR_ENC_MODE_UDPTUNNEL_RFC;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
269
opts->mode_udp_transport = IPSECDOI_ATTR_ENC_MODE_UDPTRNS_RFC;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
270
opts->encaps_type = UDP_ENCAP_ESPINUDP;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
273
opts->float_port = lcconf->port_isakmp_natt;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
274
opts->payload_nat_d = ISAKMP_NPTYPE_NATD_RFC;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
275
opts->payload_nat_oa = ISAKMP_NPTYPE_NATOA_RFC;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
276
opts->mode_udp_tunnel = IPSECDOI_ATTR_ENC_MODE_UDPTUNNEL_RFC;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
277
opts->mode_udp_transport = IPSECDOI_ATTR_ENC_MODE_UDPTRNS_RFC;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
278
opts->encaps_type = UDP_ENCAP_ESPINUDP;
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
287
opts->mode_udp_diff = opts->mode_udp_tunnel - IPSECDOI_ATTR_ENC_MODE_TUNNEL;
crypto/dist/ipsec-tools/src/racoon/nattraversal.h
82
int natt_fill_options(struct ph1natt_options *opts, int version);
dist/pf/sbin/pfctl/parse.y
1971
r.rpool.opts = $5.pool_opts;
dist/pf/sbin/pfctl/parse.y
1984
if ((r.rpool.opts & PF_POOL_TYPEMASK) ==
dist/pf/sbin/pfctl/parse.y
1988
r.rpool.opts |= PF_POOL_ROUNDROBIN;
dist/pf/sbin/pfctl/parse.y
1989
if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
dist/pf/sbin/pfctl/parse.y
1994
if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
dist/pf/sbin/pfctl/parse.y
2001
if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
dist/pf/sbin/pfctl/parse.y
253
u_int8_t opts;
dist/pf/sbin/pfctl/parse.y
3444
pool_opts.opts |= PF_POOL_STICKYADDR;
dist/pf/sbin/pfctl/parse.y
3596
r.rpool.opts = $10.type;
dist/pf/sbin/pfctl/parse.y
3597
if ((r.rpool.opts & PF_POOL_TYPEMASK) ==
dist/pf/sbin/pfctl/parse.y
3601
r.rpool.opts = PF_POOL_ROUNDROBIN;
dist/pf/sbin/pfctl/parse.y
3602
if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
dist/pf/sbin/pfctl/parse.y
3608
if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
dist/pf/sbin/pfctl/parse.y
3615
if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
dist/pf/sbin/pfctl/parse.y
3630
r.rpool.opts |= $10.opts;
dist/pf/sbin/pfctl/parse.y
4149
process_tabledef(char *name, struct table_opts *opts)
dist/pf/sbin/pfctl/parse.y
4156
SIMPLEQ_FOREACH(ti, &opts->init_nodes, entries) {
dist/pf/sbin/pfctl/parse.y
4174
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
4175
print_tabledef(name, opts->flags, opts->init_addr,
dist/pf/sbin/pfctl/parse.y
4176
&opts->init_nodes);
dist/pf/sbin/pfctl/parse.y
4177
if (!(pf->opts & PF_OPT_NOACTION) &&
dist/pf/sbin/pfctl/parse.y
4178
pfctl_define_table(name, opts->flags, opts->init_addr,
dist/pf/sbin/pfctl/parse.y
4394
struct node_queue_opt *opts)
dist/pf/sbin/pfctl/parse.y
4418
if (eval_pfaltq(pf, &pa, &bwspec, opts))
dist/pf/sbin/pfctl/parse.y
4424
if (pf->opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/parse.y
4426
&bwspec, opts);
dist/pf/sbin/pfctl/parse.y
4459
if (eval_pfqueue(pf, &pb, &bw, opts))
dist/pf/sbin/pfctl/parse.y
4503
struct node_queue_opt *opts)
dist/pf/sbin/pfctl/parse.y
4571
if (eval_pfqueue(pf, &pa, &bwspec, opts))
dist/pf/sbin/pfctl/parse.y
4610
if ((pf->opts & PF_OPT_VERBOSE) && (
dist/pf/sbin/pfctl/parse.y
4615
opts);
dist/pf/sbin/pfctl/parse.y
4777
if ((pf->opts & PF_OPT_VERBOSE2) &&
dist/pf/sbin/pfctl/parse.y
4835
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
4841
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
4844
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
4853
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
5247
if ((pf->opts & PF_OPT_VERBOSE2) && !sym->used)
dist/pf/sbin/pfctl/parse.y
532
if (!(pf->opts & PF_OPT_OPTIMIZE)) {
dist/pf/sbin/pfctl/parse.y
533
pf->opts |= PF_OPT_OPTIMIZE;
dist/pf/sbin/pfctl/parse.y
5516
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
5523
if (pfctl_rules(dev, la->filename, fin, pf->opts, pf->optimize,
dist/pf/sbin/pfctl/parse.y
564
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
571
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
578
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
584
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
592
pf->opts, $3)) {
dist/pf/sbin/pfctl/parse.y
602
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/parse.y
643
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pf_print_state.c
155
print_host(struct pfsync_state_host *h, sa_family_t af, int opts)
dist/pf/sbin/pfctl/pf_print_state.c
159
if (opts & PF_OPT_USEDNS)
dist/pf/sbin/pfctl/pf_print_state.c
172
print_addr(&aw, af, opts & PF_OPT_VERBOSE2);
dist/pf/sbin/pfctl/pf_print_state.c
194
print_state(struct pfsync_state *s, int opts)
dist/pf/sbin/pfctl/pf_print_state.c
214
print_host(&s->lan, s->af, opts);
dist/pf/sbin/pfctl/pf_print_state.c
220
print_host(&s->gwy, s->af, opts);
dist/pf/sbin/pfctl/pf_print_state.c
225
print_host(&s->ext, s->af, opts);
dist/pf/sbin/pfctl/pf_print_state.c
242
if (opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pf_print_state.c
270
if (opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pf_print_state.c
296
if (opts & PF_OPT_VERBOSE2) {
dist/pf/sbin/pfctl/pfctl.c
1005
int i, dotitle = (opts & PF_OPT_SHOWALL);
dist/pf/sbin/pfctl/pfctl.c
1039
print_state(p, opts);
dist/pf/sbin/pfctl/pfctl.c
1047
pfctl_show_status(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
1055
if (opts & PF_OPT_SHOWALL)
dist/pf/sbin/pfctl/pfctl.c
1057
print_status(&status, opts);
dist/pf/sbin/pfctl/pfctl.c
1062
pfctl_show_timeouts(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
1067
if (opts & PF_OPT_SHOWALL)
dist/pf/sbin/pfctl/pfctl.c
1087
pfctl_show_limits(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
1092
if (opts & PF_OPT_SHOWALL)
dist/pf/sbin/pfctl/pfctl.c
1114
if ((pf->opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
1122
if ((pf->opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
1225
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
1227
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
dist/pf/sbin/pfctl/pfctl.c
1234
} else if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
1250
} else if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
1254
if (brace && pf->opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl.c
1255
INDENT(depth - 1, (pf->opts & PF_OPT_VERBOSE));
dist/pf/sbin/pfctl/pfctl.c
1277
if ((pf->opts & PF_OPT_NOACTION) == 0)
dist/pf/sbin/pfctl/pfctl.c
1296
if ((pf->opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
1308
if (pf->opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl.c
1309
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE2));
dist/pf/sbin/pfctl/pfctl.c
1311
pf->opts & PF_OPT_VERBOSE2);
dist/pf/sbin/pfctl/pfctl.c
1324
if ((pf->opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
1341
pfctl_rules(int dev, char *filename, FILE *fin, int opts, int optimize,
dist/pf/sbin/pfctl/pfctl.c
1379
pf.opts = opts;
dist/pf/sbin/pfctl/pfctl.c
1405
if ((opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
1422
if ((opts & PF_OPT_NOACTION) == 0)
dist/pf/sbin/pfctl/pfctl.c
1437
if ((opts & PF_OPT_NOACTION) == 0)
dist/pf/sbin/pfctl/pfctl.c
1444
if (check_commit_altq(dev, opts) != 0)
dist/pf/sbin/pfctl/pfctl.c
1457
if (trans == NULL && (opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
1468
if ((opts & PF_OPT_NOACTION) == 0)
dist/pf/sbin/pfctl/pfctl.c
1556
if ((pf->opts & PF_OPT_MERGE) && !pf->limit_set[i])
dist/pf/sbin/pfctl/pfctl.c
1579
if ((pf->opts & PF_OPT_MERGE) && !pf->timeout_set[i])
dist/pf/sbin/pfctl/pfctl.c
1586
if (!(pf->opts & PF_OPT_MERGE) || pf->debug_set)
dist/pf/sbin/pfctl/pfctl.c
1591
if (!(pf->opts & PF_OPT_MERGE) || pf->ifname_set)
dist/pf/sbin/pfctl/pfctl.c
1596
if (!(pf->opts & PF_OPT_MERGE) || pf->hostid_set)
dist/pf/sbin/pfctl/pfctl.c
1621
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
1667
if (pf->opts & PF_OPT_VERBOSE && ! quiet)
dist/pf/sbin/pfctl/pfctl.c
1712
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
1735
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
1770
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
1809
if ((pf->opts & PF_OPT_NOACTION) == 0)
dist/pf/sbin/pfctl/pfctl.c
1813
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
1845
if ((pf->opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
1858
pfctl_debug(int dev, u_int32_t level, int opts)
dist/pf/sbin/pfctl/pfctl.c
1862
if ((opts & PF_OPT_QUIET) == 0) {
dist/pf/sbin/pfctl/pfctl.c
1886
pfctl_test_altqsupport(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
1892
if (!(opts & PF_OPT_QUIET))
dist/pf/sbin/pfctl/pfctl.c
1903
pfctl_show_anchors(int dev, int opts, char *anchorname)
dist/pf/sbin/pfctl/pfctl.c
1933
if (sub[0] != '_' || (opts & PF_OPT_VERBOSE))
dist/pf/sbin/pfctl/pfctl.c
1935
if ((opts & PF_OPT_VERBOSE) && pfctl_show_anchors(dev, opts, sub))
dist/pf/sbin/pfctl/pfctl.c
1957
int opts = 0;
dist/pf/sbin/pfctl/pfctl.c
1973
opts |= PF_OPT_DISABLE;
dist/pf/sbin/pfctl/pfctl.c
1982
opts |= PF_OPT_ENABLE;
dist/pf/sbin/pfctl/pfctl.c
1986
opts |= PF_OPT_QUIET;
dist/pf/sbin/pfctl/pfctl.c
2018
opts |= PF_OPT_MERGE;
dist/pf/sbin/pfctl/pfctl.c
2021
opts |= PF_OPT_NOACTION;
dist/pf/sbin/pfctl/pfctl.c
2027
opts |= PF_OPT_USEDNS;
dist/pf/sbin/pfctl/pfctl.c
2034
opts |= PF_OPT_DEBUG;
dist/pf/sbin/pfctl/pfctl.c
2048
opts |= PF_OPT_OPTIMIZE;
dist/pf/sbin/pfctl/pfctl.c
2074
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl.c
2075
opts |= PF_OPT_VERBOSE2;
dist/pf/sbin/pfctl/pfctl.c
2076
opts |= PF_OPT_VERBOSE;
dist/pf/sbin/pfctl/pfctl.c
2087
opts |= PF_OPT_CLRRULECTRS;
dist/pf/sbin/pfctl/pfctl.c
2126
opts |= PF_OPT_RECURSE;
dist/pf/sbin/pfctl/pfctl.c
2135
if ((opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
2139
altqsupport = pfctl_test_altqsupport(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2143
opts |= PF_OPT_DUMMYACTION;
dist/pf/sbin/pfctl/pfctl.c
2145
opts &= ~ (PF_OPT_DISABLE | PF_OPT_ENABLE);
dist/pf/sbin/pfctl/pfctl.c
2150
if (opts & PF_OPT_DISABLE)
dist/pf/sbin/pfctl/pfctl.c
2151
if (pfctl_disable(dev, opts))
dist/pf/sbin/pfctl/pfctl.c
2157
pfctl_show_anchors(dev, opts, anchorname);
dist/pf/sbin/pfctl/pfctl.c
2160
pfctl_load_fingerprints(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2161
pfctl_show_rules(dev, path, opts, PFCTL_SHOW_RULES,
dist/pf/sbin/pfctl/pfctl.c
2165
pfctl_load_fingerprints(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2166
pfctl_show_rules(dev, path, opts, PFCTL_SHOW_LABELS,
dist/pf/sbin/pfctl/pfctl.c
2170
pfctl_load_fingerprints(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2171
pfctl_show_nat(dev, opts, anchorname);
dist/pf/sbin/pfctl/pfctl.c
2174
pfctl_show_altq(dev, ifaceopt, opts,
dist/pf/sbin/pfctl/pfctl.c
2175
opts & PF_OPT_VERBOSE2);
dist/pf/sbin/pfctl/pfctl.c
2178
pfctl_show_states(dev, ifaceopt, opts);
dist/pf/sbin/pfctl/pfctl.c
2181
pfctl_show_src_nodes(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2184
pfctl_show_status(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2187
pfctl_show_timeouts(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2190
pfctl_show_limits(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2193
opts |= PF_OPT_SHOWALL;
dist/pf/sbin/pfctl/pfctl.c
2194
pfctl_load_fingerprints(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2196
pfctl_show_nat(dev, opts, anchorname);
dist/pf/sbin/pfctl/pfctl.c
2197
pfctl_show_rules(dev, path, opts, 0, anchorname, 0);
dist/pf/sbin/pfctl/pfctl.c
2198
pfctl_show_altq(dev, ifaceopt, opts, 0);
dist/pf/sbin/pfctl/pfctl.c
2199
pfctl_show_states(dev, ifaceopt, opts);
dist/pf/sbin/pfctl/pfctl.c
2200
pfctl_show_src_nodes(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2201
pfctl_show_status(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2202
pfctl_show_rules(dev, path, opts, 1, anchorname, 0);
dist/pf/sbin/pfctl/pfctl.c
2203
pfctl_show_timeouts(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2204
pfctl_show_limits(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2205
pfctl_show_tables(anchorname, opts);
dist/pf/sbin/pfctl/pfctl.c
2206
pfctl_show_fingerprints(opts);
dist/pf/sbin/pfctl/pfctl.c
2209
pfctl_show_tables(anchorname, opts);
dist/pf/sbin/pfctl/pfctl.c
2212
pfctl_load_fingerprints(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2213
pfctl_show_fingerprints(opts);
dist/pf/sbin/pfctl/pfctl.c
2216
pfctl_show_ifaces(ifaceopt, opts);
dist/pf/sbin/pfctl/pfctl.c
2221
if ((opts & PF_OPT_CLRRULECTRS) && showopt == NULL)
dist/pf/sbin/pfctl/pfctl.c
2222
pfctl_show_rules(dev, path, opts, PFCTL_SHOW_NOTHING,
dist/pf/sbin/pfctl/pfctl.c
2232
pfctl_clear_rules(dev, opts, anchorname);
dist/pf/sbin/pfctl/pfctl.c
2235
pfctl_clear_nat(dev, opts, anchorname);
dist/pf/sbin/pfctl/pfctl.c
2238
pfctl_clear_altq(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2241
pfctl_clear_states(dev, ifaceopt, opts);
dist/pf/sbin/pfctl/pfctl.c
2244
pfctl_clear_src_nodes(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2247
pfctl_clear_stats(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2250
pfctl_clear_rules(dev, opts, anchorname);
dist/pf/sbin/pfctl/pfctl.c
2251
pfctl_clear_nat(dev, opts, anchorname);
dist/pf/sbin/pfctl/pfctl.c
2252
pfctl_clear_tables(anchorname, opts);
dist/pf/sbin/pfctl/pfctl.c
2254
pfctl_clear_altq(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2255
pfctl_clear_states(dev, ifaceopt, opts);
dist/pf/sbin/pfctl/pfctl.c
2256
pfctl_clear_src_nodes(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2257
pfctl_clear_stats(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2258
pfctl_clear_fingerprints(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2259
pfctl_clear_interface_flags(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2263
pfctl_clear_fingerprints(dev, opts);
dist/pf/sbin/pfctl/pfctl.c
2266
pfctl_clear_tables(anchorname, opts);
dist/pf/sbin/pfctl/pfctl.c
2271
pfctl_kill_states(dev, ifaceopt, opts);
dist/pf/sbin/pfctl/pfctl.c
2274
pfctl_kill_src_nodes(dev, ifaceopt, opts);
dist/pf/sbin/pfctl/pfctl.c
2278
tblcmdopt, rulesopt, anchorname, opts);
dist/pf/sbin/pfctl/pfctl.c
2307
if (pfctl_clear_interface_flags(dev, opts | PF_OPT_QUIET))
dist/pf/sbin/pfctl/pfctl.c
2310
if (rulesopt != NULL && !(opts & (PF_OPT_MERGE|PF_OPT_NOACTION)) &&
dist/pf/sbin/pfctl/pfctl.c
2312
if (pfctl_file_fingerprints(dev, opts, PF_OSFP_FILE))
dist/pf/sbin/pfctl/pfctl.c
2319
if (pfctl_rules(dev, rulesopt, fin, opts, optimize,
dist/pf/sbin/pfctl/pfctl.c
2322
else if (!(opts & PF_OPT_NOACTION) &&
dist/pf/sbin/pfctl/pfctl.c
2327
if (opts & PF_OPT_ENABLE)
dist/pf/sbin/pfctl/pfctl.c
2328
if (pfctl_enable(dev, opts))
dist/pf/sbin/pfctl/pfctl.c
2334
pfctl_debug(dev, PF_DEBUG_NONE, opts);
dist/pf/sbin/pfctl/pfctl.c
2337
pfctl_debug(dev, PF_DEBUG_URGENT, opts);
dist/pf/sbin/pfctl/pfctl.c
2340
pfctl_debug(dev, PF_DEBUG_MISC, opts);
dist/pf/sbin/pfctl/pfctl.c
2343
pfctl_debug(dev, PF_DEBUG_NOISY, opts);
dist/pf/sbin/pfctl/pfctl.c
242
pfctl_enable(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
250
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
261
pfctl_disable(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
269
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
280
pfctl_clear_stats(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
284
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
290
pfctl_clear_interface_flags(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
294
if ((opts & PF_OPT_NOACTION) == 0) {
dist/pf/sbin/pfctl/pfctl.c
300
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
307
pfctl_clear_rules(int dev, int opts, char *anchorname)
dist/pf/sbin/pfctl/pfctl.c
318
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
324
pfctl_clear_nat(int dev, int opts, char *anchorname)
dist/pf/sbin/pfctl/pfctl.c
336
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
342
pfctl_clear_altq(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
354
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
360
pfctl_clear_src_nodes(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
364
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
370
pfctl_clear_states(int dev, const char *iface, int opts)
dist/pf/sbin/pfctl/pfctl.c
381
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
437
pfctl_kill_src_nodes(int dev, const char *iface, int opts)
dist/pf/sbin/pfctl/pfctl.c
537
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
544
pfctl_kill_states(int dev, const char *iface, int opts)
dist/pf/sbin/pfctl/pfctl.c
647
if ((opts & PF_OPT_QUIET) == 0)
dist/pf/sbin/pfctl/pfctl.c
711
pfctl_print_rule_counters(struct pf_rule *rule, int opts)
dist/pf/sbin/pfctl/pfctl.c
713
if (opts & PF_OPT_DEBUG) {
dist/pf/sbin/pfctl/pfctl.c
733
if (opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl.c
741
if (!(opts & PF_OPT_DEBUG))
dist/pf/sbin/pfctl/pfctl.c
757
pfctl_show_rules(int dev, char *path, int opts, enum pfctl_show format,
dist/pf/sbin/pfctl/pfctl.c
762
int rule_numbers = opts & (PF_OPT_VERBOSE2 | PF_OPT_DEBUG);
dist/pf/sbin/pfctl/pfctl.c
774
if (opts & PF_OPT_SHOWALL) {
dist/pf/sbin/pfctl/pfctl.c
787
if (opts & PF_OPT_SHOWALL) {
dist/pf/sbin/pfctl/pfctl.c
794
if (opts & PF_OPT_CLRRULECTRS)
dist/pf/sbin/pfctl/pfctl.c
825
if (pr.rule.label[0] && (opts & PF_OPT_SHOWALL))
dist/pf/sbin/pfctl/pfctl.c
829
pfctl_print_rule_counters(&pr.rule, opts);
dist/pf/sbin/pfctl/pfctl.c
871
if (pr.rule.label[0] && (opts & PF_OPT_SHOWALL))
dist/pf/sbin/pfctl/pfctl.c
873
INDENT(depth, !(opts & PF_OPT_VERBOSE));
dist/pf/sbin/pfctl/pfctl.c
877
*(--p) == '/')) || (opts & PF_OPT_RECURSE))) {
dist/pf/sbin/pfctl/pfctl.c
892
pfctl_print_rule_counters(&pr.rule, opts);
dist/pf/sbin/pfctl/pfctl.c
894
pfctl_show_rules(dev, path, opts, format,
dist/pf/sbin/pfctl/pfctl.c
896
INDENT(depth, !(opts & PF_OPT_VERBOSE));
dist/pf/sbin/pfctl/pfctl.c
914
pfctl_show_nat(int dev, int opts, char *anchorname)
dist/pf/sbin/pfctl/pfctl.c
919
int i, dotitle = opts & PF_OPT_SHOWALL;
dist/pf/sbin/pfctl/pfctl.c
944
opts & PF_OPT_VERBOSE2);
dist/pf/sbin/pfctl/pfctl.c
946
pfctl_print_rule_counters(&pr.rule, opts);
dist/pf/sbin/pfctl/pfctl.c
954
pfctl_show_src_nodes(int dev, int opts)
dist/pf/sbin/pfctl/pfctl.c
987
if (psn.psn_len > 0 && (opts & PF_OPT_SHOWALL))
dist/pf/sbin/pfctl/pfctl.c
990
print_src_node(p, opts);
dist/pf/sbin/pfctl/pfctl.c
999
pfctl_show_states(int dev, const char *iface, int opts)
dist/pf/sbin/pfctl/pfctl_altq.c
1150
eval_queue_opts(struct pf_altq *pa, struct node_queue_opt *opts,
dist/pf/sbin/pfctl/pfctl_altq.c
1157
pa->pq_u.cbq_opts = opts->data.cbq_opts;
dist/pf/sbin/pfctl/pfctl_altq.c
1160
pa->pq_u.priq_opts = opts->data.priq_opts;
dist/pf/sbin/pfctl/pfctl_altq.c
1163
pa->pq_u.hfsc_opts.flags = opts->data.hfsc_opts.flags;
dist/pf/sbin/pfctl/pfctl_altq.c
1164
if (opts->data.hfsc_opts.linkshare.used) {
dist/pf/sbin/pfctl/pfctl_altq.c
1166
eval_bwspec(&opts->data.hfsc_opts.linkshare.m1,
dist/pf/sbin/pfctl/pfctl_altq.c
1169
eval_bwspec(&opts->data.hfsc_opts.linkshare.m2,
dist/pf/sbin/pfctl/pfctl_altq.c
1172
opts->data.hfsc_opts.linkshare.d;
dist/pf/sbin/pfctl/pfctl_altq.c
1174
if (opts->data.hfsc_opts.realtime.used) {
dist/pf/sbin/pfctl/pfctl_altq.c
1176
eval_bwspec(&opts->data.hfsc_opts.realtime.m1,
dist/pf/sbin/pfctl/pfctl_altq.c
1179
eval_bwspec(&opts->data.hfsc_opts.realtime.m2,
dist/pf/sbin/pfctl/pfctl_altq.c
1182
opts->data.hfsc_opts.realtime.d;
dist/pf/sbin/pfctl/pfctl_altq.c
1184
if (opts->data.hfsc_opts.upperlimit.used) {
dist/pf/sbin/pfctl/pfctl_altq.c
1186
eval_bwspec(&opts->data.hfsc_opts.upperlimit.m1,
dist/pf/sbin/pfctl/pfctl_altq.c
1189
eval_bwspec(&opts->data.hfsc_opts.upperlimit.m2,
dist/pf/sbin/pfctl/pfctl_altq.c
1192
opts->data.hfsc_opts.upperlimit.d;
dist/pf/sbin/pfctl/pfctl_altq.c
1197
opts->qtype);
dist/pf/sbin/pfctl/pfctl_altq.c
223
struct node_queue_opt *opts)
dist/pf/sbin/pfctl/pfctl_altq.c
238
errors += eval_queue_opts(pa, opts, pa->ifbandwidth);
dist/pf/sbin/pfctl/pfctl_altq.c
263
check_commit_altq(int dev, int opts)
dist/pf/sbin/pfctl/pfctl_altq.c
273
error = check_commit_cbq(dev, opts, altq);
dist/pf/sbin/pfctl/pfctl_altq.c
276
error = check_commit_priq(dev, opts, altq);
dist/pf/sbin/pfctl/pfctl_altq.c
279
error = check_commit_hfsc(dev, opts, altq);
dist/pf/sbin/pfctl/pfctl_altq.c
294
struct node_queue_opt *opts)
dist/pf/sbin/pfctl/pfctl_altq.c
362
if (eval_queue_opts(pa, opts, parent == NULL? 0 : parent->bandwidth))
dist/pf/sbin/pfctl/pfctl_altq.c
390
struct cbq_opts *opts;
dist/pf/sbin/pfctl/pfctl_altq.c
399
opts = &pa->pq_u.cbq_opts;
dist/pf/sbin/pfctl/pfctl_altq.c
401
if (opts->pktsize == 0) { /* use default */
dist/pf/sbin/pfctl/pfctl_altq.c
402
opts->pktsize = ifmtu;
dist/pf/sbin/pfctl/pfctl_altq.c
403
if (opts->pktsize > MCLBYTES) /* do what TCP does */
dist/pf/sbin/pfctl/pfctl_altq.c
404
opts->pktsize &= ~MCLBYTES;
dist/pf/sbin/pfctl/pfctl_altq.c
405
} else if (opts->pktsize > ifmtu)
dist/pf/sbin/pfctl/pfctl_altq.c
406
opts->pktsize = ifmtu;
dist/pf/sbin/pfctl/pfctl_altq.c
407
if (opts->maxpktsize == 0) /* use default */
dist/pf/sbin/pfctl/pfctl_altq.c
408
opts->maxpktsize = ifmtu;
dist/pf/sbin/pfctl/pfctl_altq.c
409
else if (opts->maxpktsize > ifmtu)
dist/pf/sbin/pfctl/pfctl_altq.c
410
opts->pktsize = ifmtu;
dist/pf/sbin/pfctl/pfctl_altq.c
412
if (opts->pktsize > opts->maxpktsize)
dist/pf/sbin/pfctl/pfctl_altq.c
413
opts->pktsize = opts->maxpktsize;
dist/pf/sbin/pfctl/pfctl_altq.c
416
opts->flags |= (CBQCLF_ROOTCLASS | CBQCLF_WRR);
dist/pf/sbin/pfctl/pfctl_altq.c
428
struct cbq_opts *opts;
dist/pf/sbin/pfctl/pfctl_altq.c
434
opts = &pa->pq_u.cbq_opts;
dist/pf/sbin/pfctl/pfctl_altq.c
436
minburst = opts->minburst;
dist/pf/sbin/pfctl/pfctl_altq.c
437
maxburst = opts->maxburst;
dist/pf/sbin/pfctl/pfctl_altq.c
445
ptime = (double)opts->pktsize * ifnsPerByte;
dist/pf/sbin/pfctl/pfctl_altq.c
448
if (nsPerByte * (double)opts->maxpktsize > (double)INT_MAX) {
dist/pf/sbin/pfctl/pfctl_altq.c
453
if (pa->bandwidth != 0 && (pf->opts & PF_OPT_QUIET) == 0) {
dist/pf/sbin/pfctl/pfctl_altq.c
455
rate2str(ifnsPerByte * (double)opts->maxpktsize /
dist/pf/sbin/pfctl/pfctl_altq.c
460
nsPerByte = (double)(INT_MAX / opts->maxpktsize);
dist/pf/sbin/pfctl/pfctl_altq.c
485
minidle = -((double)opts->maxpktsize * (double)nsPerByte);
dist/pf/sbin/pfctl/pfctl_altq.c
499
opts->minburst = minburst;
dist/pf/sbin/pfctl/pfctl_altq.c
500
opts->maxburst = maxburst;
dist/pf/sbin/pfctl/pfctl_altq.c
501
opts->ns_per_byte = (u_int)nsPerByte;
dist/pf/sbin/pfctl/pfctl_altq.c
502
opts->maxidle = (u_int)fabs(maxidle);
dist/pf/sbin/pfctl/pfctl_altq.c
503
opts->minidle = (int)minidle;
dist/pf/sbin/pfctl/pfctl_altq.c
504
opts->offtime = (u_int)fabs(offtime);
dist/pf/sbin/pfctl/pfctl_altq.c
510
check_commit_cbq(int dev, int opts, struct pf_altq *pa)
dist/pf/sbin/pfctl/pfctl_altq.c
545
const struct cbq_opts *opts;
dist/pf/sbin/pfctl/pfctl_altq.c
547
opts = &a->pq_u.cbq_opts;
dist/pf/sbin/pfctl/pfctl_altq.c
548
if (opts->flags) {
dist/pf/sbin/pfctl/pfctl_altq.c
550
if (opts->flags & CBQCLF_RED)
dist/pf/sbin/pfctl/pfctl_altq.c
552
if (opts->flags & CBQCLF_ECN)
dist/pf/sbin/pfctl/pfctl_altq.c
554
if (opts->flags & CBQCLF_RIO)
dist/pf/sbin/pfctl/pfctl_altq.c
556
if (opts->flags & CBQCLF_CLEARDSCP)
dist/pf/sbin/pfctl/pfctl_altq.c
558
if (opts->flags & CBQCLF_FLOWVALVE)
dist/pf/sbin/pfctl/pfctl_altq.c
561
if (opts->flags & CBQCLF_BORROW)
dist/pf/sbin/pfctl/pfctl_altq.c
564
if (opts->flags & CBQCLF_WRR)
dist/pf/sbin/pfctl/pfctl_altq.c
566
if (opts->flags & CBQCLF_EFFICIENT)
dist/pf/sbin/pfctl/pfctl_altq.c
568
if (opts->flags & CBQCLF_ROOTCLASS)
dist/pf/sbin/pfctl/pfctl_altq.c
570
if (opts->flags & CBQCLF_DEFCLASS)
dist/pf/sbin/pfctl/pfctl_altq.c
605
check_commit_priq(int dev, int opts, struct pf_altq *pa)
dist/pf/sbin/pfctl/pfctl_altq.c
633
const struct priq_opts *opts;
dist/pf/sbin/pfctl/pfctl_altq.c
635
opts = &a->pq_u.priq_opts;
dist/pf/sbin/pfctl/pfctl_altq.c
637
if (opts->flags) {
dist/pf/sbin/pfctl/pfctl_altq.c
639
if (opts->flags & PRCF_RED)
dist/pf/sbin/pfctl/pfctl_altq.c
641
if (opts->flags & PRCF_ECN)
dist/pf/sbin/pfctl/pfctl_altq.c
643
if (opts->flags & PRCF_RIO)
dist/pf/sbin/pfctl/pfctl_altq.c
645
if (opts->flags & PRCF_CLEARDSCP)
dist/pf/sbin/pfctl/pfctl_altq.c
647
if (opts->flags & PRCF_DEFAULTCLASS)
dist/pf/sbin/pfctl/pfctl_altq.c
663
struct hfsc_opts *opts;
dist/pf/sbin/pfctl/pfctl_altq.c
666
opts = &pa->pq_u.hfsc_opts;
dist/pf/sbin/pfctl/pfctl_altq.c
670
opts->lssc_m1 = pa->ifbandwidth;
dist/pf/sbin/pfctl/pfctl_altq.c
671
opts->lssc_m2 = pa->ifbandwidth;
dist/pf/sbin/pfctl/pfctl_altq.c
672
opts->lssc_d = 0;
dist/pf/sbin/pfctl/pfctl_altq.c
680
if (opts->lssc_m2 == 0)
dist/pf/sbin/pfctl/pfctl_altq.c
681
opts->lssc_m2 = pa->bandwidth;
dist/pf/sbin/pfctl/pfctl_altq.c
683
if ((opts->rtsc_m1 > 0 && opts->rtsc_m2 == 0) ||
dist/pf/sbin/pfctl/pfctl_altq.c
684
(opts->lssc_m1 > 0 && opts->lssc_m2 == 0) ||
dist/pf/sbin/pfctl/pfctl_altq.c
685
(opts->ulsc_m1 > 0 && opts->ulsc_m2 == 0)) {
dist/pf/sbin/pfctl/pfctl_altq.c
690
if ((opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
dist/pf/sbin/pfctl/pfctl_altq.c
691
(opts->lssc_m1 < opts->lssc_m2 && opts->lssc_m1 != 0) ||
dist/pf/sbin/pfctl/pfctl_altq.c
692
(opts->ulsc_m1 < opts->ulsc_m2 && opts->ulsc_m1 != 0)) {
dist/pf/sbin/pfctl/pfctl_altq.c
719
if (opts->rtsc_m2 != 0 && altq->pq_u.hfsc_opts.rtsc_m2 != 0) {
dist/pf/sbin/pfctl/pfctl_altq.c
730
if (opts->lssc_m2 != 0 && altq->pq_u.hfsc_opts.lssc_m2 != 0) {
dist/pf/sbin/pfctl/pfctl_altq.c
739
if (opts->rtsc_m2 != 0) {
dist/pf/sbin/pfctl/pfctl_altq.c
741
sc.m1 = opts->rtsc_m1;
dist/pf/sbin/pfctl/pfctl_altq.c
742
sc.d = opts->rtsc_d;
dist/pf/sbin/pfctl/pfctl_altq.c
743
sc.m2 = opts->rtsc_m2;
dist/pf/sbin/pfctl/pfctl_altq.c
757
if (opts->lssc_m2 != 0) {
dist/pf/sbin/pfctl/pfctl_altq.c
759
sc.m1 = opts->lssc_m1;
dist/pf/sbin/pfctl/pfctl_altq.c
760
sc.d = opts->lssc_d;
dist/pf/sbin/pfctl/pfctl_altq.c
761
sc.m2 = opts->lssc_m2;
dist/pf/sbin/pfctl/pfctl_altq.c
774
if (opts->ulsc_m2 != 0) {
dist/pf/sbin/pfctl/pfctl_altq.c
775
if (opts->ulsc_m1 > pa->ifbandwidth ||
dist/pf/sbin/pfctl/pfctl_altq.c
776
opts->ulsc_m2 > pa->ifbandwidth) {
dist/pf/sbin/pfctl/pfctl_altq.c
780
if (opts->rtsc_m2 != 0 && opts->rtsc_m2 > opts->ulsc_m2) {
dist/pf/sbin/pfctl/pfctl_altq.c
798
check_commit_hfsc(int dev, int opts, struct pf_altq *pa)
dist/pf/sbin/pfctl/pfctl_altq.c
839
const struct hfsc_opts *opts;
dist/pf/sbin/pfctl/pfctl_altq.c
842
opts = &a->pq_u.hfsc_opts;
dist/pf/sbin/pfctl/pfctl_altq.c
851
if (opts->flags || opts->rtsc_m2 != 0 || opts->ulsc_m2 != 0 ||
dist/pf/sbin/pfctl/pfctl_altq.c
852
(opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
dist/pf/sbin/pfctl/pfctl_altq.c
853
opts->lssc_d != 0))) {
dist/pf/sbin/pfctl/pfctl_altq.c
855
if (opts->flags & HFCF_RED)
dist/pf/sbin/pfctl/pfctl_altq.c
857
if (opts->flags & HFCF_ECN)
dist/pf/sbin/pfctl/pfctl_altq.c
859
if (opts->flags & HFCF_RIO)
dist/pf/sbin/pfctl/pfctl_altq.c
861
if (opts->flags & HFCF_CLEARDSCP)
dist/pf/sbin/pfctl/pfctl_altq.c
863
if (opts->flags & HFCF_DEFAULTCLASS)
dist/pf/sbin/pfctl/pfctl_altq.c
865
if (opts->rtsc_m2 != 0)
dist/pf/sbin/pfctl/pfctl_altq.c
866
print_hfsc_sc("realtime", opts->rtsc_m1, opts->rtsc_d,
dist/pf/sbin/pfctl/pfctl_altq.c
867
opts->rtsc_m2, rtsc);
dist/pf/sbin/pfctl/pfctl_altq.c
868
if (opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
dist/pf/sbin/pfctl/pfctl_altq.c
869
opts->lssc_d != 0))
dist/pf/sbin/pfctl/pfctl_altq.c
870
print_hfsc_sc("linkshare", opts->lssc_m1, opts->lssc_d,
dist/pf/sbin/pfctl/pfctl_altq.c
871
opts->lssc_m2, lssc);
dist/pf/sbin/pfctl/pfctl_altq.c
872
if (opts->ulsc_m2 != 0)
dist/pf/sbin/pfctl/pfctl_altq.c
873
print_hfsc_sc("upperlimit", opts->ulsc_m1, opts->ulsc_d,
dist/pf/sbin/pfctl/pfctl_altq.c
874
opts->ulsc_m2, ulsc);
dist/pf/sbin/pfctl/pfctl_optimize.c
1253
if (pf->opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl_optimize.c
573
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
dist/pf/sbin/pfctl/pfctl_optimize.c
579
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_optimize.c
605
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
dist/pf/sbin/pfctl/pfctl_optimize.c
610
if (pf->opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_osfp.c
111
if ((opts & PF_OPT_NOACTION) == 0)
dist/pf/sbin/pfctl/pfctl_osfp.c
112
pfctl_clear_fingerprints(dev, opts);
dist/pf/sbin/pfctl/pfctl_osfp.c
247
add_fingerprint(dev, opts, &fp);
dist/pf/sbin/pfctl/pfctl_osfp.c
251
add_fingerprint(dev, opts, &fp);
dist/pf/sbin/pfctl/pfctl_osfp.c
267
if (opts & PF_OPT_VERBOSE2)
dist/pf/sbin/pfctl/pfctl_osfp.c
275
pfctl_clear_fingerprints(int dev, int opts)
dist/pf/sbin/pfctl/pfctl_osfp.c
298
pfctl_load_fingerprints(int dev, int opts)
dist/pf/sbin/pfctl/pfctl_osfp.c
321
pfctl_show_fingerprints(int opts)
dist/pf/sbin/pfctl/pfctl_osfp.c
324
if (opts & PF_OPT_SHOWALL) {
dist/pf/sbin/pfctl/pfctl_osfp.c
330
sort_name_list(opts, &classes);
dist/pf/sbin/pfctl/pfctl_osfp.c
331
print_name_list(opts, &classes, "");
dist/pf/sbin/pfctl/pfctl_osfp.c
549
add_fingerprint(int dev, int opts, struct pf_osfp_ioctl *fp)
dist/pf/sbin/pfctl/pfctl_osfp.c
596
add_fingerprint(dev, opts, &fptmp); \
dist/pf/sbin/pfctl/pfctl_osfp.c
642
if ((opts & PF_OPT_NOACTION) == 0 && ioctl(dev, DIOCOSFPADD, fp))
dist/pf/sbin/pfctl/pfctl_osfp.c
725
print_name_list(int opts, struct name_list *nml, const char *prefix)
dist/pf/sbin/pfctl/pfctl_osfp.c
734
print_name_list(opts, &nm->nm_sublist, newprefix);
dist/pf/sbin/pfctl/pfctl_osfp.c
739
sort_name_list(int opts, struct name_list *nml)
dist/pf/sbin/pfctl/pfctl_osfp.c
765
sort_name_list(opts, &nm->nm_sublist);
dist/pf/sbin/pfctl/pfctl_osfp.c
91
pfctl_file_fingerprints(int dev, int opts, const char *fp_filename)
dist/pf/sbin/pfctl/pfctl_parser.c
492
switch (pool->opts & PF_POOL_TYPEMASK) {
dist/pf/sbin/pfctl/pfctl_parser.c
510
if (pool->opts & PF_POOL_STICKYADDR)
dist/pf/sbin/pfctl/pfctl_parser.c
522
print_status(struct pf_status *s, int opts)
dist/pf/sbin/pfctl/pfctl_parser.c
563
if (opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl_parser.c
609
if (opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl_parser.c
633
if (opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl_parser.c
648
print_src_node(struct pf_src_node *sn, int opts)
dist/pf/sbin/pfctl/pfctl_parser.c
660
print_addr(&aw, sn->af, opts & PF_OPT_VERBOSE2);
dist/pf/sbin/pfctl/pfctl_parser.c
663
print_addr(&aw, sn->af, opts & PF_OPT_VERBOSE2);
dist/pf/sbin/pfctl/pfctl_parser.c
667
if (opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl_parser.c
710
int i, opts;
dist/pf/sbin/pfctl/pfctl_parser.c
894
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
896
opts = 1;
dist/pf/sbin/pfctl/pfctl_parser.c
898
opts = 1;
dist/pf/sbin/pfctl/pfctl_parser.c
900
opts = 1;
dist/pf/sbin/pfctl/pfctl_parser.c
902
opts = 1;
dist/pf/sbin/pfctl/pfctl_parser.c
903
for (i = 0; !opts && i < PFTM_MAX; ++i)
dist/pf/sbin/pfctl/pfctl_parser.c
905
opts = 1;
dist/pf/sbin/pfctl/pfctl_parser.c
906
if (opts) {
dist/pf/sbin/pfctl/pfctl_parser.c
910
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
913
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
916
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
919
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
926
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
929
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
932
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
935
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
938
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
941
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
946
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
949
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
952
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
955
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
964
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
967
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
973
if (!opts)
dist/pf/sbin/pfctl/pfctl_parser.c
975
opts = 0;
dist/pf/sbin/pfctl/pfctl_parser.h
74
int opts;
dist/pf/sbin/pfctl/pfctl_qstats.c
103
pfctl_print_altq_node(dev, node, 0, opts);
dist/pf/sbin/pfctl/pfctl_qstats.c
115
pfctl_print_altq_node(dev, node, 0, opts);
dist/pf/sbin/pfctl/pfctl_qstats.c
238
int opts)
dist/pf/sbin/pfctl/pfctl_qstats.c
259
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_qstats.c
262
if (opts & PF_OPT_DEBUG)
dist/pf/sbin/pfctl/pfctl_qstats.c
269
pfctl_print_altq_node(dev, child, level + 1, opts);
dist/pf/sbin/pfctl/pfctl_qstats.c
85
pfctl_show_altq(int dev, const char *iface, int opts, int verbose2)
dist/pf/sbin/pfctl/pfctl_qstats.c
88
int nodes, dotitle = (opts & PF_OPT_SHOWALL);
dist/pf/sbin/pfctl/pfctl_table.c
105
pfctl_clear_tables(const char *anchor, int opts)
dist/pf/sbin/pfctl/pfctl_table.c
107
return pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts);
dist/pf/sbin/pfctl/pfctl_table.c
111
pfctl_show_tables(const char *anchor, int opts)
dist/pf/sbin/pfctl/pfctl_table.c
113
return pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts);
dist/pf/sbin/pfctl/pfctl_table.c
118
const char *command, char *file, const char *anchor, int opts)
dist/pf/sbin/pfctl/pfctl_table.c
122
return pfctl_table(argc, argv, tname, command, file, anchor, opts);
dist/pf/sbin/pfctl/pfctl_table.c
127
char *file, const char *anchor, int opts)
dist/pf/sbin/pfctl/pfctl_table.c
138
if (opts & PF_OPT_NOACTION)
dist/pf/sbin/pfctl/pfctl_table.c
159
xprintf(opts, "%d tables deleted", ndel);
dist/pf/sbin/pfctl/pfctl_table.c
161
b.pfrb_type = (opts & PF_OPT_VERBOSE2) ?
dist/pf/sbin/pfctl/pfctl_table.c
168
if (opts & PF_OPT_VERBOSE2)
dist/pf/sbin/pfctl/pfctl_table.c
178
if ((opts & PF_OPT_SHOWALL) && b.pfrb_size > 0)
dist/pf/sbin/pfctl/pfctl_table.c
182
if (opts & PF_OPT_VERBOSE2)
dist/pf/sbin/pfctl/pfctl_table.c
183
print_tstats(p, opts & PF_OPT_DEBUG);
dist/pf/sbin/pfctl/pfctl_table.c
185
print_table(p, opts & PF_OPT_VERBOSE,
dist/pf/sbin/pfctl/pfctl_table.c
186
opts & PF_OPT_DEBUG);
dist/pf/sbin/pfctl/pfctl_table.c
191
xprintf(opts, "%d table deleted", ndel);
dist/pf/sbin/pfctl/pfctl_table.c
196
xprintf(opts, "%d addresses deleted", ndel);
dist/pf/sbin/pfctl/pfctl_table.c
202
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
206
xprintf(opts, "%d/%d addresses added", nadd, b.pfrb_size);
dist/pf/sbin/pfctl/pfctl_table.c
207
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
209
if ((opts & PF_OPT_VERBOSE2) || a->pfra_fback)
dist/pf/sbin/pfctl/pfctl_table.c
211
opts & PF_OPT_USEDNS);
dist/pf/sbin/pfctl/pfctl_table.c
216
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
220
xprintf(opts, "%d/%d addresses deleted", ndel, b.pfrb_size);
dist/pf/sbin/pfctl/pfctl_table.c
221
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
223
if ((opts & PF_OPT_VERBOSE2) || a->pfra_fback)
dist/pf/sbin/pfctl/pfctl_table.c
225
opts & PF_OPT_USEDNS);
dist/pf/sbin/pfctl/pfctl_table.c
231
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
245
xprintf(opts, "%d addresses added", nadd);
dist/pf/sbin/pfctl/pfctl_table.c
247
xprintf(opts, "%d addresses deleted", ndel);
dist/pf/sbin/pfctl/pfctl_table.c
249
xprintf(opts, "%d addresses changed", nchange);
dist/pf/sbin/pfctl/pfctl_table.c
251
xprintf(opts, "no changes");
dist/pf/sbin/pfctl/pfctl_table.c
252
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
254
if ((opts & PF_OPT_VERBOSE2) || a->pfra_fback)
dist/pf/sbin/pfctl/pfctl_table.c
256
opts & PF_OPT_USEDNS);
dist/pf/sbin/pfctl/pfctl_table.c
283
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
287
xprintf(opts, "%d/%d addresses expired", ndel, b2.pfrb_size);
dist/pf/sbin/pfctl/pfctl_table.c
288
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
290
if ((opts & PF_OPT_VERBOSE2) || a->pfra_fback)
dist/pf/sbin/pfctl/pfctl_table.c
292
opts & PF_OPT_USEDNS);
dist/pf/sbin/pfctl/pfctl_table.c
294
b.pfrb_type = (opts & PF_OPT_VERBOSE) ?
dist/pf/sbin/pfctl/pfctl_table.c
301
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
311
if (opts & PF_OPT_VERBOSE)
dist/pf/sbin/pfctl/pfctl_table.c
312
print_astats(p, opts & PF_OPT_USEDNS);
dist/pf/sbin/pfctl/pfctl_table.c
314
print_addrx(p, NULL, opts & PF_OPT_USEDNS);
dist/pf/sbin/pfctl/pfctl_table.c
321
if (opts & PF_OPT_VERBOSE2) {
dist/pf/sbin/pfctl/pfctl_table.c
329
xprintf(opts, "%d/%d addresses match", nmatch, b.pfrb_size);
dist/pf/sbin/pfctl/pfctl_table.c
330
if ((opts & PF_OPT_VERBOSE) && !(opts & PF_OPT_VERBOSE2))
dist/pf/sbin/pfctl/pfctl_table.c
334
opts & PF_OPT_USEDNS);
dist/pf/sbin/pfctl/pfctl_table.c
335
if (opts & PF_OPT_VERBOSE2) {
dist/pf/sbin/pfctl/pfctl_table.c
339
print_addrx(a2, a, opts & PF_OPT_USEDNS);
dist/pf/sbin/pfctl/pfctl_table.c
349
xprintf(opts, "%d table/stats cleared", nzero);
dist/pf/sbin/pfctl/pfctl_table.c
552
xprintf(int opts, const char *fmt, ...)
dist/pf/sbin/pfctl/pfctl_table.c
556
if (opts & PF_OPT_QUIET)
dist/pf/sbin/pfctl/pfctl_table.c
563
if (opts & PF_OPT_DUMMYACTION)
dist/pf/sbin/pfctl/pfctl_table.c
565
else if (opts & PF_OPT_NOACTION)
dist/pf/sbin/pfctl/pfctl_table.c
575
pfctl_show_ifaces(const char *filter, int opts)
dist/pf/sbin/pfctl/pfctl_table.c
594
if (opts & PF_OPT_SHOWALL)
dist/pf/sbin/pfctl/pfctl_table.c
597
print_iface(p, opts);
dist/pf/sbin/pfctl/pfctl_table.c
602
print_iface(struct pfi_kif *p, int opts)
dist/pf/sbin/pfctl/pfctl_table.c
608
if (opts & PF_OPT_VERBOSE) {
dist/pf/sbin/pfctl/pfctl_table.c
614
if (!(opts & PF_OPT_VERBOSE2))
dist/pf/sbin/pfctl/pfctl_table.c
78
if ((!(opts & PF_OPT_NOACTION) || \
dist/pf/sbin/pfctl/pfctl_table.c
79
(opts & PF_OPT_DUMMYACTION)) && \
dist/pf/sbin/pfctl/pfctl_table.c
88
if ((!(opts & PF_OPT_NOACTION) || \
dist/pf/sbin/pfctl/pfctl_table.c
89
(opts & PF_OPT_DUMMYACTION)) && \
dist/pf/sbin/pfctl/pfctl_table.c
97
xprintf(opts, "%d table created", nadd); \
dist/pf/sbin/pfctl/pfctl_table.c
98
if (opts & PF_OPT_NOACTION) \
games/backgammon/teachgammon/ttext1.c
44
const char *const opts = " QIMRHEDSPT";
games/backgammon/teachgammon/ttext2.c
166
if (b == opts[i])
games/backgammon/teachgammon/tutor.h
59
extern const char *const opts;
games/hack/hack.options.c
100
if ((op = strchr(opts, ',')) != NULL) {
games/hack/hack.options.c
104
if ((op = strchr(opts, ' ')) != NULL) {
games/hack/hack.options.c
110
if (!*opts)
games/hack/hack.options.c
113
while ((*opts == '!') || !strncmp(opts, "no", 2)) {
games/hack/hack.options.c
114
if (*opts == '!')
games/hack/hack.options.c
115
opts++;
games/hack/hack.options.c
117
opts += 2;
games/hack/hack.options.c
121
if (!strncmp(opts, "standout", 8)) {
games/hack/hack.options.c
125
if (!strncmp(opts, "null", 3)) {
games/hack/hack.options.c
129
if (!strncmp(opts, "tombstone", 4)) {
games/hack/hack.options.c
133
if (!strncmp(opts, "news", 4)) {
games/hack/hack.options.c
137
if (!strncmp(opts, "time", 4)) {
games/hack/hack.options.c
142
if (!strncmp(opts, "restonspace", 4)) {
games/hack/hack.options.c
146
if (!strncmp(opts, "fixinv", 4)) {
games/hack/hack.options.c
153
if (!strncmp(opts, "male", 4)) {
games/hack/hack.options.c
157
if (!strncmp(opts, "female", 6)) {
games/hack/hack.options.c
162
if (!strncmp(opts, "name", 4)) {
games/hack/hack.options.c
167
op = strchr(opts, ':');
games/hack/hack.options.c
174
if (!strncmp(opts, "endgame", 3)) {
games/hack/hack.options.c
175
op = strchr(opts, ':');
games/hack/hack.options.c
210
if (!strncmp(opts, "help", 4)) {
games/hack/hack.options.c
227
pline("Bad option: %s.", opts);
games/hack/hack.options.c
79
char *opts;
games/hack/hack.options.c
89
if ((opts = getenv("HACKOPTIONS")) != NULL)
games/hack/hack.options.c
90
parseoptions(opts, TRUE);
games/hack/hack.options.c
94
parseoptions(char *opts, boolean from_env)
games/worms/worms.c
538
w->orientation = op->opts[0];
games/worms/worms.c
542
op->opts[(int)random() % op->nopts];
games/worms/worms.c
79
int opts[3];
lib/libc/stdlib/jemalloc.c
3263
const char *opts = "";
lib/libc/stdlib/jemalloc.c
3319
opts = buf;
lib/libc/stdlib/jemalloc.c
3323
opts = buf;
lib/libc/stdlib/jemalloc.c
3327
if ((opts = getenv("MALLOC_OPTIONS")) != NULL &&
lib/libc/stdlib/jemalloc.c
3337
opts = buf;
lib/libc/stdlib/jemalloc.c
3345
opts = _malloc_options;
lib/libc/stdlib/jemalloc.c
3349
opts = buf;
lib/libc/stdlib/jemalloc.c
3358
for (j = 0; opts[j] != '\0'; j++) {
lib/libc/stdlib/jemalloc.c
3359
switch (opts[j]) {
lib/libc/stdlib/jemalloc.c
3441
cbuf[0] = opts[j];
lib/libcurses/attributes.c
144
wattr_get(WINDOW *win, attr_t *attr, short *pair, void *opts)
lib/libcurses/attributes.c
167
wattr_on(WINDOW *win, attr_t attr, void *opts)
lib/libcurses/attributes.c
169
if (__predict_false(opts != NULL))
lib/libcurses/attributes.c
183
wattr_off(WINDOW *win, attr_t attr, void *opts)
lib/libcurses/attributes.c
185
if (__predict_false(opts != NULL))
lib/libcurses/attributes.c
197
wattr_set(WINDOW *win, attr_t attr, short pair, void *opts)
lib/libcurses/attributes.c
202
if (__predict_false(opts != NULL))
lib/libcurses/attributes.c
222
wcolor_set(WINDOW *win, short pair, void *opts)
lib/libcurses/attributes.c
226
if ((__predict_false(win == NULL)) || (__predict_false(opts != NULL)))
lib/libcurses/attributes.c
53
attr_get(attr_t *attr, short *pair, void *opts)
lib/libcurses/attributes.c
55
return wattr_get(stdscr, attr, pair, opts);
lib/libcurses/attributes.c
64
attr_on(attr_t attr, void *opts)
lib/libcurses/attributes.c
66
return wattr_on(stdscr, attr, opts);
lib/libcurses/attributes.c
75
attr_off(attr_t attr, void *opts)
lib/libcurses/attributes.c
77
return wattr_off(stdscr, attr, opts);
lib/libcurses/attributes.c
86
attr_set(attr_t attr, short pair, void *opts)
lib/libcurses/attributes.c
88
return wattr_set(stdscr, attr, pair, opts);
lib/libcurses/attributes.c
97
color_set(short pair, void *opts)
lib/libcurses/attributes.c
99
return wcolor_set(stdscr, pair, opts);
lib/libcurses/cchar.c
53
short *color_pair, void *opts)
lib/libcurses/cchar.c
58
if (__predict_false(opts != NULL))
lib/libcurses/cchar.c
88
short color_pair, const void *opts)
lib/libcurses/cchar.c
93
if (__predict_false(opts != NULL))
lib/libcurses/chgat.c
39
chgat(int n, attr_t attr, short color, const void *opts)
lib/libcurses/chgat.c
41
return wchgat(stdscr, n, attr, color, opts);
lib/libcurses/chgat.c
46
const void *opts)
lib/libcurses/chgat.c
48
return mvwchgat(stdscr, y, x, n, attr, color, opts);
lib/libcurses/chgat.c
52
wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts)
lib/libcurses/chgat.c
54
return mvwchgat(win, win->cury, win->curx, n, attr, color, opts);
lib/libcurses/chgat.c
59
const void *opts)
lib/libform/driver.c
128
if ((fieldp->opts & O_EDIT) != O_EDIT)
lib/libform/driver.c
145
if ((fieldp->opts & O_AUTOSKIP)
lib/libform/driver.c
323
if ((form->opts & O_BS_OVERLOAD) == O_BS_OVERLOAD) {
lib/libform/driver.c
343
if ((form->opts & O_NL_OVERLOAD) == O_NL_OVERLOAD) {
lib/libform/driver.c
368
if ((form->fields[form->cur_field]->opts & O_EDIT) != O_EDIT)
lib/libform/driver.c
86
if ((form->fields[idx]->opts & (O_ACTIVE | O_VISIBLE))
lib/libform/field.c
140
fp->opts = options;
lib/libform/field.c
175
fp->opts |= options;
lib/libform/field.c
201
fp->opts &= ~options;
lib/libform/field.c
221
return _formi_default_field.opts;
lib/libform/field.c
223
return field->opts;
lib/libform/field.c
247
if (((fp->opts & O_STATIC) != O_STATIC) ||
lib/libform/field.c
299
if ((field->opts & O_STATIC) == O_STATIC) {
lib/libform/field.c
399
if (((field->opts & O_STATIC) == O_STATIC) && (len > field->cols)
lib/libform/field.c
424
if (((field->opts & O_STATIC) == O_STATIC) && (len > field->cols)
lib/libform/field.c
486
if ((field->opts & O_REFORMAT) != O_REFORMAT)
lib/libform/field.c
556
if ((field->opts & O_STATIC) == O_STATIC) /* check if field dynamic */
lib/libform/form.c
196
_formi_default_form.opts = options;
lib/libform/form.c
198
form->opts = options;
lib/libform/form.c
210
_formi_default_form.opts |= options;
lib/libform/form.c
212
form->opts |= options;
lib/libform/form.c
224
_formi_default_form.opts &= ~options;
lib/libform/form.c
226
form->opts &= ~options;
lib/libform/form.c
239
return _formi_default_form.opts;
lib/libform/form.c
241
return form->opts;
lib/libform/form.c
597
if ((cur->opts & O_PUBLIC) == O_PUBLIC) {
lib/libform/form.h
225
Form_Options opts; /* options for the field */
lib/libform/form.h
279
Form_Options opts; /* options for the form */
lib/libform/internals.c
1539
if ((cur->opts & O_STATIC) == O_STATIC) {
lib/libform/internals.c
1644
if (((cur->opts & O_PUBLIC) != O_PUBLIC)) {
lib/libform/internals.c
1653
} else if ((cur->opts & O_VISIBLE) == O_VISIBLE) {
lib/libform/internals.c
1788
if (((field->opts & O_BLANK) == O_BLANK) &&
lib/libform/internals.c
1965
((field->opts & O_STATIC) != O_STATIC))
lib/libform/internals.c
2002
if ((field->opts & O_STATIC) == O_STATIC) {
lib/libform/internals.c
2110
if (((cur->opts & O_STATIC) == O_STATIC) &&
lib/libform/internals.c
2447
if ((cur->opts & O_STATIC) != O_STATIC) {
lib/libform/internals.c
291
if (((field->opts & O_STATIC) != O_STATIC) ||
lib/libform/internals.c
3009
if ((cur->opts & O_NULLOK) == O_NULLOK)
lib/libform/internals.c
3021
if ((cur->opts & O_NULLOK) == O_NULLOK)
lib/libform/internals.c
3029
if ((cur->opts & O_PASSOK) == O_PASSOK)
lib/libform/internals.c
348
if ((field->opts & O_STATIC) != O_STATIC) {
lib/libform/internals.c
391
while ((cur->opts & (O_VISIBLE | O_ACTIVE))
lib/libform/internals.c
452
if ((form->fields[i]->opts & (O_VISIBLE | O_ACTIVE))
lib/libform/internals.c
509
if ((field->opts & O_STATIC) == O_STATIC) {
lib/libform/internals.c
624
((field->opts & O_WRAP) == O_WRAP)) {
lib/libform/internals.c
668
if ((((field->opts & O_STATIC) == O_STATIC) &&
lib/libmenu/driver.c
149
if ((menu->opts & O_NONCYCLIC)
lib/libmenu/driver.c
162
if ((menu->opts & O_NONCYCLIC)
lib/libmenu/driver.c
175
if ((menu->opts & (O_RADIO | O_ONEVALUE)) != 0) {
lib/libmenu/driver.c
176
if ((menu->opts & O_RADIO) == O_RADIO) {
lib/libmenu/driver.c
177
if ((drv_new_item->opts & O_SELECTABLE)
lib/libmenu/driver.c
202
if ((drv_new_item->opts
lib/libmenu/driver.c
261
&& ((menu->opts & O_SHOWMATCH) == O_SHOWMATCH)) {
lib/libmenu/internals.c
330
caseless = ((menu->opts & O_IGNORECASE) == O_IGNORECASE);
lib/libmenu/internals.c
441
if ((menu->items[item]->opts & O_SELECTABLE) != O_SELECTABLE)
lib/libmenu/internals.c
450
(((menu->opts & O_ONEVALUE) == O_ONEVALUE) &&
lib/libmenu/internals.c
480
if ((menu->opts & O_SHOWDESC) == O_SHOWDESC) {
lib/libmenu/internals.c
523
rowmajor = ((menu->opts & O_ROWMAJOR) == O_ROWMAJOR);
lib/libmenu/internals.c
55
row_major = ((menu->opts & O_ROWMAJOR) == O_ROWMAJOR);
lib/libmenu/internals.c
598
with_desc = ((menu->opts & O_SHOWDESC) == O_SHOWDESC);
lib/libmenu/internals.c
94
row_major = ((menu->opts & O_ROWMAJOR) == O_ROWMAJOR);
lib/libmenu/internals.c
95
cycle = ((menu->opts & O_NONCYCLIC) != O_NONCYCLIC);
lib/libmenu/item.c
188
set_item_opts(ITEM *item, OPTIONS opts)
lib/libmenu/item.c
191
if (opts != O_SELECTABLE)
lib/libmenu/item.c
195
_menui_default_item.opts = opts;
lib/libmenu/item.c
197
item->opts = opts;
lib/libmenu/item.c
205
item_opts_on(ITEM *item, OPTIONS opts)
lib/libmenu/item.c
207
if (opts != O_SELECTABLE)
lib/libmenu/item.c
211
_menui_default_item.opts |= opts;
lib/libmenu/item.c
213
item->opts |= opts;
lib/libmenu/item.c
221
item_opts_off(ITEM *item, OPTIONS opts)
lib/libmenu/item.c
223
if (opts != O_SELECTABLE)
lib/libmenu/item.c
227
_menui_default_item.opts &= ~(opts);
lib/libmenu/item.c
229
item->opts &= ~(opts);
lib/libmenu/item.c
240
return _menui_default_item.opts;
lib/libmenu/item.c
242
return item->opts;
lib/libmenu/item.c
258
if ((item->parent->opts & O_ONEVALUE) == O_ONEVALUE)
lib/libmenu/menu.c
298
return _menui_default_menu.opts;
lib/libmenu/menu.c
300
return menu->opts;
lib/libmenu/menu.c
307
set_menu_opts(MENU *param_menu, OPTIONS opts)
lib/libmenu/menu.c
311
OPTIONS old_opts = menu->opts;
lib/libmenu/menu.c
313
menu->opts = opts;
lib/libmenu/menu.c
319
if (((opts & O_RADIO) == O_RADIO) && (menu->items != NULL) &&
lib/libmenu/menu.c
337
if ((menu->opts & O_ROWMAJOR) != (old_opts & O_ROWMAJOR))
lib/libmenu/menu.c
348
menu_opts_on(MENU *param_menu, OPTIONS opts)
lib/libmenu/menu.c
352
OPTIONS old_opts = menu->opts;
lib/libmenu/menu.c
354
menu->opts |= opts;
lib/libmenu/menu.c
360
if (((opts & O_RADIO) == O_RADIO) && (menu->items != NULL) &&
lib/libmenu/menu.c
378
(menu->opts & O_ROWMAJOR) != (old_opts & O_ROWMAJOR))
lib/libmenu/menu.c
389
menu_opts_off(MENU *param_menu, OPTIONS opts)
lib/libmenu/menu.c
392
OPTIONS old_opts = menu->opts;
lib/libmenu/menu.c
394
menu->opts &= ~(opts);
lib/libmenu/menu.c
397
(menu->opts & O_ROWMAJOR) != (old_opts & O_ROWMAJOR))
lib/libmenu/menu.c
591
if (((menu->opts & O_RADIO) == O_RADIO) &&
lib/libmenu/menu.c
624
if (((menu->opts & O_RADIO) == O_RADIO) && (sel_count == 0))
lib/libmenu/menu.h
110
OPTIONS opts; /* options for the menu */
lib/libmenu/menu.h
90
OPTIONS opts;
lib/libmenu/post.c
71
if ((menu->opts & O_RADIO) != O_RADIO) {
lib/libpam/modules/pam_krb5/pam_krb5.c
127
krb5_get_init_creds_opt *opts = NULL;
lib/libpam/modules/pam_krb5/pam_krb5.c
193
krbret = krb5_get_init_creds_opt_alloc(pam_context, &opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
201
krb5_get_init_creds_opt_set_forwardable(opts, 1);
lib/libpam/modules/pam_krb5/pam_krb5.c
217
krb5_get_init_creds_opt_set_renew_life(opts, renew);
lib/libpam/modules/pam_krb5/pam_krb5.c
303
pass, NULL, pamh, 0, NULL, opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
390
if (opts)
lib/libpam/modules/pam_krb5/pam_krb5.c
391
krb5_get_init_creds_opt_free(pam_context, opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
753
krb5_get_init_creds_opt *opts;
lib/libpam/modules/pam_krb5/pam_krb5.c
786
krbret = krb5_get_init_creds_opt_alloc(pam_context, &opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
792
krb5_get_init_creds_opt_set_tkt_life(opts, 300);
lib/libpam/modules/pam_krb5/pam_krb5.c
793
krb5_get_init_creds_opt_set_forwardable(opts, FALSE);
lib/libpam/modules/pam_krb5/pam_krb5.c
794
krb5_get_init_creds_opt_set_proxiable(opts, FALSE);
lib/libpam/modules/pam_krb5/pam_krb5.c
827
pass, NULL, pamh, 0, "kadmin/changepw", opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
891
if (opts)
lib/libpam/modules/pam_krb5/pam_krb5.c
892
krb5_get_init_creds_opt_free(pam_context, opts);
lib/libperfuse/perfuse.c
61
char opts[1024];
lib/libperfuse/perfuse.c
91
if (getenv_r("PERFUSE_OPTIONS", opts, sizeof(opts)) != -1) {
lib/libperfuse/perfuse.c
95
for ((optname = strtok_r(opts, ",", &last));
lib/librefuse/fuse.h
334
fuse_new(int fd, const char *opts, const struct fuse_operations *op) {
lib/librefuse/fuse.h
335
return fuse_new_v21(fd, opts, op, _FUSE_OP_VERSION__, NULL);
lib/librefuse/fuse.h
354
fuse_new(int fd, const char *opts, const struct fuse_operations *op) {
lib/librefuse/fuse.h
355
return fuse_new_v21(fd, opts, op, _FUSE_OP_VERSION__, NULL);
lib/librefuse/fuse.h
383
fuse_new(int fd, const char *opts, const struct fuse_operations *op,
lib/librefuse/fuse.h
385
return fuse_new_v21(fd, opts, op, _FUSE_OP_VERSION__, NULL);
lib/librefuse/fuse_internal.h
66
struct fuse_cmdline_opts* opts);
lib/librefuse/fuse_internal.h
78
int __fuse_parse_cmdline(struct fuse_args *args, struct fuse_cmdline_opts *opts);
lib/librefuse/refuse.c
1029
struct fuse_cmdline_opts* opts)
lib/librefuse/refuse.c
1035
if (fuse_parse_cmdline_v30(&args, opts) != 0)
lib/librefuse/refuse.c
1038
if (opts->show_version) {
lib/librefuse/refuse.c
1043
if (opts->show_help) {
lib/librefuse/refuse.c
1044
switch (opts->show_help) {
lib/librefuse/refuse.c
1060
if (opts->mountpoint == NULL) {
lib/librefuse/refuse.c
1065
if (opts->debug) {
lib/librefuse/refuse.c
1074
if (fuse_daemonize(opts->foreground) != 0)
lib/librefuse/refuse.c
1077
if (fuse_mount_v30(fuse, opts->mountpoint) != 0)
lib/librefuse/refuse.c
1091
free(opts->mountpoint);
lib/librefuse/refuse.c
1111
struct fuse_cmdline_opts opts;
lib/librefuse/refuse.c
1115
fuse = __fuse_setup(argc, argv, op, op_version, user_data, &opts);
lib/librefuse/refuse.c
1123
free(opts.mountpoint);
lib/librefuse/refuse/v11.c
149
const char *opts = NULL;
lib/librefuse/refuse/v11.c
153
opts = "debug";
lib/librefuse/refuse/v11.c
155
return fuse_new_v21(fd, opts, op, op_version, NULL);
lib/librefuse/refuse/v21.c
44
fuse_mount_v21(const char *mountpoint, const char *opts) {
lib/librefuse/refuse/v21.c
48
if (opts) {
lib/librefuse/refuse/v21.c
52
if (fuse_opt_add_arg(&args, opts) != 0)
lib/librefuse/refuse/v21.c
64
fuse_new_v21(int fd, const char *opts, const void *op,
lib/librefuse/refuse/v21.c
81
if (opts) {
lib/librefuse/refuse/v21.c
86
if (fuse_opt_insert_arg(fuse_chan_args(chan), 2, opts) != 0) {
lib/librefuse/refuse/v21.h
75
int fuse_mount_v21(const char *mountpoint, const char *opts);
lib/librefuse/refuse/v21.h
79
struct fuse *fuse_new_v21(int fd, const char *opts, const void *op,
lib/librefuse/refuse/v25.c
61
struct fuse_cmdline_opts opts;
lib/librefuse/refuse/v25.c
63
if (fuse_parse_cmdline_v30(args, &opts) != 0)
lib/librefuse/refuse/v25.c
66
*mountpoint = opts.mountpoint; /* Transfer the ownership of the string. */
lib/librefuse/refuse/v25.c
67
*multithreaded = !opts.singlethread;
lib/librefuse/refuse/v25.c
68
*foreground = opts.foreground;
lib/librefuse/refuse/v26.c
100
fuse = __fuse_setup(argc, argv, op, op_version, user_data, &opts);
lib/librefuse/refuse/v26.c
104
*mountpoint = opts.mountpoint; /* Transfer the ownership of the string. */
lib/librefuse/refuse/v26.c
105
*multithreaded = !opts.singlethread;
lib/librefuse/refuse/v26.c
98
struct fuse_cmdline_opts opts;
lib/librefuse/refuse/v30.c
70
fuse_parse_cmdline_v30(struct fuse_args *args, struct fuse_cmdline_opts *opts) {
lib/librefuse/refuse/v30.c
71
return __fuse_parse_cmdline(args, opts);
lib/librefuse/refuse/v30.h
123
struct fuse_cmdline_opts *opts);
lib/librefuse/refuse_compat.c
137
fuse_parse_cmdline(struct fuse_args *args, struct fuse_cmdline_opts_rev0 *opts) {
lib/librefuse/refuse_compat.c
143
memcpy(opts, &tmp, sizeof(*opts));
lib/librefuse/refuse_compat.c
62
int fuse_parse_cmdline(struct fuse_args *args, struct fuse_cmdline_opts_rev0 *opts);
lib/librefuse/refuse_lowlevel.c
125
__fuse_parse_cmdline(struct fuse_args *args, struct fuse_cmdline_opts *opts)
lib/librefuse/refuse_lowlevel.c
127
memset(opts, 0, sizeof(*opts));
lib/librefuse/refuse_lowlevel.c
134
opts->singlethread = 1;
lib/librefuse/refuse_lowlevel.c
136
if (fuse_opt_parse(args, opts, fuse_lowlevel_opts,
lib/librefuse/refuse_lowlevel.c
140
if (!opts->nodefault_fsname) {
lib/librefuse/refuse_lowlevel.c
81
struct fuse_cmdline_opts *opts = data;
lib/librefuse/refuse_lowlevel.c
85
if (opts->mountpoint == NULL) {
lib/librefuse/refuse_lowlevel.c
86
return fuse_opt_add_opt(&opts->mountpoint, arg);
lib/librefuse/refuse_opt.c
143
static int add_opt(char **opts, const char *opt, bool escape)
lib/librefuse/refuse_opt.c
145
const size_t orig_len = *opts == NULL ? 0 : strlen(*opts);
lib/librefuse/refuse_opt.c
146
char* buf = realloc(*opts, orig_len + 1 + strlen(opt) * 2 + 1);
lib/librefuse/refuse_opt.c
151
*opts = buf;
lib/librefuse/refuse_opt.c
169
int fuse_opt_add_opt(char **opts, const char *opt)
lib/librefuse/refuse_opt.c
172
__func__, *opts, opt));
lib/librefuse/refuse_opt.c
173
return add_opt(opts, opt, false);
lib/librefuse/refuse_opt.c
176
int fuse_opt_add_opt_escaped(char **opts, const char *opt)
lib/librefuse/refuse_opt.c
179
__func__, *opts, opt));
lib/librefuse/refuse_opt.c
180
return add_opt(opts, opt, true);
lib/librefuse/refuse_opt.c
213
find_opt(const struct fuse_opt *opts, const char *opt, ssize_t *sep_idx)
lib/librefuse/refuse_opt.c
215
for (; opts != NULL && opts->templ != NULL; opts++) {
lib/librefuse/refuse_opt.c
216
if (match_templ(opts->templ, opt, sep_idx))
lib/librefuse/refuse_opt.c
217
return opts;
lib/librefuse/refuse_opt.c
227
fuse_opt_match(const struct fuse_opt *opts, const char *opt)
lib/librefuse/refuse_opt.c
229
return find_opt(opts, opt, NULL) != NULL ? 1 : 0;
lib/librefuse/refuse_opt.c
337
const struct fuse_opt *opts, fuse_opt_proc_t proc, bool is_opt)
lib/librefuse/refuse_opt.c
340
const struct fuse_opt *opt = find_opt(opts, arg, &sep_idx);
lib/librefuse/refuse_opt.c
394
const struct fuse_opt *opts, fuse_opt_proc_t proc)
lib/librefuse/refuse_opt.c
408
data, opts, proc, true) == -1) {
lib/librefuse/refuse_opt.c
427
if (parse_arg(args, argi, opt, outargs, data, opts, proc, true) == -1) {
lib/librefuse/refuse_opt.c
438
const struct fuse_opt *opts, fuse_opt_proc_t proc)
lib/librefuse/refuse_opt.c
466
data, opts, proc) == -1)
lib/librefuse/refuse_opt.c
474
data, opts, proc) == -1)
lib/librefuse/refuse_opt.c
487
data, opts, proc, false) == -1)
lib/librefuse/refuse_opt.c
503
const struct fuse_opt *opts, fuse_opt_proc_t proc)
lib/librefuse/refuse_opt.c
511
rv = parse_all(args, &outargs, data, opts, proc);
lib/libresolv/res_findzonecut.c
158
res_findzonecut(res_state statp, const char *dname, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
165
opts |= RES_IPV4ONLY;
lib/libresolv/res_findzonecut.c
166
opts &= ~RES_IPV6ONLY;
lib/libresolv/res_findzonecut.c
172
result = res_findzonecut2(statp, dname, class, opts, zname, zsize,
lib/libresolv/res_findzonecut.c
183
res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
201
if ((n = get_soa(statp, dname, class, opts, zname, zsize,
lib/libresolv/res_findzonecut.c
203
((opts & RES_EXHAUSTIVE) == 0 &&
lib/libresolv/res_findzonecut.c
208
if ((n = get_ns(statp, zname, class, opts, &nsrrs)) < 0 ||
lib/libresolv/res_findzonecut.c
209
((opts & RES_EXHAUSTIVE) == 0 &&
lib/libresolv/res_findzonecut.c
214
if ((n = get_glue(statp, class, opts, &nsrrs)) >= 0)
lib/libresolv/res_findzonecut.c
274
get_soa(res_state statp, const char *dname, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
383
zname, class, opts, nsrrsp) < 0) {
lib/libresolv/res_findzonecut.c
414
get_ns(res_state statp, const char *zname, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
435
if (save_ns(statp, &msg, ns_s_an, zname, class, opts, nsrrsp) < 0) {
lib/libresolv/res_findzonecut.c
447
get_glue(res_state statp, ns_class class, int opts, rrset_ns *nsrrsp) {
lib/libresolv/res_findzonecut.c
475
opts, nsrr) < 0) {
lib/libresolv/res_findzonecut.c
497
opts, nsrr) < 0) {
lib/libresolv/res_findzonecut.c
521
const char *owner, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
568
nsrr->name, class, opts, nsrr) < 0) {
lib/libresolv/res_findzonecut.c
579
const char *owner, ns_class class, int opts,
lib/libresolv/res_findzonecut.c
599
if ((opts & RES_IPV6ONLY) != 0 && ns_rr_type(rr) != ns_t_aaaa)
lib/libresolv/res_findzonecut.c
601
if ((opts & RES_IPV4ONLY) != 0 && ns_rr_type(rr) != ns_t_a)
lib/libutil/pidfile.c
254
int fd, opts;
lib/libutil/pidfile.c
256
opts = O_RDWR | O_CREAT | O_NONBLOCK;
lib/libutil/pidfile.c
258
opts |= O_CLOEXEC;
lib/libutil/pidfile.c
261
opts |= O_EXLOCK;
lib/libutil/pidfile.c
263
if ((fd = open(path, opts, 0644)) == -1)
lib/libutil/pidfile.c
267
if ((opts = fcntl(fd, F_GETFD)) == -1 ||
lib/libutil/pidfile.c
268
fcntl(fd, F_SETFD, opts | FD_CLOEXEC) == -1) {
libexec/ftpd/extern.h
141
void opts(const char *);
libexec/ftpd/ftpcmd.y
800
opts($3);
sbin/fsck/fsck.c
464
addentry(struct fstypelist *list, const char *type, const char *opts)
sbin/fsck/fsck.c
470
e->options = estrdup(opts);
sbin/fsck/fsck.c
515
mangle(char *opts, int *argcp, const char ** volatile *argvp, int *maxargcp)
sbin/fsck/fsck.c
525
for (s = opts; (p = strsep(&s, ",")) != NULL;) {
sbin/iscsictl/iscsic_daemonif.c
53
int opts, auths, tlen;
sbin/iscsictl/iscsic_daemonif.c
63
opts = cl_get_target_opts(&opt, argc, argv);
sbin/iscsictl/iscsic_daemonif.c
809
int opts, auths, tlen;
sbin/iscsictl/iscsic_daemonif.c
812
opts = cl_get_target_opts(&opt, argc, argv);
sbin/iscsictl/iscsic_daemonif.c
861
if (opts) {
sbin/iscsictl/iscsic_daemonif.c
93
if (opts) {
sbin/mount_cd9660/mount_cd9660.c
103
int ch, opts, set_gid, set_uid, set_mask, set_dirmask;
sbin/mount_cd9660/mount_cd9660.c
108
*mntflags = opts = set_gid = set_uid = set_mask = set_dirmask = 0;
sbin/mount_cd9660/mount_cd9660.c
115
opts |= ISOFSMNT_EXTATT;
sbin/mount_cd9660/mount_cd9660.c
120
opts |= ISOFSMNT_GENS;
sbin/mount_cd9660/mount_cd9660.c
123
opts |= ISOFSMNT_GID;
sbin/mount_cd9660/mount_cd9660.c
138
opts |= ISOFSMNT_NOJOLIET;
sbin/mount_cd9660/mount_cd9660.c
141
mp = getmntopts(optarg, mopts, mntflags, &opts);
sbin/mount_cd9660/mount_cd9660.c
149
opts |= ISOFSMNT_NORRIP;
sbin/mount_cd9660/mount_cd9660.c
152
opts |= ISOFSMNT_UID;
sbin/mount_cd9660/mount_cd9660.c
188
args->flags = opts;
sbin/mount_filecore/mount_filecore.c
121
int ch, mntflags, opts, useuid;
sbin/mount_filecore/mount_filecore.c
125
mntflags = opts = 0;
sbin/mount_filecore/mount_filecore.c
181
args.flags = opts;
sbin/mount_puffs/mount_puffs.c
117
static void add_opt(char **opts, const char *opt)
sbin/mount_puffs/mount_puffs.c
119
const size_t orig_len = *opts == NULL ? 0 : strlen(*opts);
sbin/mount_puffs/mount_puffs.c
121
*opts = erealloc(*opts, orig_len + 1 + strlen(opt) + 1);
sbin/mount_puffs/mount_puffs.c
124
strcpy(*opts, opt);
sbin/mount_puffs/mount_puffs.c
127
strcat(*opts, ",");
sbin/mount_puffs/mount_puffs.c
128
strcat(*opts, opt);
sbin/mount_puffs/mount_puffs.c
137
char *opts = NULL;
sbin/mount_puffs/mount_puffs.c
149
add_opt(&opts, opt);
sbin/mount_puffs/mount_puffs.c
177
rv = mount_puffs_filesystem(program, opts, source, argv[1]);
sbin/mount_puffs/mount_puffs.c
181
free(opts);
sbin/mount_puffs/mount_puffs.c
85
mount_puffs_filesystem(const char *program, const char *opts,
sbin/mount_puffs/mount_puffs.c
96
if (opts != NULL) {
sbin/mount_puffs/mount_puffs.c
98
argv[argc++] = opts;
sbin/newfs_msdos/newfs_msdos.c
103
while ((ch = getopt(argc, argv, opts)) != -1)
sbin/newfs_msdos/newfs_msdos.c
278
} opts[] = {
sbin/newfs_msdos/newfs_msdos.c
283
for (size_t i = 0; i < __arraycount(opts); i++)
sbin/newfs_msdos/newfs_msdos.c
284
fprintf(stderr, "\t-%c %s\n", opts[i].o, opts[i].h);
sbin/newfs_msdos/newfs_msdos.c
95
static const char opts[] = "@:NB:C:F:I:L:O:S:a:b:c:e:f:h:i:k:m:n:o:r:s:T:u:";
sbin/pppoectl/pppoectl.c
677
ISSET(ipcpst.opts, SPPP_IPCP_OPT_PRIMDNS),
sbin/pppoectl/pppoectl.c
678
ISSET(ipcpst.opts, SPPP_IPCP_OPT_SECDNS),
sbin/pppoectl/pppoectl.c
684
if (ISSET(ipv6cpst.opts, SPPP_IPV6CP_OPT_COMPRESSION))
sbin/pppoectl/pppoectl.c
686
if (ISSET(ipv6cpst.opts, SPPP_IPV6CP_OPT_IFID)) {
sbin/route/route.c
139
static const char opts[] = "dfLnqSsTtv";
sbin/route/route.c
148
"Usage: %s [-%s] cmd [[-<qualifiers>] args]\n", getprogname(), opts);
sbin/route/route.c
165
while ((ch = getopt(argc, argv, opts)) != -1)
sys/altq/altq_cbq.c
318
struct cbq_opts *opts;
sys/altq/altq_cbq.c
340
opts = &a->pq_u.cbq_opts;
sys/altq/altq_cbq.c
347
if (opts->flags & CBQCLF_BORROW)
sys/altq/altq_cbq.c
356
if (parent == NULL && (opts->flags & CBQCLF_ROOTCLASS) == 0) {
sys/altq/altq_cbq.c
369
if ((opts->flags & CBQCLF_ROOTCLASS) != 0) {
sys/altq/altq_cbq.c
375
if ((opts->flags & CBQCLF_DEFCLASS) != 0) {
sys/altq/altq_cbq.c
379
if ((opts->flags & CBQCLF_CLASSMASK) == 0) {
sys/altq/altq_cbq.c
388
if ((opts->flags & CBQCLF_ROOTCLASS) != 0) {
sys/altq/altq_cbq.c
390
NSEC_TO_PSEC(opts->ns_per_byte), cbqrestart, a->qlimit, RM_MAXQUEUED,
sys/altq/altq_cbq.c
391
opts->maxidle, opts->minidle, opts->offtime,
sys/altq/altq_cbq.c
392
opts->flags);
sys/altq/altq_cbq.c
398
&cbqp->ifnp, NSEC_TO_PSEC(opts->ns_per_byte),
sys/altq/altq_cbq.c
400
opts->maxidle, opts->minidle, opts->offtime,
sys/altq/altq_cbq.c
401
opts->pktsize, opts->flags);
sys/altq/altq_cbq.c
413
if ((opts->flags & CBQCLF_DEFCLASS) != 0)
sys/altq/altq_hfsc.c
245
struct hfsc_opts *opts;
sys/altq/altq_hfsc.c
251
opts = &a->pq_u.hfsc_opts;
sys/altq/altq_hfsc.c
265
rtsc.m1 = opts->rtsc_m1;
sys/altq/altq_hfsc.c
266
rtsc.d = opts->rtsc_d;
sys/altq/altq_hfsc.c
267
rtsc.m2 = opts->rtsc_m2;
sys/altq/altq_hfsc.c
268
lssc.m1 = opts->lssc_m1;
sys/altq/altq_hfsc.c
269
lssc.d = opts->lssc_d;
sys/altq/altq_hfsc.c
270
lssc.m2 = opts->lssc_m2;
sys/altq/altq_hfsc.c
271
ulsc.m1 = opts->ulsc_m1;
sys/altq/altq_hfsc.c
272
ulsc.d = opts->ulsc_d;
sys/altq/altq_hfsc.c
273
ulsc.m2 = opts->ulsc_m2;
sys/altq/altq_hfsc.c
276
parent, a->qlimit, opts->flags, a->qid);
sys/arch/arm/arm/bootconfig.c
151
get_bootconf_string(char *opts, const char *key)
sys/arch/arm/arm/bootconfig.c
156
if (!get_bootconf_option(opts, key, BOOTOPT_TYPE_STRING, &s))
sys/arch/arm/arm/bootconfig.c
171
match_bootconf_option(char *opts, const char *key, const char *val)
sys/arch/arm/arm/bootconfig.c
175
if (!get_bootconf_option(opts, key, BOOTOPT_TYPE_STRING, &s))
sys/arch/arm/arm/bootconfig.c
62
get_bootconf_option(char *opts, const char *opt, int type, void *result)
sys/arch/arm/arm/bootconfig.c
68
ptr = opts;
sys/arch/i386/stand/lib/parseutils.c
113
char *opts = NULL;
sys/arch/i386/stand/lib/parseutils.c
127
opts = arg;
sys/arch/i386/stand/lib/parseutils.c
132
opts = gettrailer(arg);
sys/arch/i386/stand/lib/parseutils.c
133
if (!*opts)
sys/arch/i386/stand/lib/parseutils.c
134
opts = NULL;
sys/arch/i386/stand/lib/parseutils.c
135
else if (*opts != '-') {
sys/arch/i386/stand/lib/parseutils.c
145
if (opts) {
sys/arch/i386/stand/lib/parseutils.c
146
if (parseopts(opts, howto) == 0)
sys/arch/i386/stand/lib/parseutils.c
77
parseopts(const char *opts, int *howto)
sys/arch/i386/stand/lib/parseutils.c
81
opts++; /* skip - */
sys/arch/i386/stand/lib/parseutils.c
82
while (*opts) {
sys/arch/i386/stand/lib/parseutils.c
84
BOOT_FLAG(*opts, r);
sys/arch/i386/stand/lib/parseutils.c
86
printf("-%c: unknown flag\n", *opts);
sys/arch/i386/stand/lib/parseutils.c
91
opts++;
sys/arch/i386/stand/lib/parseutils.c
92
if (*opts == ' ' || *opts == '\t') {
sys/arch/i386/stand/lib/parseutils.c
94
opts++; /* skip whitespace */
sys/arch/i386/stand/lib/parseutils.c
95
while (*opts == ' ' || *opts == '\t');
sys/arch/i386/stand/lib/parseutils.c
96
if (*opts == '-')
sys/arch/i386/stand/lib/parseutils.c
97
opts++; /* skip - */
sys/arch/i386/stand/lib/parseutils.c
98
else if (*opts != '\0') {
sys/arch/landisk/stand/boot/boot2.c
452
parseopts(const char *opts, int *howto)
sys/arch/landisk/stand/boot/boot2.c
456
opts++; /* skip - */
sys/arch/landisk/stand/boot/boot2.c
457
while (*opts && *opts != ' ') {
sys/arch/landisk/stand/boot/boot2.c
459
BOOT_FLAG(*opts, r);
sys/arch/landisk/stand/boot/boot2.c
461
printf("-%c: unknown flag\n", *opts);
sys/arch/landisk/stand/boot/boot2.c
466
opts++;
sys/arch/landisk/stand/boot/boot2.c
476
char *opts = NULL;
sys/arch/landisk/stand/boot/boot2.c
490
opts = arg;
sys/arch/landisk/stand/boot/boot2.c
495
opts = gettrailer(arg);
sys/arch/landisk/stand/boot/boot2.c
496
if (*opts == '\0') {
sys/arch/landisk/stand/boot/boot2.c
497
opts = NULL;
sys/arch/landisk/stand/boot/boot2.c
498
} else if (*opts != '-') {
sys/arch/landisk/stand/boot/boot2.c
508
if (opts) {
sys/arch/landisk/stand/boot/boot2.c
509
if (parseopts(opts, howto) == 0) {
sys/arch/landisk/stand/boot/boot2.c
87
static int parseopts(const char *opts, int *howto);
sys/arch/luna68k/stand/boot/boot.c
89
char *line, *opts;
sys/arch/luna68k/stand/boot/boot.c
97
opts = argv[i];
sys/arch/luna68k/stand/boot/boot.c
98
while ((c = *++opts) && c != '\0')
sys/arch/mips/mips/cache.c
1065
struct mips_options * const opts = &mips_options;
sys/arch/mips/mips/cache.c
1409
if (opts->mips_cpu->cpu_cp0flags & MIPS_CP0FL_CONFIG7) {
sys/arch/mips/mips/cache.c
1556
printf("MIPS32/64 params: cpu arch: %d\n", opts->mips_cpu_arch);
sys/arch/mips/mips/cache.c
1557
printf("MIPS32/64 params: TLB entries: %d\n", opts->mips_num_tlb_entries);
sys/arch/mips/mips/cache.c
1593
if (opts->mips_cpu_flags &
sys/arch/mips/mips/cache.c
1609
if (opts->mips_cpu_flags & CPU_MIPS_I_D_CACHE_COHERENT) {
sys/arch/mips/mips/mips_machdep.c
1165
struct mips_options * const opts = &mips_options;
sys/arch/mips/mips/mips_machdep.c
1167
const mips_prid_t cpu_id = opts->mips_cpu_id;
sys/arch/mips/mips/mips_machdep.c
1180
opts->mips_cpu = ct;
sys/arch/mips/mips/mips_machdep.c
1181
opts->mips_cpu_arch = ct->cpu_isa;
sys/arch/mips/mips/mips_machdep.c
1182
opts->mips_num_tlb_entries = ct->cpu_ntlb;
sys/arch/mips/mips/mips_machdep.c
1186
if (opts->mips_cpu == NULL)
sys/arch/mips/mips/mips_machdep.c
1196
if (opts->mips_cpu->cpu_cp0flags & MIPS_CP0FL_CONFIG4)
sys/arch/mips/mips/mips_machdep.c
1204
opts->mips_cpu_arch = CPU_ARCH_MIPS32;
sys/arch/mips/mips/mips_machdep.c
1207
opts->mips_cpu_arch = CPU_ARCH_MIPS64;
sys/arch/mips/mips/mips_machdep.c
1219
switch (opts->mips_cpu_arch) {
sys/arch/mips/mips/mips_machdep.c
1221
opts->mips_cpu_arch = CPU_ARCH_MIPS32R2;
sys/arch/mips/mips/mips_machdep.c
1224
opts->mips_cpu_arch = CPU_ARCH_MIPS64R2;
sys/arch/mips/mips/mips_machdep.c
1228
"unknown!\n", opts->mips_cpu_arch,
sys/arch/mips/mips/mips_machdep.c
1250
opts->mips_num_tlb_entries = MIPSNN_CFG1_MS(cfg1);
sys/arch/mips/mips/mips_machdep.c
1253
opts->mips_num_tlb_entries +=
sys/arch/mips/mips/mips_machdep.c
1268
if (opts->mips_cpu_arch < 1)
sys/arch/mips/mips/mips_machdep.c
1270
if (opts->mips_num_tlb_entries < 1)
sys/arch/mips/mips/mips_machdep.c
1276
opts->mips_cpu_flags = opts->mips_cpu->cpu_flags;
sys/arch/mips/mips/mips_machdep.c
1277
opts->mips_has_r4k_mmu = (opts->mips_cpu_flags & CPU_MIPS_R4K_MMU) != 0;
sys/arch/mips/mips/mips_machdep.c
1278
opts->mips_has_llsc = (opts->mips_cpu_flags & CPU_MIPS_NO_LLSC) == 0;
sys/arch/mips/mips/mips_machdep.c
1281
opts->mips3_pg_shift = MIPS3_4100_PG_SHIFT;
sys/arch/mips/mips/mips_machdep.c
1284
opts->mips3_pg_shift = MIPS3_DEFAULT_PG_SHIFT;
sys/arch/mips/mips/mips_machdep.c
1286
opts->mips3_cca_devmem = CCA_UNCACHED;
sys/arch/mips/mips/mips_machdep.c
1287
if (opts->mips_cpu_flags & CPU_MIPS_HAVE_SPECIAL_CCA) {
sys/arch/mips/mips/mips_machdep.c
1290
cca = (opts->mips_cpu_flags & CPU_MIPS_CACHED_CCA_MASK) >>
sys/arch/mips/mips/mips_machdep.c
1292
opts->mips3_pg_cached = MIPS3_CCA_TO_PG(cca);
sys/arch/mips/mips/mips_machdep.c
1294
opts->mips3_xkphys_cached = MIPS_PHYS_TO_XKPHYS(cca, 0);
sys/arch/mips/mips/mips_machdep.c
1297
opts->mips3_pg_cached = MIPS3_DEFAULT_PG_CACHED;
sys/arch/mips/mips/mips_machdep.c
1299
opts->mips3_xkphys_cached = MIPS3_DEFAULT_XKPHYS_CACHED;
sys/arch/mips/mips/mips_machdep.c
1341
switch (opts->mips_cpu_arch) {
sys/arch/mips/mips/mips_machdep.c
1361
if (opts->mips_cpu_flags & CPU_MIPS_LOONGSON2) {
sys/arch/mips/mips/mips_machdep.c
1366
opts->mips3_cca_devmem = CCA_ACCEL;
sys/arch/mips/mips/mips_machdep.c
1424
printf("cpu_arch 0x%x: not supported\n", opts->mips_cpu_arch);
sys/arch/mips/mips/mips_machdep.c
1440
if ((opts->mips_cpu_flags & CPU_MIPS_USE_WAIT) &&
sys/arch/mips/mips/mips_machdep.c
1441
!(opts->mips_cpu_flags & CPU_MIPS_NO_WAIT))
sys/arch/mips/mips/mips_machdep.c
1457
struct mips_options * const opts = &mips_options;
sys/arch/mips/mips/mips_machdep.c
1458
opts->mips3_tlb_pg_mask = mips3_cp0_tlb_page_mask_probe();
sys/arch/mips/mips/mips_machdep.c
1460
opts->mips3_tlb_vpn_mask = mips3_cp0_tlb_entry_hi_probe();
sys/arch/mips/mips/mips_machdep.c
1461
opts->mips3_tlb_vpn_mask |= PAGE_MASK;
sys/arch/mips/mips/mips_machdep.c
1462
opts->mips3_tlb_vpn_mask <<= 2;
sys/arch/mips/mips/mips_machdep.c
1463
opts->mips3_tlb_vpn_mask >>= 2;
sys/arch/mips/mips/mips_machdep.c
1464
opts->mips3_tlb_pfn_mask = mips3_cp0_tlb_entry_lo_probe();
sys/arch/mips/mips/mips_machdep.c
1472
if (mips_vm_maxuser_address > opts->mips3_tlb_vpn_mask + 1)
sys/arch/mips/mips/mips_machdep.c
1473
mips_vm_maxuser_address = opts->mips3_tlb_vpn_mask + 1;
sys/arch/mips/mips/mips_machdep.c
1506
const struct mips_options * const opts = &mips_options;
sys/arch/mips/mips/mips_machdep.c
1508
const mips_prid_t cpu_id = opts->mips_cpu_id;
sys/arch/mips/mips/mips_machdep.c
1509
const mips_prid_t fpu_id = opts->mips_fpu_id;
sys/arch/mips/mips/mips_machdep.c
1517
cpuname = opts->mips_cpu->cpu_name;
sys/arch/mips/mips/mips_machdep.c
1557
if (opts->mips_cpu->cpu_cid != 0) {
sys/arch/mips/mips/mips_machdep.c
1558
if (opts->mips_cpu->cpu_cid <= ncidnames)
sys/arch/mips/mips/mips_machdep.c
1559
aprint_normal("%s ", cidnames[opts->mips_cpu->cpu_cid]);
sys/arch/mips/mips/mips_machdep.c
1560
else if (opts->mips_cpu->cpu_cid == MIPS_PRID_CID_INGENIC) {
sys/arch/mips/mips/mips_machdep.c
1564
opts->mips_cpu->cpu_cid);
sys/arch/mips/mips/mips_machdep.c
1582
if (opts->mips_fpu_id != 0) {
sys/arch/mips/mips/mips_machdep.c
1589
if (opts->mips_cpu_flags & MIPS_HAS_DSP) {
sys/arch/mips/mips/mips_machdep.c
1602
switch (opts->mips_cpu_arch) {
sys/arch/mips/mips/mips_machdep.c
1610
opts->mips_num_tlb_entries);
sys/arch/mips/mips/mips_machdep.c
1613
opts->mips_num_tlb_entries);
sys/arch/mips/mips/mips_machdep.c
1632
opts->mips_num_tlb_entries);
sys/arch/mips/mips/mips_machdep.c
1636
i = ffs(~(opts->mips3_tlb_vpn_mask >> 31)) + 30;
sys/arch/mips/mips/mips_machdep.c
1639
for (i = 64, pfn_mask = opts->mips3_tlb_pfn_mask << 6;
sys/arch/mips/mips/mips_machdep.c
1646
for (i = 4, pg_mask = opts->mips3_tlb_pg_mask >> 13;
sys/arch/mips/mips/mips_machdep.c
1671
((opts->mips_cpu_flags & CPU_MIPS_D_CACHE_COHERENT)
sys/arch/mips/mips/pmap_machdep.c
675
struct mips_options * const opts = &mips_options;
sys/arch/mips/mips/pmap_machdep.c
676
if (opts->mips_cpu_flags & CPU_MIPS_I_D_CACHE_COHERENT)
sys/arch/sparc/sparc/machdep.c
814
char opts[4];
sys/arch/sparc/sparc/machdep.c
890
opts[i++] = 's';
sys/arch/sparc/sparc/machdep.c
892
opts[i++] = 'd';
sys/arch/sparc/sparc/machdep.c
893
opts[i] = '\0';
sys/arch/sparc/sparc/machdep.c
894
opts[0] = (i > 1) ? '-' : '\0';
sys/arch/sparc/sparc/machdep.c
898
if (i > sizeof(str) - sizeof(opts) - 1)
sys/arch/sparc/sparc/machdep.c
901
if (opts[0] != '\0')
sys/arch/sparc/sparc/machdep.c
904
strcat(str, opts);
sys/arch/x68k/stand/libsa/parseutils.c
111
opts = arg;
sys/arch/x68k/stand/libsa/parseutils.c
116
opts = gettrailer(arg);
sys/arch/x68k/stand/libsa/parseutils.c
117
if (!*opts) {
sys/arch/x68k/stand/libsa/parseutils.c
118
opts = NULL;
sys/arch/x68k/stand/libsa/parseutils.c
119
} else if (*opts != '-') {
sys/arch/x68k/stand/libsa/parseutils.c
128
if (opts) {
sys/arch/x68k/stand/libsa/parseutils.c
129
if (parseopts(opts, howto) == 0)
sys/arch/x68k/stand/libsa/parseutils.c
74
parseopts(const char *opts, int *howto)
sys/arch/x68k/stand/libsa/parseutils.c
78
opts++; /* skip - */
sys/arch/x68k/stand/libsa/parseutils.c
79
while (*opts && *opts != ' ') {
sys/arch/x68k/stand/libsa/parseutils.c
81
BOOT_FLAG(*opts, r);
sys/arch/x68k/stand/libsa/parseutils.c
83
printf("-%c: unknown flag\n", *opts);
sys/arch/x68k/stand/libsa/parseutils.c
87
opts++;
sys/arch/x68k/stand/libsa/parseutils.c
97
char *opts = NULL;
sys/arch/zaurus/stand/zboot/boot.c
295
static int parseopts(const char *opts, int *howto);
sys/arch/zaurus/stand/zboot/boot.c
455
parseopts(const char *opts, int *howto)
sys/arch/zaurus/stand/zboot/boot.c
459
opts++; /* skip - */
sys/arch/zaurus/stand/zboot/boot.c
460
while (*opts && *opts != ' ') {
sys/arch/zaurus/stand/zboot/boot.c
462
BOOT_FLAG(*opts, r);
sys/arch/zaurus/stand/zboot/boot.c
464
printf("-%c: unknown flag\n", *opts);
sys/arch/zaurus/stand/zboot/boot.c
469
opts++;
sys/arch/zaurus/stand/zboot/boot.c
479
char *opts = NULL;
sys/arch/zaurus/stand/zboot/boot.c
493
opts = arg;
sys/arch/zaurus/stand/zboot/boot.c
498
opts = gettrailer(arg);
sys/arch/zaurus/stand/zboot/boot.c
499
if (opts == NULL || *opts == '\0') {
sys/arch/zaurus/stand/zboot/boot.c
500
opts = NULL;
sys/arch/zaurus/stand/zboot/boot.c
501
} else if (*opts != '-') {
sys/arch/zaurus/stand/zboot/boot.c
511
if (opts) {
sys/arch/zaurus/stand/zboot/boot.c
512
if (parseopts(opts, howto) == 0) {
sys/arch/zaurus/zaurus/machdep.c
1176
char *opts = NULL;
sys/arch/zaurus/zaurus/machdep.c
1190
opts = arg;
sys/arch/zaurus/zaurus/machdep.c
1195
opts = gettrailer(arg);
sys/arch/zaurus/zaurus/machdep.c
1196
if (opts == NULL || *opts == '\0') {
sys/arch/zaurus/zaurus/machdep.c
1197
opts = NULL;
sys/arch/zaurus/zaurus/machdep.c
1198
} else if (*opts != '-') {
sys/arch/zaurus/zaurus/machdep.c
1207
if (opts) {
sys/arch/zaurus/zaurus/machdep.c
1208
if (parseopts(opts, howto) == 0) {
sys/arch/zaurus/zaurus/machdep.c
1234
parseopts(const char *opts, int *howto)
sys/arch/zaurus/zaurus/machdep.c
1238
opts++; /* skip - */
sys/arch/zaurus/zaurus/machdep.c
1239
while (*opts && *opts != ' ') {
sys/arch/zaurus/zaurus/machdep.c
1241
BOOT_FLAG(*opts, r);
sys/arch/zaurus/zaurus/machdep.c
1243
printf("-%c: unknown flag\n", *opts);
sys/arch/zaurus/zaurus/machdep.c
1247
opts++;
sys/arch/zaurus/zaurus/machdep.c
263
static int parseopts(const char *opts, int *howto);
sys/dev/ic/aac.c
425
u_int32_t major, minor, opts, atusize = 0, status = 0;
sys/dev/ic/aac.c
452
opts = AAC_GET_MAILBOX(sc, 1);
sys/dev/ic/aac.c
454
sc->sc_supported_options = opts;
sys/dev/ic/aac.c
456
if (((opts & AAC_SUPPORTED_4GB_WINDOW) != 0) &&
sys/dev/ic/aac.c
460
if (((opts & AAC_SUPPORTED_SGMAP_HOST64) != 0) &&
sys/dev/ic/aac.c
465
if ((opts & AAC_SUPPORTED_NEW_COMM) &&
sys/dev/ic/aac.c
469
if (opts & AAC_SUPPORTED_64BIT_ARRAYSIZE)
sys/dev/ic/gem.c
1903
uint16_t *opts;
sys/dev/ic/gem.c
1908
opts = (uint16_t *) ((char *) ip +
sys/dev/ic/gem.c
1912
optsum += ntohs(*opts++);
sys/dev/ic/hme.c
750
uint16_t *opts;
sys/dev/ic/hme.c
824
opts = (uint16_t *)((char *)eh +
sys/dev/ic/hme.c
828
optsum += ntohs(*opts++);
sys/dist/pf/net/pf.c
1588
u_int8_t opts[MAX_TCPOPTLEN], *opt = opts;
sys/dist/pf/net/pf.c
1598
!pf_pull_hdr(m, off + sizeof(*th), opts, hlen, NULL, NULL, pd->af))
sys/dist/pf/net/pf.c
1645
m_copyback(m, off + sizeof(*th), thoptlen, opts);
sys/dist/pf/net/pf.c
2259
if (*sn == NULL && r->rpool.opts & PF_POOL_STICKYADDR &&
sys/dist/pf/net/pf.c
2260
(r->rpool.opts & PF_POOL_TYPEMASK) != PF_POOL_NONE) {
sys/dist/pf/net/pf.c
2264
r->rpool.opts & PF_POOL_STICKYADDR)
sys/dist/pf/net/pf.c
2290
(rpool->opts & PF_POOL_TYPEMASK) !=
sys/dist/pf/net/pf.c
2300
(rpool->opts & PF_POOL_TYPEMASK) !=
sys/dist/pf/net/pf.c
2309
if ((rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_ROUNDROBIN)
sys/dist/pf/net/pf.c
2316
switch (rpool->opts & PF_POOL_TYPEMASK) {
sys/dist/pf/net/pf.c
2421
(rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE) {
sys/dist/pf/net/pf.c
2504
switch (r->rpool.opts & PF_POOL_TYPEMASK) {
sys/dist/pf/net/pf.c
2722
if ((r->rpool.opts & PF_POOL_TYPEMASK) ==
sys/dist/pf/net/pf.c
3494
r->rpool.opts & PF_POOL_STICKYADDR) &&
sys/dist/pf/net/pf.c
3500
if (nr != NULL && (nr->rpool.opts & PF_POOL_STICKYADDR) &&
sys/dist/pf/net/pf.c
786
rule->rpool.opts & PF_POOL_STICKYADDR)
sys/dist/pf/net/pf.c
809
rule->rpool.opts & PF_POOL_STICKYADDR)
sys/dist/pf/net/pfvar.h
404
u_int8_t opts;
sys/fs/nfs/client/nfs_clvfsops.c
752
nfs_mount_parse_from(struct vfsoptlist *opts, char **hostnamep,
sys/fs/nfs/client/nfs_clvfsops.c
761
error = vfs_getopt(opts, "from", (void **)&spec, &speclen);
sys/fs/nfs/common/nfs_diskless.c
107
char *opts, *o, *otmp;
sys/fs/nfs/common/nfs_diskless.c
110
opts = strdup(envopts, M_TEMP);
sys/fs/nfs/common/nfs_diskless.c
111
otmp = opts;
sys/fs/nfs/common/nfs_diskless.c
150
free(opts, M_TEMP);
sys/net/if_sppp.h
212
u_long opts;
sys/net/if_sppp.h
222
u_long opts;
sys/net/if_sppp.h
231
u_long opts;
sys/net/if_spppsubr.c
1398
SET(sp->lcp.opts, SPPP_LCP_OPT_MRU);
sys/net/if_spppsubr.c
2496
SET(sp->lcp.opts, SPPP_LCP_OPT_MAGIC);
sys/net/if_spppsubr.c
2580
SET(sp->lcp.opts, SPPP_LCP_OPT_MRU);
sys/net/if_spppsubr.c
2590
SET(sp->lcp.opts, SPPP_LCP_OPT_AUTH_PROTO);
sys/net/if_spppsubr.c
2592
CLR(sp->lcp.opts, SPPP_LCP_OPT_AUTH_PROTO);
sys/net/if_spppsubr.c
3005
CLR(sp->lcp.opts, SPPP_LCP_OPT_MAGIC);
sys/net/if_spppsubr.c
3021
CLR(sp->lcp.opts, SPPP_LCP_OPT_MRU);
sys/net/if_spppsubr.c
3034
CLR(sp->lcp.opts, SPPP_LCP_OPT_AUTH_PROTO);
sys/net/if_spppsubr.c
3092
if (ISSET(sp->lcp.opts, SPPP_LCP_OPT_MAGIC) &&
sys/net/if_spppsubr.c
3125
SET(sp->lcp.opts, SPPP_LCP_OPT_MRU);
sys/net/if_spppsubr.c
3177
if (ISSET(sp->lcp.opts, SPPP_LCP_OPT_AUTH_PROTO) ||
sys/net/if_spppsubr.c
3299
if (ISSET(sp->lcp.opts, SPPP_LCP_OPT_MAGIC)) {
sys/net/if_spppsubr.c
3310
if (ISSET(sp->lcp.opts,SPPP_LCP_OPT_MRU)) {
sys/net/if_spppsubr.c
3317
if (ISSET(sp->lcp.opts, SPPP_LCP_OPT_AUTH_PROTO)) {
sys/net/if_spppsubr.c
3413
sp->ipcp.opts = 0;
sys/net/if_spppsubr.c
3456
SET(sp->ipcp.opts, SPPP_IPCP_OPT_ADDRESS);
sys/net/if_spppsubr.c
3468
SET(sp->ipcp.opts, SPPP_IPCP_OPT_PRIMDNS);
sys/net/if_spppsubr.c
3470
CLR(sp->ipcp.opts, SPPP_IPCP_OPT_PRIMDNS);
sys/net/if_spppsubr.c
3474
SET(sp->ipcp.opts, SPPP_IPCP_OPT_SECDNS);
sys/net/if_spppsubr.c
3476
CLR(sp->ipcp.opts, SPPP_IPCP_OPT_SECDNS);
sys/net/if_spppsubr.c
3788
CLR(sp->ipcp.opts, SPPP_IPCP_OPT_ADDRESS);
sys/net/if_spppsubr.c
3792
CLR(sp->ipcp.opts, SPPP_IPCP_OPT_COMPRESS);
sys/net/if_spppsubr.c
3796
CLR(sp->ipcp.opts, SPPP_IPCP_OPT_PRIMDNS);
sys/net/if_spppsubr.c
3800
CLR(sp->ipcp.opts, SPPP_IPCP_OPT_SECDNS);
sys/net/if_spppsubr.c
3858
SET(sp->ipcp.opts, SPPP_IPCP_OPT_ADDRESS);
sys/net/if_spppsubr.c
3888
if (ISSET(sp->ipcp.opts, SPPP_IPCP_OPT_PRIMDNS) &&
sys/net/if_spppsubr.c
3896
if (ISSET(sp->ipcp.opts, SPPP_IPCP_OPT_SECDNS) &&
sys/net/if_spppsubr.c
3979
if (ISSET(sp->ipcp.opts,SPPP_IPCP_OPT_COMPRESSION)) {
sys/net/if_spppsubr.c
3990
if (ISSET(sp->ipcp.opts, SPPP_IPCP_OPT_ADDRESS)) {
sys/net/if_spppsubr.c
4005
if (ISSET(sp->ipcp.opts, SPPP_IPCP_OPT_PRIMDNS)) {
sys/net/if_spppsubr.c
4013
if (ISSET(sp->ipcp.opts, SPPP_IPCP_OPT_SECDNS)) {
sys/net/if_spppsubr.c
4043
sp->ipv6cp.opts = 0;
sys/net/if_spppsubr.c
4078
SET(sp->ipv6cp.opts, SPPP_IPV6CP_OPT_IFID);
sys/net/if_spppsubr.c
4363
CLR(sp->ipv6cp.opts, SPPP_IPV6CP_OPT_IFID);
sys/net/if_spppsubr.c
4367
CLR(sp->ipv6cp.opts, SPPP_IPV6CP_OPT_COMPRESS);
sys/net/if_spppsubr.c
4434
SET(sp->ipv6cp.opts, SPPP_IPV6CP_OPT_IFID);
sys/net/if_spppsubr.c
4517
if (ISSET(sp->ipv6cp.opts, SPPP_IPV6CP_OPT_IFID)) {
sys/net/if_spppsubr.c
4527
if (ISSET(sp->ipv6cp.opts, SPPP_IPV6CP_OPT_COMPRESSION)) {
sys/net/if_spppsubr.c
5375
ISSET(sp->lcp.opts, SPPP_LCP_OPT_AUTH_PROTO))
sys/net/if_spppsubr.c
6030
SET(sp->lcp.opts, SPPP_LCP_OPT_AUTH_PROTO);
sys/net/if_spppsubr.c
6032
CLR(sp->lcp.opts, SPPP_LCP_OPT_AUTH_PROTO);
sys/net/if_spppsubr.c
6190
status->opts = sp->lcp.opts;
sys/net/if_spppsubr.c
6204
status->opts = sp->ipcp.opts;
sys/net/if_spppvar.h
46
u_long opts; /* LCP options to send (bitfield) */
sys/net/if_spppvar.h
67
u_long opts; /* IPCP options to send (bitfield) */
sys/net/ppp-comp.h
209
#define MPPE_OPTS_TO_CI(opts, ci) \
sys/net/ppp-comp.h
214
if (opts & MPPE_OPT_STATEFUL) \
sys/net/ppp-comp.h
223
if (opts & MPPE_OPT_128) \
sys/net/ppp-comp.h
225
if (opts & MPPE_OPT_40) \
sys/net/ppp-comp.h
231
#define MPPE_CI_TO_OPTS(ci, opts) \
sys/net/ppp-comp.h
235
opts = 0; \
sys/net/ppp-comp.h
239
opts |= MPPE_OPT_STATEFUL; \
sys/net/ppp-comp.h
243
opts |= MPPE_OPT_128; \
sys/net/ppp-comp.h
245
opts |= MPPE_OPT_40; \
sys/net/ppp-comp.h
249
opts |= MPPE_OPT_56; \
sys/net/ppp-comp.h
251
opts |= MPPE_OPT_D; \
sys/net/ppp-comp.h
253
opts |= MPPE_OPT_MPPC; \
sys/net/ppp-comp.h
257
opts |= MPPE_OPT_UNKNOWN; \
sys/net/ppp-comp.h
259
opts |= MPPE_OPT_UNKNOWN; \
sys/net/ppp-comp.h
261
opts |= MPPE_OPT_UNKNOWN; \
sys/netinet/dccp_usrreq.c
199
struct mbuf *opts = 0;
sys/netinet/dccp_usrreq.c
886
m_freem(opts);
sys/netinet/dccp_usrreq.c
896
m_freem(opts);
sys/netinet/dccp_usrreq.c
907
m_freem(opts);
sys/netinet/ip_icmp.c
714
struct mbuf *opts = NULL;
sys/netinet/ip_icmp.c
863
if ((opts = ip_srcroute(m)) == NULL &&
sys/netinet/ip_icmp.c
864
(MGETHDR(opts, M_DONTWAIT, MT_HEADER))) {
sys/netinet/ip_icmp.c
865
MCLAIM(opts, m->m_owner);
sys/netinet/ip_icmp.c
866
opts->m_len = sizeof(struct in_addr);
sys/netinet/ip_icmp.c
867
*mtod(opts, struct in_addr *) = zeroin_addr;
sys/netinet/ip_icmp.c
870
if (opts) {
sys/netinet/ip_icmp.c
887
KASSERT(opts->m_len + len <= MHLEN);
sys/netinet/ip_icmp.c
891
memmove(mtod(opts, char *) +
sys/netinet/ip_icmp.c
892
opts->m_len, cp, len);
sys/netinet/ip_icmp.c
893
opts->m_len += len;
sys/netinet/ip_icmp.c
898
if ((cnt = opts->m_len % 4) != 0) {
sys/netinet/ip_icmp.c
900
*(mtod(opts, char *) + opts->m_len) =
sys/netinet/ip_icmp.c
902
opts->m_len++;
sys/netinet/ip_icmp.c
929
icmp_send(m, opts);
sys/netinet/ip_icmp.c
932
if (opts)
sys/netinet/ip_icmp.c
933
(void)m_free(opts);
sys/netinet/ip_icmp.c
941
icmp_send(struct mbuf *m, struct mbuf *opts)
sys/netinet/ip_icmp.c
956
(void)ip_output(m, opts, NULL, 0, NULL, NULL);
sys/netinet/raw_ip.c
142
struct mbuf *opts = NULL;
sys/netinet/raw_ip.c
148
ip_savecontrol(last, &opts, ip, n);
sys/netinet/raw_ip.c
149
if (sbappendaddr(&last->inp_socket->so_rcv, sa, n, opts) == 0) {
sys/netinet/raw_ip.c
152
m_freem(opts);
sys/netinet/raw_ip.c
299
struct mbuf *opts;
sys/netinet/raw_ip.c
341
opts = inp->inp_options;
sys/netinet/raw_ip.c
379
opts = NULL;
sys/netinet/raw_ip.c
391
return ip_output(m, opts, &inp->inp_route, flags, pktopts.ippo_imo,
sys/netinet/sctp_input.c
4055
struct mbuf *opts = 0;
sys/netinet/sctp_input.c
4246
ip_savecontrol((struct inpcb *)inp, &opts, ip, m);
sys/netinet/sctp_input.c
4260
sctp_m_freem(opts);
sys/netinet/sctp_input.c
4283
sctp_m_freem(opts);
sys/netinet/tcp_output.c
1579
struct mbuf *opts;
sys/netinet/tcp_output.c
1582
opts = tp->t_inpcb->inp_options;
sys/netinet/tcp_output.c
1584
opts = NULL;
sys/netinet/tcp_output.c
1585
error = ip_output(m, opts, ro,
sys/netinet/tcp_output.c
1593
struct ip6_pktopts *opts;
sys/netinet/tcp_output.c
1596
opts = in6p_outputopts(tp->t_inpcb);
sys/netinet/tcp_output.c
1598
opts = NULL;
sys/netinet/tcp_output.c
1599
error = ip6_output(m, opts, ro, so->so_options & SO_DONTROUTE,
sys/netinet/udp_usrreq.c
444
struct mbuf *opts = NULL;
sys/netinet/udp_usrreq.c
466
ip_savecontrol(inp, &opts, ip, n);
sys/netinet/udp_usrreq.c
470
if (sbappendaddr(&so->so_rcv, src, n, opts) == 0) {
sys/netinet/udp_usrreq.c
472
m_freem(opts);
sys/netinet6/icmp6.c
1947
struct mbuf *n, *opts = NULL;
sys/netinet6/icmp6.c
1992
ip6_savecontrol(last, &opts, ip6, n);
sys/netinet6/icmp6.c
1996
sin6tosa(&rip6src), n, opts) == 0) {
sys/netinet6/icmp6.c
1999
m_freem(opts);
sys/netinet6/icmp6.c
2003
opts = NULL;
sys/netinet6/icmp6.c
2019
ip6_savecontrol(last, &opts, ip6, m);
sys/netinet6/icmp6.c
2023
sin6tosa(&rip6src), m, opts) == 0) {
sys/netinet6/icmp6.c
2026
m_freem(opts);
sys/netinet6/in6_src.c
182
const struct ifnet *ifp, const struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
368
if (opts == NULL ||
sys/netinet6/in6_src.c
369
opts->ip6po_prefer_tempaddr == IP6PO_TEMPADDR_SYSTEM) {
sys/netinet6/in6_src.c
371
} else if (opts->ip6po_prefer_tempaddr ==
sys/netinet6/in6_src.c
465
in6_selectsrc(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
497
iferror = in6_selectif(dstsock, opts, mopts, ro, &ifp, PSREF);
sys/netinet6/in6_src.c
507
if (opts && (pi = opts->ip6po_pktinfo) &&
sys/netinet6/in6_src.c
578
if (opts != NULL &&
sys/netinet6/in6_src.c
579
(opts->ip6po_flags & IP6PO_USECOA) != 0) {
sys/netinet6/in6_src.c
590
ia = in6_select_best_ia(dstsock, &dst, ifp, opts, odstzone);
sys/netinet6/in6_src.c
608
in6_selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
642
if (opts && opts->ip6po_nexthop) {
sys/netinet6/in6_src.c
646
sin6_next = satosin6(opts->ip6po_nexthop);
sys/netinet6/in6_src.c
659
ron = &opts->ip6po_nextroute;
sys/netinet6/in6_src.c
706
if (opts && opts->ip6po_pktinfo && opts->ip6po_pktinfo->ipi6_ifindex) {
sys/netinet6/in6_src.c
708
rt->rt_ifp->if_index != opts->ip6po_pktinfo->ipi6_ifindex) {
sys/netinet6/in6_src.c
725
in6_selectif(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
739
if (opts && (pi = opts->ip6po_pktinfo) != NULL && pi->ipi6_ifindex) {
sys/netinet6/in6_src.c
758
error = in6_selectroute(dstsock, opts, &ro, &rt, false);
sys/netinet6/raw_ip6.c
141
struct mbuf *opts = NULL;
sys/netinet6/raw_ip6.c
145
ip6_savecontrol(last, &opts, ip6, n);
sys/netinet6/raw_ip6.c
149
if (sbappendaddr(&last->inp_socket->so_rcv, sa, n, opts) == 0) {
sys/netinet6/raw_ip6.c
152
m_freem(opts);
sys/netinet6/sctp6_usrreq.c
122
struct mbuf *opts = NULL;
sys/netinet6/sctp6_usrreq.c
258
ip6_savecontrol(in6p_ip, &opts, ip6, m);
sys/netinet6/sctp6_usrreq.c
260
ip6_savecontrol(in6p_ip, m, &opts);
sys/netinet6/sctp6_usrreq.c
262
ip6_savecontrol(in6p_ip, m, &opts, NULL);
sys/netinet6/sctp6_usrreq.c
265
ip6_savecontrol(in6p_ip, &opts, ip6, m);
sys/netinet6/sctp6_usrreq.c
267
ip6_savecontrol(in6p_ip, m, &opts);
sys/netinet6/sctp6_usrreq.c
284
m_freem(opts);
sys/netinet6/sctp6_usrreq.c
307
m_freem(opts);
sys/netinet6/udp6_usrreq.c
379
struct mbuf *opts = NULL;
sys/netinet6/udp6_usrreq.c
401
ip6_savecontrol(inp, &opts, ip6, n);
sys/netinet6/udp6_usrreq.c
405
if (sbappendaddr(&so->so_rcv, src, n, opts) == 0) {
sys/netinet6/udp6_usrreq.c
407
m_freem(opts);
tests/lib/libc/regex/main.c
244
try(char *f0, char *f1, char *f2, char *f3, char *f4, int opts)
tests/lib/libc/regex/main.c
255
const char *type = (opts & REG_EXTENDED) ? "ERE" : "BRE";
tests/lib/libc/regex/main.c
263
re.re_endp = (opts®_PEND) ? f0copy + strlen(f0copy) : NULL;
tests/lib/libc/regex/main.c
266
err = regcomp(&re, f0copy, opts);
tests/lib/libc/regex/main.c
313
} else if (opts®_NOSUB) {
tests/lib/libc/stdio/h_intr.c
138
if ((buf = malloc(opts.bsize)) == NULL) {
tests/lib/libc/stdio/h_intr.c
143
if ((abuf = malloc(opts.asize)) == NULL) {
tests/lib/libc/stdio/h_intr.c
153
if ((ofp = popen(opts.cmd, "w")) == NULL) {
tests/lib/libc/stdio/h_intr.c
154
warn("popen failed `%s'", opts.cmd);
tests/lib/libc/stdio/h_intr.c
158
setvbuf(ofp, NULL, opts.btype, opts.asize);
tests/lib/libc/stdio/h_intr.c
159
setvbuf(ifp, NULL, opts.btype, opts.asize);
tests/lib/libc/stdio/h_intr.c
161
alarm_fn(opts.tmout);
tests/lib/libc/stdio/h_intr.c
163
while ((n = rd_fn(ifp, buf, opts.bsize)) > 0) {
tests/lib/libc/stdio/h_intr.c
166
if (opts.rndbuf || opts.rndmod) {
tests/lib/libc/stdio/h_intr.c
169
rndmode(), r ? opts.asize : 0);
tests/lib/libc/stdio/h_intr.c
180
if (opts.flush)
tests/lib/libc/stdio/h_intr.c
193
warn("command failed `%s'", opts.cmd);
tests/lib/libc/stdio/h_intr.c
320
if (opts.rndbuf == 0)
tests/lib/libc/stdio/h_intr.c
328
if (opts.rndmod == 0)
tests/lib/libc/stdio/h_intr.c
329
return opts.btype;
tests/lib/libc/stdio/h_intr.c
436
fprintf(fp, " -a SIZE Alt. stdio buffer size (%zu)\n", opts.asize);
tests/lib/libc/stdio/h_intr.c
437
fprintf(fp, " -b SIZE Program buffer size (%zu)\n", opts.bsize);
tests/lib/libc/stdio/h_intr.c
440
fprintf(fp, " -p TYPE Buffering type (%s)\n", btype2str(opts.btype));
tests/lib/libc/stdio/h_intr.c
442
opts.tmout);
tests/lib/libc/stdio/h_intr.c
462
opts.cmd = "";
tests/lib/libc/stdio/h_intr.c
463
opts.btype = _IONBF;
tests/lib/libc/stdio/h_intr.c
464
opts.asize = BSIZE; /* 16K */
tests/lib/libc/stdio/h_intr.c
465
opts.bsize = BSIZE; /* 16K */
tests/lib/libc/stdio/h_intr.c
466
opts.tmout = DEF_MS; /* 100ms */
tests/lib/libc/stdio/h_intr.c
467
opts.flush = 0; /* no fflush() after each write */
tests/lib/libc/stdio/h_intr.c
468
opts.rndbuf = 0; /* no random buffer switching */
tests/lib/libc/stdio/h_intr.c
469
opts.rndmod = 0; /* no random mode " */
tests/lib/libc/stdio/h_intr.c
483
opts.asize = i;
tests/lib/libc/stdio/h_intr.c
491
opts.bsize = i;
tests/lib/libc/stdio/h_intr.c
494
opts.cmd = optarg;
tests/lib/libc/stdio/h_intr.c
497
opts.flush = 1;
tests/lib/libc/stdio/h_intr.c
503
opts.rndmod = 1;
tests/lib/libc/stdio/h_intr.c
513
opts.btype = i;
tests/lib/libc/stdio/h_intr.c
522
opts.rndbuf = 1;
tests/lib/libc/stdio/h_intr.c
529
opts.tmout = i;
tests/lib/libc/stdio/h_intr.c
540
if (!isvalid(opts.cmd))
tests/lib/libc/stdio/h_intr.c
64
} opts;
usr.bin/config/main.c
1070
mkoptvar(struct dlhash *ht, struct defoptlist *opts)
usr.bin/config/main.c
1074
for (dl = opts; dl != NULL; dl = dl->dl_next) {
usr.bin/config/main.c
1093
defoption(const char *fname, struct defoptlist *opts, struct nvlist *deps)
usr.bin/config/main.c
1097
defopt(defopttab, fname, opts, deps, 0);
usr.bin/config/main.c
1105
defparam(const char *fname, struct defoptlist *opts, struct nvlist *deps, int obs)
usr.bin/config/main.c
1108
defopt(defparamtab, fname, opts, deps, obs);
usr.bin/config/main.c
1116
defflag(const char *fname, struct defoptlist *opts, struct nvlist *deps, int obs)
usr.bin/config/main.c
1119
defopt(defflagtab, fname, opts, deps, obs);
usr.bin/config/main.c
1127
mkflagvar(struct defoptlist *opts)
usr.bin/config/main.c
1130
mkoptvar(defflagtab, opts);
usr.bin/config/main.c
212
struct defoptlist *opts, struct nvlist *deps, int obs);
usr.bin/config/main.c
979
defopt(struct dlhash *ht, const char *fname, struct defoptlist *opts,
usr.bin/config/main.c
994
for (dl = opts; dl != NULL; dl = nextdl) {
usr.bin/ftp/cmdtab.c
266
{ "remopts", H(optshelp), 0, 1, 1, CMPL0 opts },
usr.bin/ftp/extern.h
163
void opts(int, char **);
usr.bin/id/id.c
129
if (strcmp(opts, "") != 0 && argc > 1)
usr.bin/id/id.c
72
const char *opts;
usr.bin/id/id.c
79
opts = "";
usr.bin/id/id.c
85
opts = "";
usr.bin/id/id.c
89
opts = "Ggnpru";
usr.bin/id/id.c
91
while ((ch = getopt(argc, argv, opts)) != -1)
usr.bin/make/compat.c
113
if (!opts.noExecute && unlink_file(file) == 0)
usr.bin/make/compat.c
406
if (opts.keepgoing) {
usr.bin/make/compat.c
504
if (opts.randomizeTargets) {
usr.bin/make/compat.c
564
if (opts.query && gn != Targ_GetEndNode())
usr.bin/make/compat.c
577
if (opts.ignoreErrors)
usr.bin/make/compat.c
579
if (opts.silent)
usr.bin/make/compat.c
583
if (!opts.touch || (gn->type & OP_MAKE)) {
usr.bin/make/compat.c
617
} else if (opts.keepgoing) {
usr.bin/make/compat.c
743
if (!opts.query)
usr.bin/make/cond.c
281
for (ln = opts.create.first; ln != NULL; ln = ln->next) {
usr.bin/make/job.c
1352
if (job_errors > 0 && !opts.keepgoing && aborting != ABORT_INTERRUPT) {
usr.bin/make/job.c
1507
if (opts.keepgoing) {
usr.bin/make/job.c
1748
job->ignerr = opts.ignoreErrors || gn->type & OP_IGNORE;
usr.bin/make/job.c
1749
job->echo = !(opts.silent || gn->type & OP_SILENT);
usr.bin/make/job.c
1767
} else if (((gn->type & OP_MAKE) && !opts.noRecursiveExecute) ||
usr.bin/make/job.c
1768
(!opts.noExecute && !opts.touch)) {
usr.bin/make/job.c
1835
if (!opts.silent)
usr.bin/make/job.c
1905
if (!opts.silent)
usr.bin/make/job.c
2163
job_table = bmake_malloc((size_t)opts.maxJobs * sizeof *job_table);
usr.bin/make/job.c
2164
memset(job_table, 0, (size_t)opts.maxJobs * sizeof *job_table);
usr.bin/make/job.c
2165
job_table_end = job_table + opts.maxJobs;
usr.bin/make/job.c
2194
size_t nfds = (npseudojobs + (size_t)opts.maxJobs) *
usr.bin/make/job.c
2477
if (runINTERRUPT && !opts.touch) {
usr.bin/make/job.c
2480
opts.ignoreErrors = false;
usr.bin/make/job.c
2712
if (aborting != ABORT_NONE || jobTokensRunning >= opts.maxJobs)
usr.bin/make/job.c
529
if (opts.maxJobs != 1 && targPrefix != NULL && targPrefix[0] != '\0')
usr.bin/make/job.c
602
if (opts.noExecute)
usr.bin/make/main.c
1081
opts.compatMake = false;
usr.bin/make/main.c
1082
memset(&opts.debug, 0, sizeof(opts.debug));
usr.bin/make/main.c
1084
opts.strict = false;
usr.bin/make/main.c
1085
opts.debugVflag = false;
usr.bin/make/main.c
1086
opts.checkEnvFirst = false;
usr.bin/make/main.c
1087
Lst_Init(&opts.makefiles);
usr.bin/make/main.c
1088
opts.ignoreErrors = false; /* Pay attention to non-zero returns */
usr.bin/make/main.c
1089
opts.maxJobs = 1;
usr.bin/make/main.c
1090
opts.keepgoing = false; /* Stop on error */
usr.bin/make/main.c
1091
opts.noRecursiveExecute = false; /* Execute all .MAKE targets */
usr.bin/make/main.c
1092
opts.noExecute = false; /* Execute all commands */
usr.bin/make/main.c
1093
opts.query = false;
usr.bin/make/main.c
1094
opts.noBuiltins = false; /* Read the built-in rules */
usr.bin/make/main.c
1095
opts.silent = false; /* Print commands as executed */
usr.bin/make/main.c
1096
opts.touch = false;
usr.bin/make/main.c
1097
opts.printVars = PVM_NONE;
usr.bin/make/main.c
1098
Lst_Init(&opts.variables);
usr.bin/make/main.c
1099
opts.parseWarnFatal = false;
usr.bin/make/main.c
1100
opts.enterFlag = false;
usr.bin/make/main.c
1101
opts.varNoExportEnv = false;
usr.bin/make/main.c
1102
Lst_Init(&opts.create);
usr.bin/make/main.c
1202
if (bogusJflag && !opts.compatMake) {
usr.bin/make/main.c
1203
opts.compatMake = true;
usr.bin/make/main.c
121
CmdOpts opts;
usr.bin/make/main.c
1210
if (forceJobs || opts.compatMake ||
usr.bin/make/main.c
1225
if (n != opts.maxJobs) {
usr.bin/make/main.c
1230
opts.maxJobs = n;
usr.bin/make/main.c
1231
maxJobTokens = opts.maxJobs;
usr.bin/make/main.c
1318
opts.debug_file = stderr;
usr.bin/make/main.c
1374
maxJobTokens = opts.maxJobs;
usr.bin/make/main.c
1441
if (opts.enterFlag)
usr.bin/make/main.c
1483
if (!opts.noBuiltins)
usr.bin/make/main.c
1487
if (!Lst_IsEmpty(&opts.makefiles))
usr.bin/make/main.c
1488
ReadAllMakefiles(&opts.makefiles);
usr.bin/make/main.c
1498
if (!opts.noBuiltins || opts.printVars == PVM_NONE) {
usr.bin/make/main.c
1522
if (!opts.compatMake && !forceJobs)
usr.bin/make/main.c
1523
opts.compatMake = true;
usr.bin/make/main.c
1525
if (!opts.compatMake)
usr.bin/make/main.c
1528
tokenPoolReader, tokenPoolWriter, opts.maxJobs, maxJobTokens,
usr.bin/make/main.c
1529
opts.compatMake ? 1 : 0);
usr.bin/make/main.c
1531
if (opts.printVars == PVM_NONE)
usr.bin/make/main.c
1559
if (opts.printVars != PVM_NONE) {
usr.bin/make/main.c
1571
Lst_DoneFree(&opts.variables);
usr.bin/make/main.c
1572
Lst_DoneFree(&opts.makefiles);
usr.bin/make/main.c
1573
Lst_DoneFree(&opts.create);
usr.bin/make/main.c
1583
if (opts.enterFlag)
usr.bin/make/main.c
1609
if ((opts.strict && main_errors > 0) || parseErrors > 0)
usr.bin/make/main.c
1854
f = opts.debug_file;
usr.bin/make/main.c
199
if (opts.debug_file != stdout && opts.debug_file != stderr)
usr.bin/make/main.c
200
fclose(opts.debug_file);
usr.bin/make/main.c
209
opts.debug_file = stdout;
usr.bin/make/main.c
2095
ln = opts.create.first;
usr.bin/make/main.c
213
opts.debug_file = stderr;
usr.bin/make/main.c
225
opts.debug_file = fopen(fname, mode);
usr.bin/make/main.c
226
if (opts.debug_file == NULL) {
usr.bin/make/main.c
237
DebugFlags debug = opts.debug;
usr.bin/make/main.c
284
opts.strict = true;
usr.bin/make/main.c
308
opts.debugVflag = true;
usr.bin/make/main.c
328
opts.debug = debug;
usr.bin/make/main.c
330
setvbuf(opts.debug_file, NULL, _IONBF, 0);
usr.bin/make/main.c
331
if (opts.debug_file != stdout)
usr.bin/make/main.c
409
opts.maxJobs = (int)strtol(arg, &end, 0);
usr.bin/make/main.c
416
d = opts.maxJobs > 0 ? opts.maxJobs : 1;
usr.bin/make/main.c
424
opts.maxJobs = (int)sysconf(_SC_NPROCESSORS_ONLN);
usr.bin/make/main.c
425
opts.maxJobs = (int)(d * (double)opts.maxJobs);
usr.bin/make/main.c
429
if (*p != '\0' || opts.maxJobs < 1) {
usr.bin/make/main.c
436
snprintf(v, sizeof(v), "%d", opts.maxJobs);
usr.bin/make/main.c
440
maxJobTokens = opts.maxJobs;
usr.bin/make/main.c
465
opts.compatMake = true;
usr.bin/make/main.c
488
opts.noExecute = true;
usr.bin/make/main.c
489
opts.noRecursiveExecute = true;
usr.bin/make/main.c
493
opts.keepgoing = false;
usr.bin/make/main.c
503
opts.printVars = c == 'v' ? PVM_EXPANDED : PVM_UNEXPANDED;
usr.bin/make/main.c
504
Lst_Append(&opts.variables, bmake_strdup(argvalue));
usr.bin/make/main.c
510
opts.parseWarnFatal = true;
usr.bin/make/main.c
514
opts.varNoExportEnv = true;
usr.bin/make/main.c
528
opts.checkEnvFirst = true;
usr.bin/make/main.c
532
Lst_Append(&opts.makefiles, bmake_strdup(argvalue));
usr.bin/make/main.c
535
opts.ignoreErrors = true;
usr.bin/make/main.c
542
opts.keepgoing = true;
usr.bin/make/main.c
550
opts.noExecute = true;
usr.bin/make/main.c
554
opts.query = true;
usr.bin/make/main.c
559
opts.noBuiltins = true;
usr.bin/make/main.c
563
opts.silent = true;
usr.bin/make/main.c
567
opts.touch = true;
usr.bin/make/main.c
571
opts.enterFlag = true;
usr.bin/make/main.c
669
Lst_Append(&opts.create, bmake_strdup(argv[1]));
usr.bin/make/main.c
759
if (opts.enterFlag && strcmp(objdir, curdir) != 0)
usr.bin/make/main.c
820
opts.compatMake = true;
usr.bin/make/main.c
828
opts.randomizeTargets = true;
usr.bin/make/main.c
884
if (opts.printVars == PVM_EXPANDED)
usr.bin/make/main.c
886
else if (opts.debugVflag)
usr.bin/make/main.c
892
for (ln = opts.variables.first; ln != NULL; ln = ln->next)
usr.bin/make/main.c
902
if (Lst_IsEmpty(&opts.create))
usr.bin/make/main.c
905
Targ_FindList(&targets, &opts.create);
usr.bin/make/main.c
907
if (!opts.compatMake) {
usr.bin/make/main.c
908
if (!opts.query) {
usr.bin/make/main.c
932
if (Lst_IsEmpty(&opts.create)) {
usr.bin/make/main.c
937
for (ln = opts.create.first; ln != NULL; ln = ln->next) {
usr.bin/make/make.c
1062
if (opts.query)
usr.bin/make/make.c
1101
if (DEBUG(MAKE) && opts.debug_file != stdout) {
usr.bin/make/make.c
1104
GNode_FprintDetails(opts.debug_file, "(", ogn, ")\n");
usr.bin/make/make.c
1150
if (DEBUG(MAKE) && opts.debug_file != stdout) {
usr.bin/make/make.c
1153
GNode_FprintDetails(opts.debug_file, " (", gn,
usr.bin/make/make.c
1163
if (DEBUG(MAKE) && opts.debug_file != stdout)
usr.bin/make/make.c
129
vfprintf(opts.debug_file, fmt, ap);
usr.bin/make/make.c
1398
if (opts.query)
usr.bin/make/make.c
215
? opts.noRecursiveExecute
usr.bin/make/make.c
216
: opts.noExecute);
usr.bin/make/make.c
715
GNode_FprintDetails(opts.debug_file, "", pgn, "");
usr.bin/make/make.c
954
GNode_FprintDetails(opts.debug_file, "", cn, "\n");
usr.bin/make/make.c
972
if (opts.randomizeTargets && !(cn->type & OP_WAIT))
usr.bin/make/make.h
668
#define DEBUG(module) (opts.debug.CONCAT(DEBUG_, module))
usr.bin/make/make.h
797
extern CmdOpts opts;
usr.bin/make/meta.c
140
if (!opts.compatMake)
usr.bin/make/parse.c
1006
if (!Lst_IsEmpty(&opts.create))
usr.bin/make/parse.c
1039
opts.maxJobs = 1;
usr.bin/make/parse.c
1042
opts.compatMake = true;
usr.bin/make/parse.c
1353
opts.ignoreErrors = true;
usr.bin/make/parse.c
1356
opts.silent = true;
usr.bin/make/parse.c
1854
if (opts.strict) {
usr.bin/make/parse.c
590
if (level == PARSE_WARNING && opts.parseWarnFatal) {
usr.bin/make/parse.c
614
if (opts.debug_file != stdout && opts.debug_file != stderr) {
usr.bin/make/parse.c
616
ParseVErrorInternal(opts.debug_file, false, gn,
usr.bin/make/parse.c
640
if (opts.debug_file != stdout && opts.debug_file != stderr) {
usr.bin/make/parse.c
642
ParseVErrorInternal(opts.debug_file, true, NULL,
usr.bin/make/parse.c
842
Lst_Append(&opts.create, bmake_strdup(src));
usr.bin/make/targ.c
470
GNode_FprintDetails(opts.debug_file, ", ", gn, "\n");
usr.bin/make/var.c
1127
if (!opts.varNoExportEnv && name[0] != '.')
usr.bin/make/var.c
1609
if (opts.strict)
usr.bin/make/var.c
4115
} else if (opts.strict && *p != '\0' && *p != ch->endc) {
usr.bin/make/var.c
4312
if (!opts.strict)
usr.bin/make/var.c
4364
if ((opts.strict || emode == VARE_EVAL_DEFINED_LOUD)
usr.bin/make/var.c
4409
|| (emode == VARE_EVAL_DEFINED && opts.strict)) {
usr.bin/make/var.c
510
if (!opts.checkEnvFirst && var == NULL && scope != SCOPE_GLOBAL) {
usr.bin/make/var.c
525
if (opts.checkEnvFirst && scope != SCOPE_GLOBAL) {
usr.bin/menuc/parse.y
115
opts ";" expaction dispact option_list exitact helpstr
usr.bin/menuc/parse.y
128
opts : /* empty */
usr.bin/passwd/passwd.c
116
char opts[16];
usr.bin/passwd/passwd.c
120
opts[i++] = 'd';
usr.bin/passwd/passwd.c
121
opts[i++] = ':';
usr.bin/passwd/passwd.c
124
opts[i++] = pwm->compat_opt;
usr.bin/passwd/passwd.c
126
opts[i++] = '\0';
usr.bin/passwd/passwd.c
149
ch = getopt(argc, argv, opts);
usr.bin/rdist/docmd.c
134
int volatile opts;
usr.bin/rdist/docmd.c
138
opts = options;
usr.bin/rdist/docmd.c
180
opts = sc->sc_options;
usr.bin/rdist/docmd.c
198
if ((opts & IGNLNKS) || ihead->count == 0)
usr.bin/rdist/server.c
1001
opts = 0;
usr.bin/rdist/server.c
1003
opts = (opts << 3) | (*cp++ - '0');
usr.bin/rdist/server.c
1144
rmchk(int opts)
usr.bin/rdist/server.c
1155
(void) snprintf(buf, sizeof(buf), "C%o\n", opts & VERIFY);
usr.bin/rdist/server.c
1232
int len, opts;
usr.bin/rdist/server.c
1234
opts = 0;
usr.bin/rdist/server.c
1236
opts = (opts << 3) | (*cp++ - '0');
usr.bin/rdist/server.c
1278
if (opts & VERIFY) {
usr.bin/rdist/server.c
210
opts = 0;
usr.bin/rdist/server.c
212
opts = (opts << 3) | (*cp++ - '0');
usr.bin/rdist/server.c
217
install(cp, opts);
usr.bin/rdist/server.c
247
install(char *src, char *dest, int destdir, int opts)
usr.bin/rdist/server.c
253
opts &= ~WHOLE; /* WHOLE mode only useful if renaming */
usr.bin/rdist/server.c
255
} else if (!(opts & WHOLE)) {
usr.bin/rdist/server.c
265
printf("%s%s%s%s%s %s %s\n", opts & VERIFY ? "verify":"install",
usr.bin/rdist/server.c
266
opts & WHOLE ? " -w" : "",
usr.bin/rdist/server.c
267
opts & YOUNGER ? " -y" : "",
usr.bin/rdist/server.c
268
opts & COMPARE ? " -b" : "",
usr.bin/rdist/server.c
269
opts & REMOVE ? " -R" : "", src, dest);
usr.bin/rdist/server.c
291
if (opts & WHOLE) {
usr.bin/rdist/server.c
318
sendf(rname, opts);
usr.bin/rdist/server.c
330
sendf(char *rname, int opts)
usr.bin/rdist/server.c
343
printf("sendf(%s, %x)\n", rname, opts);
usr.bin/rdist/server.c
347
if ((opts & FOLLOW ? stat(target, &stb) : lstat(target, &stb)) < 0) {
usr.bin/rdist/server.c
351
if ((u = update(rname, opts, &stb)) == 0) {
usr.bin/rdist/server.c
374
if (opts & VERIFY) {
usr.bin/rdist/server.c
379
opts &= ~(COMPARE|REMOVE);
usr.bin/rdist/server.c
389
opts, stb.st_mode & 07777, protoname(), protogroup(),
usr.bin/rdist/server.c
402
if (opts & REMOVE)
usr.bin/rdist/server.c
403
rmchk(opts);
usr.bin/rdist/server.c
422
sendf(dp->d_name, opts);
usr.bin/rdist/server.c
435
opts |= COMPARE;
usr.bin/rdist/server.c
443
"k%o %s %s\n", opts, lp->pathname, rname);
usr.bin/rdist/server.c
446
"k%o %s/%s %s\n", opts, lp->target,
usr.bin/rdist/server.c
458
opts, stb.st_mode & 07777, (unsigned long long)stb.st_size,
usr.bin/rdist/server.c
484
if (opts & VERIFY) {
usr.bin/rdist/server.c
497
(void) snprintf(buf, sizeof(buf), "k%o %s %s\n", opts,
usr.bin/rdist/server.c
501
opts, lp->target, lp->pathname, rname);
usr.bin/rdist/server.c
516
(void)snprintf(buf, sizeof(buf), "R%o %o %lld %lu %s %s %s\n", opts,
usr.bin/rdist/server.c
545
if (f < 0 || (f == 0 && (opts & COMPARE)))
usr.bin/rdist/server.c
554
if (opts & VERIFY)
usr.bin/rdist/server.c
609
update(char *rname, int opts, struct stat *st)
usr.bin/rdist/server.c
616
printf("update(%s, %lx, %lx)\n", rname, (long)opts, (long)st);
usr.bin/rdist/server.c
667
if (opts & COMPARE)
usr.bin/rdist/server.c
687
if (opts & YOUNGER) {
usr.bin/rdist/server.c
752
int f = -1, opts = 0, wrerr;
usr.bin/rdist/server.c
762
opts = (opts << 3) | (*cp++ - '0');
usr.bin/rdist/server.c
818
if (opts & VERIFY) {
usr.bin/rdist/server.c
884
if (opts & COMPARE) {
usr.bin/rdist/server.c
893
if (opts & VERIFY)
usr.bin/rdist/server.c
937
if (opts & COMPARE) {
usr.bin/rdist/server.c
956
if (opts & VERIFY) {
usr.bin/rdist/server.c
980
if (opts & COMPARE) {
usr.bin/rdist/server.c
998
int opts, exists = 0;
usr.bin/rump_dhcpclient/dhcp.c
415
const char *ifname, int *opts)
usr.bin/rump_dhcpclient/dhcp.c
430
if (routes && !(*opts & DHCPCD_CSR_WARNED)) {
usr.bin/rump_dhcpclient/dhcp.c
431
*opts |= DHCPCD_CSR_WARNED;
usr.bin/sort/init.c
247
options_need_argument(const char *arg, const char *opts)
usr.bin/sort/init.c
256
s = strchr(opts, arg[pos]);
usr.bin/sort/init.c
285
fixit(int *argc, char **argv, const char *opts)
usr.bin/sort/init.c
317
if (options_need_argument(argv[i], opts)) {
usr.sbin/makefs/chfs/chfs_mkfs.c
120
chfs_opt_t *opts;
usr.sbin/makefs/chfs/chfs_mkfs.c
124
opts = fsopts->fs_specific;
usr.sbin/makefs/chfs/chfs_mkfs.c
128
if ((uint32_t)opts->pagesize < MINSIZE)
usr.sbin/makefs/chfs/chfs_mkfs.c
130
buf = emalloc(opts->pagesize);
usr.sbin/makefs/chfs/chfs_mkfs.c
139
opts->pagesize - CHFS_EB_EC_HDR_SIZE);
usr.sbin/makefs/chfs/chfs_mkfs.c
141
buf_write(fsopts, buf, opts->pagesize);
usr.sbin/makefs/chfs/chfs_mkfs.c
143
memset(buf, 0xFF, opts->pagesize);
usr.sbin/makefs/chfs/chfs_mkfs.c
145
if (opts->mediatype == TYPE_NAND) {
usr.sbin/makefs/chfs/chfs_mkfs.c
160
buf_write(fsopts, buf, opts->pagesize);
usr.sbin/makefs/chfs/chfs_mkfs.c
234
chfs_opt_t *opts;
usr.sbin/makefs/chfs/chfs_mkfs.c
238
opts = fsopts->fs_specific;
usr.sbin/makefs/chfs/chfs_mkfs.c
239
buf = emalloc(opts->pagesize);
usr.sbin/makefs/chfs/chfs_mkfs.c
249
while ((len = read(fd, buf, opts->pagesize))) {
usr.sbin/makefs/makefs.h
221
#define FSNODE_EXCLUDE_P(opts, fsnode) \
usr.sbin/makefs/makefs.h
222
((opts)->onlyspec != 0 && ((fsnode)->flags & FSNODE_F_HASSPEC) == 0)
usr.sbin/mountd/mountd.c
288
rumpfopen(const char *path, const char *opts)
usr.sbin/mountd/mountd.c
292
__sflags(opts, &oflags);
usr.sbin/npf/npfctl/npf_bpf_comp.c
514
bm_invert_checkpoint(npf_bpf_t *ctx, const unsigned opts, uint32_t layer)
usr.sbin/npf/npfctl/npf_bpf_comp.c
521
if ((opts & MATCH_SRC) != 0 && (seen & MATCH_SRC) == 0) {
usr.sbin/npf/npfctl/npf_bpf_comp.c
524
if ((opts & MATCH_DST) != 0 && (seen & MATCH_DST) == 0) {
usr.sbin/npf/npfctl/npf_bpf_comp.c
527
ctx->invflags |= opts & (MATCH_SRC | MATCH_DST);
usr.sbin/npf/npfctl/npf_bpf_comp.c
568
npfctl_bpf_cidr(npf_bpf_t *ctx, unsigned opts, sa_family_t af,
usr.sbin/npf/npfctl/npf_bpf_comp.c
574
assert(((opts & MATCH_SRC) != 0) ^ ((opts & MATCH_DST) != 0));
usr.sbin/npf/npfctl/npf_bpf_comp.c
580
off = (opts & MATCH_SRC) ?
usr.sbin/npf/npfctl/npf_bpf_comp.c
587
off = (opts & MATCH_SRC) ?
usr.sbin/npf/npfctl/npf_bpf_comp.c
677
(opts & MATCH_SRC) ? BM_SRC_CIDR: BM_DST_CIDR, 6,
usr.sbin/npf/npfctl/npf_bpf_comp.c
680
bm_invert_checkpoint(ctx, opts, NPF_RULE_LAYER_3);
usr.sbin/npf/npfctl/npf_bpf_comp.c
689
npfctl_bpf_ether(npf_bpf_t *ctx, unsigned opts, struct ether_addr *ether_addr)
usr.sbin/npf/npfctl/npf_bpf_comp.c
694
assert(((opts & MATCH_SRC) != 0) ^ ((opts & MATCH_DST) != 0));
usr.sbin/npf/npfctl/npf_bpf_comp.c
696
off = (opts & MATCH_SRC) ? offsetof(struct ether_header, ether_shost) :
usr.sbin/npf/npfctl/npf_bpf_comp.c
722
(opts & MATCH_SRC) ? BM_SRC_ETHER: BM_DST_ETHER, 2,
usr.sbin/npf/npfctl/npf_bpf_comp.c
726
bm_invert_checkpoint(ctx, opts, NPF_RULE_LAYER_2);
usr.sbin/npf/npfctl/npf_bpf_comp.c
736
npfctl_bpf_ports(npf_bpf_t *ctx, unsigned opts, in_port_t from, in_port_t to)
usr.sbin/npf/npfctl/npf_bpf_comp.c
747
assert(((opts & MATCH_SRC) != 0) ^ ((opts & MATCH_DST) != 0));
usr.sbin/npf/npfctl/npf_bpf_comp.c
748
off = (opts & MATCH_SRC) ? sport_off : dport_off;
usr.sbin/npf/npfctl/npf_bpf_comp.c
780
(opts & MATCH_SRC) ? BM_SRC_PORTS : BM_DST_PORTS, 2, from, to
usr.sbin/npf/npfctl/npf_bpf_comp.c
887
npfctl_bpf_table(npf_bpf_t *ctx, unsigned opts, unsigned tid)
usr.sbin/npf/npfctl/npf_bpf_comp.c
889
const bool src = (opts & MATCH_SRC) != 0;
usr.sbin/npf/npfctl/npf_bpf_comp.c
899
bm_invert_checkpoint(ctx, opts, NPF_RULE_LAYER_3);
usr.sbin/npf/npfctl/npf_build.c
277
fam_addr_mask_t *fam, unsigned opts)
usr.sbin/npf/npfctl/npf_build.c
308
npfctl_bpf_cidr(ctx, opts, family, &fam->fam_addr, fam->fam_mask);
usr.sbin/npf/npfctl/npf_build.c
313
build_vars(npf_bpf_t *ctx, sa_family_t family, npfvar_t *vars, int opts)
usr.sbin/npf/npfctl/npf_build.c
329
build_vars(ctx, family, rvp, opts);
usr.sbin/npf/npfctl/npf_build.c
334
npfctl_build_fam(ctx, family, fam, opts);
usr.sbin/npf/npfctl/npf_build.c
339
npfctl_bpf_ports(ctx, opts, pr->pr_start, pr->pr_end);
usr.sbin/npf/npfctl/npf_build.c
345
npfctl_bpf_table(ctx, opts, tid);
usr.sbin/npf/npfctl/npf_build.c
350
npfctl_bpf_ether(ctx, opts, eth);
usr.sbin/npf/npfctl/npf_build.c
360
npfctl_build_vars(npf_bpf_t *ctx, sa_family_t family, npfvar_t *vars, int opts)
usr.sbin/npf/npfctl/npf_build.c
362
npfctl_bpf_group_enter(ctx, (opts & MATCH_INVERT) != 0);
usr.sbin/npf/npfctl/npf_build.c
363
build_vars(ctx, family, vars, opts);
usr.sbin/npf/npfctl/npf_build.c
470
unsigned opts;
usr.sbin/npf/npfctl/npf_build.c
514
opts = MATCH_SRC | (fopts->fo_finvert ? MATCH_INVERT : 0);
usr.sbin/npf/npfctl/npf_build.c
515
npfctl_build_vars(bc, family, apfrom->ap_netaddr, opts);
usr.sbin/npf/npfctl/npf_build.c
516
opts = MATCH_DST | (fopts->fo_tinvert ? MATCH_INVERT : 0);
usr.sbin/npf/npfctl/npf_build.c
517
npfctl_build_vars(bc, family, apto->ap_netaddr, opts);
usr.sbin/npf/npfctl/npf_build.c
539
unsigned opts;
usr.sbin/npf/npfctl/npf_build.c
554
opts = MATCH_DST | (fopts->fo_tinvert ? MATCH_INVERT : 0);
usr.sbin/npf/npfctl/npf_build.c
555
npfctl_build_vars(bc, 0, ap_to, opts);
usr.sbin/npf/npfctl/npf_build.c
556
opts = MATCH_SRC | (fopts->fo_finvert ? MATCH_INVERT : 0);
usr.sbin/npf/npfctl/npf_build.c
557
npfctl_build_vars(bc, 0, ap_from, opts);
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
236
run_ps630(char *f, char *opts)
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
247
opts[2], opts[3], temp_file);
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
248
(void) strlcat(commbuf, mapfont(opts[4], opts[5], opts[6]),
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
251
(void) strlcat(commbuf, mapfont(opts[7], opts[8], opts[9]),
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
206
pr_start2(char *sys, char *pr, char *user, char *fname, char *opts, char **id)
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
308
if (*opts == 'd') {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
317
(void) run_ps630(new_pathname, opts);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
253
a.opts = "xxxx";
usr.sbin/rpc.pcnfsd/pcnfsd_v1.c
141
ps_arg->file, ps_arg->opts, &dummyptr);
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
186
arg->file, arg->opts, &res.id);
usr.sbin/sysinst/bsddisklabel.c
359
menu->opts = m;
usr.sbin/sysinst/bsddisklabel.c
420
menu->opts = men;
usr.sbin/sysinst/configmenu.c
549
int opts;
usr.sbin/sysinst/configmenu.c
567
opts = init_config_menu(config_list, me, ce);
usr.sbin/sysinst/configmenu.c
574
menu_no = new_menu(NULL, me, opts, 0, -4, 0, 70,
usr.sbin/sysinst/disks.c
1283
opts[200], opt[30];
usr.sbin/sysinst/disks.c
1347
opts[0] = 0;
usr.sbin/sysinst/disks.c
1351
snprintf(opts, sizeof opts, "-i %u",
usr.sbin/sysinst/disks.c
1353
asprintf(&newfs, "/sbin/newfs %s", opts);
usr.sbin/sysinst/disks.c
1359
snprintf(opts, sizeof opts, "-i %u ",
usr.sbin/sysinst/disks.c
1364
strcat(opts, opt);
usr.sbin/sysinst/disks.c
1369
strcat(opts, opt);
usr.sbin/sysinst/disks.c
1380
ffs_fmt, opts);
usr.sbin/sysinst/disks.c
1389
snprintf(opts, sizeof opts, "-b %u",
usr.sbin/sysinst/disks.c
1391
asprintf(&newfs, "/sbin/newfs_lfs %s", opts);
usr.sbin/sysinst/label.c
1037
memmove(menu->opts+edit.index,
usr.sbin/sysinst/label.c
1038
menu->opts+edit.index+1,
usr.sbin/sysinst/label.c
1039
sizeof(*menu->opts)*(menu->numopts-edit.index));
usr.sbin/sysinst/label.c
1058
memmove(menu->opts+edit.index,
usr.sbin/sysinst/label.c
1059
menu->opts+edit.index+1,
usr.sbin/sysinst/label.c
1060
sizeof(*menu->opts)*(menu->numopts-edit.index-1));
usr.sbin/sysinst/label.c
1089
if (m->opts[i].opt_action == NULL &&
usr.sbin/sysinst/label.c
1090
m->opts[i].opt_menu != MENU_mountoptions)
usr.sbin/sysinst/label.c
1094
m->opts[i].opt_flags |= OPT_IGNORE;
usr.sbin/sysinst/label.c
1096
(m->opts[i].opt_action == edit_fs_preserve ||
usr.sbin/sysinst/label.c
1097
m->opts[i].opt_action == edit_fs_mount ||
usr.sbin/sysinst/label.c
1098
m->opts[i].opt_action == edit_fs_mountpt ||
usr.sbin/sysinst/label.c
1099
m->opts[i].opt_menu == MENU_mountoptions))
usr.sbin/sysinst/label.c
1101
if (m->opts[i].opt_action == edit_install &&
usr.sbin/sysinst/label.c
1106
if (m->opts[i].opt_action == edit_fs_preserve &&
usr.sbin/sysinst/label.c
1112
if (m->opts[i].opt_action == edit_ptn_custom_type) {
usr.sbin/sysinst/label.c
1124
&& (m->opts[i].opt_action == edit_fs_type
usr.sbin/sysinst/label.c
1125
|| m->opts[i].opt_action == edit_fs_start
usr.sbin/sysinst/label.c
1126
|| m->opts[i].opt_action == edit_fs_size))
usr.sbin/sysinst/label.c
1129
m->opts[i].opt_flags &= ~OPT_IGNORE;
usr.sbin/sysinst/label.c
1134
&& (m->opts[m->cursel].opt_flags & OPT_IGNORE))
usr.sbin/sysinst/label.c
1184
if (m->opts[opt].opt_flags & OPT_IGNORE
usr.sbin/sysinst/label.c
1186
&& m->opts[opt].opt_action != edit_ptn_custom_type
usr.sbin/sysinst/label.c
1187
&& m->opts[opt].opt_action != edit_fs_type
usr.sbin/sysinst/label.c
1188
&& m->opts[opt].opt_action != edit_fs_start
usr.sbin/sysinst/label.c
1189
&& m->opts[opt].opt_action != edit_fs_size) {
usr.sbin/sysinst/label.c
1225
if (m->opts[opt].opt_action == edit_install) {
usr.sbin/sysinst/label.c
1231
if (m->opts[opt].opt_action == edit_fs_preserve) {
usr.sbin/sysinst/label.c
1237
if (m->opts[opt].opt_action == edit_fs_mount) {
usr.sbin/sysinst/label.c
1243
if (m->opts[opt].opt_action == edit_fs_ffs_block) {
usr.sbin/sysinst/label.c
1248
if (m->opts[opt].opt_action == edit_fs_ffs_frag) {
usr.sbin/sysinst/label.c
1253
if (m->opts[opt].opt_action == edit_fs_ffs_avg_size) {
usr.sbin/sysinst/label.c
1270
if (m->opts[opt].opt_menu == MENU_mountoptions) {
usr.sbin/sysinst/label.c
1290
if (m->opts[opt].opt_action == edit_fs_mountpt) {
usr.sbin/sysinst/label.c
1459
m->opts[ptn].opt_flags |= OPT_IGNORE;
usr.sbin/sysinst/label.c
1461
m->opts[ptn].opt_flags &= ~OPT_IGNORE;
usr.sbin/sysinst/label.c
1485
m->opts[ptn].opt_flags |= OPT_IGNORE;
usr.sbin/sysinst/label.c
1487
m->opts[ptn].opt_flags &= ~OPT_IGNORE;
usr.sbin/sysinst/label.c
1646
men = realloc(m->opts, (m->numopts+clone_cnt)*sizeof(*m->opts));
usr.sbin/sysinst/label.c
1650
m->opts = men;
usr.sbin/sysinst/label.c
1727
nmenopts = realloc(m->opts, (m->numopts+1)*sizeof(*m->opts));
usr.sbin/sysinst/label.c
1734
pset->menu_opts = m->opts = nmenopts;
usr.sbin/sysinst/label.c
1764
nmenopts = realloc(m->opts, (m->numopts+1)*sizeof(*m->opts));
usr.sbin/sysinst/label.c
1775
m->opts = nmenopts;
usr.sbin/sysinst/label.c
1785
memmove(m->opts+off, m->opts+off+1,
usr.sbin/sysinst/label.c
1786
(m->numopts-off-1)*sizeof(*m->opts));
usr.sbin/sysinst/label.c
1797
if (m->opts == NULL)
usr.sbin/sysinst/label.c
1803
(m->opts[pset->parts->num_part].opt_flags & OPT_IGNORE) &&
usr.sbin/sysinst/label.c
1804
(m->opts[pset->parts->num_part+1].opt_action == edit_fspart_add);
usr.sbin/sysinst/label.c
322
menu_ent opts[min(MAXPHYS/4096, 8)];
usr.sbin/sysinst/label.c
328
memset(opts, 0, sizeof opts);
usr.sbin/sysinst/label.c
331
opts[i].opt_name = names[i];
usr.sbin/sysinst/label.c
332
opts[i].opt_action = set_ffs_opt_pow2;
usr.sbin/sysinst/label.c
333
opts[i].opt_flags = OPT_EXIT;
usr.sbin/sysinst/label.c
335
menu = new_menu(head, opts, i, 40, 6, 0, 0, MC_NOEXITOPT,
usr.sbin/sysinst/label.c
652
menu_ent *opts;
usr.sbin/sysinst/label.c
657
opts = calloc(cnt, sizeof(*opts));
usr.sbin/sysinst/label.c
658
if (opts == NULL)
usr.sbin/sysinst/label.c
662
opts[ndx].opt_name = msg_string(MSG_fs_type_ffsv2ea);
usr.sbin/sysinst/label.c
663
opts[ndx].opt_action = set_fstype_ext;
usr.sbin/sysinst/label.c
665
opts[ndx].opt_name = msg_string(MSG_fs_type_ffsv2);
usr.sbin/sysinst/label.c
666
opts[ndx].opt_action = set_fstype_ext;
usr.sbin/sysinst/label.c
668
opts[ndx].opt_name = msg_string(MSG_fs_type_ffs);
usr.sbin/sysinst/label.c
669
opts[ndx].opt_action = set_fstype_ext;
usr.sbin/sysinst/label.c
678
opts[ndx].opt_name = fstypenames[i];
usr.sbin/sysinst/label.c
679
opts[ndx].opt_action = set_fstype_ext;
usr.sbin/sysinst/label.c
682
opts[ndx] = opts[ndx-1];
usr.sbin/sysinst/label.c
683
opts[ndx].opt_name = getfslabelname(FS_EFI_SP, 0);
usr.sbin/sysinst/label.c
687
opts[ndx].opt_name = msg_string(MSG_fs_type_ext2old);
usr.sbin/sysinst/label.c
688
opts[ndx].opt_action = set_fstype_ext;
usr.sbin/sysinst/label.c
691
m = new_menu(MSG_Select_the_type, opts, ndx,
usr.sbin/sysinst/label.c
699
free(opts);
usr.sbin/sysinst/label.c
774
menu_ent *opts;
usr.sbin/sysinst/label.c
797
opts = calloc(cnt, sizeof(*opts));
usr.sbin/sysinst/label.c
798
if (opts == NULL)
usr.sbin/sysinst/label.c
803
opts[i+2].opt_name = getfslabelname(edit_fs_common_types[i], 0);
usr.sbin/sysinst/label.c
804
opts[i+2].opt_action = set_fstype;
usr.sbin/sysinst/label.c
807
opts[0] = opts[1] = opts[2];
usr.sbin/sysinst/label.c
808
opts[0].opt_name = msg_string(MSG_fs_type_ffsv2ea);
usr.sbin/sysinst/label.c
809
opts[1].opt_name = msg_string(MSG_fs_type_ffsv2);
usr.sbin/sysinst/label.c
810
opts[2].opt_name = msg_string(MSG_fs_type_ffs);
usr.sbin/sysinst/label.c
813
opts[i+2].opt_name = msg_string(MSG_other_fs_type);
usr.sbin/sysinst/label.c
814
opts[i+2].opt_action = edit_fs_type_ext;
usr.sbin/sysinst/label.c
816
m = new_menu(MSG_Select_the_type, opts, cnt,
usr.sbin/sysinst/label.c
824
free(opts);
usr.sbin/sysinst/part_edit.c
263
m->opts = part_menu_opts;
usr.sbin/sysinst/part_edit.c
375
menu_ent *opts, *p;
usr.sbin/sysinst/part_edit.c
387
opts = calloc(count, sizeof(*opts));
usr.sbin/sysinst/part_edit.c
388
if (opts == NULL) {
usr.sbin/sysinst/part_edit.c
393
memcpy(opts, common_ptn_edit_opts,
usr.sbin/sysinst/part_edit.c
394
sizeof(*opts)*hdr_cnt);
usr.sbin/sysinst/part_edit.c
395
p = opts + hdr_cnt;
usr.sbin/sysinst/part_edit.c
402
memcpy(p, suffix, sizeof(*opts)*suffix_count);
usr.sbin/sysinst/part_edit.c
405
return opts;
usr.sbin/sysinst/part_edit.c
417
menu_ent *opts;
usr.sbin/sysinst/part_edit.c
420
opts = fill_part_edit_menu_opts(data.parts, true, ptn_edit_opts,
usr.sbin/sysinst/part_edit.c
422
if (opts == NULL)
usr.sbin/sysinst/part_edit.c
429
ptn_menu = new_menu(NULL, opts, num_opts,
usr.sbin/sysinst/part_edit.c
435
free(opts);
usr.sbin/sysinst/part_edit.c
441
free(opts);
usr.sbin/sysinst/part_edit.c
575
menu_ent *opts;
usr.sbin/sysinst/part_edit.c
580
opts = fill_part_edit_menu_opts(data.parts, false, ptn_add_opts,
usr.sbin/sysinst/part_edit.c
582
if (opts == NULL)
usr.sbin/sysinst/part_edit.c
599
ptn_menu = new_menu(NULL, opts, num_opts,
usr.sbin/sysinst/part_edit.c
605
free(opts);
usr.sbin/sysinst/part_edit.c
611
free(opts);
usr.sbin/sysinst/part_edit.c
710
m->opts[opt].opt_flags |= OPT_IGNORE; \
usr.sbin/sysinst/part_edit.c
712
m->opts[opt].opt_flags &= ~OPT_IGNORE;
usr.sbin/sysinst/part_edit.c
725
if (m->opts[i].opt_action == delete_part) {
usr.sbin/sysinst/part_edit.c
821
menu_ent *opts, *op;
usr.sbin/sysinst/part_edit.c
835
opts = calloc(num_opts, sizeof *opts);
usr.sbin/sysinst/part_edit.c
836
if (opts == NULL) {
usr.sbin/sysinst/part_edit.c
842
for (op = opts, i = 0; i < parts->num_part && i < (num_opts-2);
usr.sbin/sysinst/part_edit.c
889
assert((op - opts) >= 0 && (size_t)(op - opts) == num_opts);
usr.sbin/sysinst/part_edit.c
892
return opts;
usr.sbin/sysinst/partman.c
2194
m = &menu->opts[i];
usr.sbin/sysinst/partman.c
2932
m->opts[(*i)++] = (struct menu_ent) {
usr.sbin/sysinst/partman.c
2947
m->opts[*i] = (struct menu_ent) {
usr.sbin/sysinst/partman.c
2999
memset(&m->opts[i], 0, sizeof m->opts[i]);
usr.sbin/sysinst/partman.c
3000
m->opts[i].opt_action = pm_submenu;
usr.sbin/sysinst/partman.c
3035
memset(&m->opts[i], 0, sizeof m->opts[i]);
usr.sbin/sysinst/partman.c
3036
m->opts[i].opt_action = pm_submenu;
usr.sbin/sysinst/partman.c
3058
memset(&m->opts[i], 0, sizeof m->opts[i]);
usr.sbin/sysinst/partman.c
3059
m->opts[i].opt_action = pm_submenu;
usr.sbin/sysinst/partman.c
3070
m->opts[ii].opt_flags = OPT_EXIT;
usr.sbin/sysinst/partman.c
3093
m->opts[i++] = (struct menu_ent) {
usr.sbin/sysinst/partman.c
3097
m->opts[i ] = (struct menu_ent) {
usr.sbin/sysinst/partman.c
3204
menu_num_entries = pm_upddevlist(&(menudesc){.opts = menu_entries},
usr.sbin/sysinst/target.c
472
target_mount_do(const char *opts, const char *from, const char *on)
usr.sbin/sysinst/target.c
492
opts, from, target_prefix(), on);
usr.sbin/sysinst/target.c
525
target_mount(const char *opts, const char *from, const char *on)
usr.sbin/sysinst/target.c
527
return target_mount_do(opts, from, on);
usr.sbin/sysinst/util.c
1772
if (m && strcmp(tz_selected, m->opts[m->cursel].opt_name) != 0) {
usr.sbin/sysinst/util.c
1774
new = strdup(m->opts[m->cursel].opt_name);
usr.sbin/sysinst/util.c
1812
strlcpy(zoneinfo_dir + zonerootlen, m->opts[m->cursel].opt_name,
usr.sbin/sysinst/util.c
1911
m->opts = tz_menu;