Searched refs:opt (Results 126 - 150 of 721) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/net/
H A Dbind_bhash.c30 static int bind_socket(int opt, const char *addr) argument
51 if (opt) {
52 err = setsockopt(sock_fd, SOL_SOCKET, opt, &reuse, sizeof(reuse));
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_ipport.c93 enum ipset_adt adt, struct ip_set_adt_opt *opt)
97 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
100 if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC,
104 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
108 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags);
263 enum ipset_adt adt, struct ip_set_adt_opt *opt)
267 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
270 if (!ip_set_get_ip6_port(skb, opt->flags & IPSET_DIM_TWO_SRC,
274 ip6addrptr(skb, opt
91 hash_ipport4_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument
261 hash_ipport6_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument
[all...]
/linux-master/samples/hid/
H A Dhid_mouse.c83 int opt, hid_id, attach_fd; local
92 while ((opt = getopt(argc, argv, optstr)) != -1) {
93 switch (opt) {
/linux-master/net/ipv6/
H A Dip6_flowlabel.c110 kfree(fl->opt);
120 if (fl_shared_exclusive(fl) || fl->opt)
136 if (fl->opt && fl->share == IPV6_FL_S_EXCL) {
137 struct ipv6_txoptions *opt = fl->opt; local
138 fl->opt = NULL;
139 kfree(opt);
319 struct ipv6_txoptions *fl_opt = fl->opt;
400 fl->opt = kmalloc(sizeof(*fl->opt)
[all...]
H A Dip6_output.c264 __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority)
282 if (opt)
283 head_room += opt->opt_nflen + opt->opt_flen;
293 if (opt) {
294 seg_len += opt->opt_nflen + opt->opt_flen;
296 if (opt->opt_flen)
297 ipv6_push_frag_opts(skb, opt, &proto);
299 if (opt
263 ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6, __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) argument
497 struct inet6_skb_parm *opt = IP6CB(skb); local
1338 struct ipv6_txoptions *nopt, *opt = ipc6->opt; local
1428 struct ipv6_txoptions *opt = v6_cork->opt; local
1853 struct ipv6_txoptions *opt = v6_cork->opt; local
1879 struct ipv6_txoptions *opt = v6_cork->opt; local
[all...]
/linux-master/samples/bpf/
H A Dsyscall_tp_user.c137 int opt, nr_tests = 1; local
140 while ((opt = getopt(argc, argv, "i:h")) != -1) {
141 switch (opt) {
H A Dxdp_adjust_tail_user.c89 int i, prog_fd, map_fd, opt; local
101 while ((opt = getopt(argc, argv, optstr)) != -1) {
103 switch (opt) {
128 opt_flags[opt] = 0;
/linux-master/include/net/
H A Dbond_options.h19 #define BOND_OPT_VALID(opt) ((opt) < BOND_OPT_LAST)
87 * - if the opt is RAW data and length less than maxlen,
129 const struct bond_opt_value *bond_opt_parse(const struct bond_option *opt,
H A Dgen_stats.h74 bool running, struct nlattr *opt);
80 bool running, struct nlattr *opt);
/linux-master/tools/testing/selftests/timers/
H A Dthreadtest.c126 int opt; local
135 while ((opt = getopt(argc, argv, "t:n:i")) != -1) {
136 switch (opt) {
/linux-master/tools/testing/selftests/kvm/
H A Dmemslot_modification_stress_test.c137 int opt; local
146 while ((opt = getopt(argc, argv, "hm:d:b:v:oi:")) != -1) {
147 switch (opt) {
/linux-master/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.c96 struct gssx_option *opt)
100 err = gssx_enc_buffer(xdr, &opt->option);
103 err = gssx_enc_buffer(xdr, &opt->value);
108 struct gssx_option *opt)
112 err = gssx_dec_buffer(xdr, &opt->option);
115 err = gssx_dec_buffer(xdr, &opt->value);
352 struct gssx_option opt; local
372 opt.option.data = LUCID_OPTION;
373 opt.option.len = sizeof(LUCID_OPTION);
374 opt
95 gssx_enc_option(struct xdr_stream *xdr, struct gssx_option *opt) argument
107 gssx_dec_option(struct xdr_stream *xdr, struct gssx_option *opt) argument
[all...]
/linux-master/net/can/
H A Disotp.c158 struct can_isotp_options opt; member in struct:isotp_sock
182 return so->opt.flags & ISOTP_ALL_BC_FLAGS;
242 if (so->opt.flags & CAN_ISOTP_TX_PADDING) {
243 memset(ncf->data, so->opt.txpad_content, CAN_MAX_DLEN);
254 ncf->data[0] = so->opt.ext_address;
337 if (!(so->opt.flags & CAN_ISOTP_RX_PADDING)) {
338 if (so->opt.flags & CAN_ISOTP_CHK_PAD_LEN)
346 if ((so->opt.flags & CAN_ISOTP_CHK_PAD_LEN) &&
351 if (so->opt.flags & CAN_ISOTP_CHK_PAD_DATA) {
372 ((so->opt
[all...]
/linux-master/arch/arm/probes/kprobes/
H A DMakefile14 obj-$(CONFIG_OPTPROBES) += opt-arm.o
/linux-master/drivers/tty/serial/
H A Dimx_earlycon.c36 imx_console_early_setup(struct earlycon_device *dev, const char *opt) argument
H A Dearlycon-riscv-sbi.c41 const char *opt)
40 early_sbi_setup(struct earlycon_device *device, const char *opt) argument
/linux-master/tools/perf/util/
H A Diostat.h34 int iostat_parse(const struct option *opt, const char *str,
H A Diostat.c13 __weak int iostat_parse(const struct option *opt __maybe_unused,
H A Dclockid.c68 int parse_clockid(const struct option *opt, const char *str, int unset) argument
70 struct record_opts *opts = (struct record_opts *)opt->value;
/linux-master/arch/parisc/kernel/
H A Dpdc_cons.c46 const char *opt)
45 pdc_earlycon_setup(struct earlycon_device *device, const char *opt) argument
/linux-master/tools/usb/usbip/src/
H A Dusbip_attach.c211 int opt; local
215 opt = getopt_long(argc, argv, "d:r:b:", opts, NULL);
217 if (opt == -1)
220 switch (opt) {
/linux-master/net/sched/
H A Dact_pedit.c505 struct tc_pedit *opt; local
511 s = struct_size(opt, keys, parms->tcfp_nkeys);
513 opt = kzalloc(s, GFP_ATOMIC);
514 if (unlikely(!opt)) {
518 opt->nkeys = parms->tcfp_nkeys;
520 memcpy(opt->keys, parms->tcfp_keys,
521 flex_array_size(opt, keys, parms->tcfp_nkeys));
522 opt->index = p->tcf_index;
523 opt->flags = parms->tcfp_flags;
524 opt
[all...]
H A Dsch_multiq.c171 static int multiq_tune(struct Qdisc *sch, struct nlattr *opt, argument
181 if (nla_len(opt) < sizeof(*qopt))
184 qopt = nla_data(opt);
235 static int multiq_init(struct Qdisc *sch, struct nlattr *opt, argument
243 if (!opt)
258 return multiq_tune(sch, opt, extack);
265 struct tc_multiq_qopt opt; local
267 opt.bands = q->bands;
268 opt.max_bands = q->max_bands;
270 if (nla_put(skb, TCA_OPTIONS, sizeof(opt),
[all...]
H A Dsch_etf.c343 static int etf_init(struct Qdisc *sch, struct nlattr *opt, argument
352 if (!opt) {
358 err = nla_parse_nested_deprecated(tb, TCA_ETF_MAX, opt, etf_policy,
463 struct tc_etf_qopt opt = { }; local
470 opt.delta = READ_ONCE(q->delta);
471 opt.clockid = READ_ONCE(q->clockid);
473 opt.flags |= TC_ETF_OFFLOAD_ON;
476 opt.flags |= TC_ETF_DEADLINE_MODE_ON;
479 opt.flags |= TC_ETF_SKIP_SOCK_CHECK;
481 if (nla_put(skb, TCA_ETF_PARMS, sizeof(opt),
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_if.h157 * @opt: encode frame option
164 enum venc_start_opt opt,

Completed in 433 milliseconds

1234567891011>>