Searched refs:opt (Results 201 - 225 of 721) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c165 int opt; local
175 while ((opt = getopt(argc, argv, "n")) != -1) {
176 switch (opt) {
/linux-master/net/ipv6/
H A Dah6.c104 u8 *opt = (u8 *)opthdr; local
114 switch (opt[off]) {
122 optlen = opt[off+1]+2;
125 if (opt[off] & 0x20)
126 memset(&opt[off+2], 0, opt[off+1]);
148 u8 *opt = (u8 *)destopt; local
158 switch (opt[off]) {
166 optlen = opt[off+1]+2;
174 if (opt[of
640 ah6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
[all...]
H A Dxfrm6_protocol.c126 static int xfrm6_esp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
132 if (!handler->err_handler(skb, opt, type, code, offset, info))
155 static int xfrm6_ah_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
161 if (!handler->err_handler(skb, opt, type, code, offset, info))
184 static int xfrm6_ipcomp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
190 if (!handler->err_handler(skb, opt, type, code, offset, info))
H A Draw.c513 struct ipv6_txoptions *opt; local
531 opt = inet6_sk(sk)->cork.opt;
532 total_len -= opt ? opt->opt_flen : 0;
749 struct ipv6_txoptions *opt = NULL; local
838 opt = &opt_space;
839 memset(opt, 0, sizeof(struct ipv6_txoptions));
840 opt->tot_len = sizeof(struct ipv6_txoptions);
841 ipc6.opt
[all...]
H A Dping.c128 struct ipv6_txoptions opt = {}; local
130 opt.tot_len = sizeof(opt);
131 ipc6.opt = &opt;
140 ipc6.opt = NULL;
H A Dudplite.c31 struct inet6_skb_parm *opt,
34 return __udp6_lib_err(skb, opt, type, code, offset, info,
30 udplitev6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
H A Dudp.c475 struct inet6_skb_parm *opt,
481 int (*handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
489 if (handler && !handler(skb, opt, type, code, offset, info))
519 struct inet6_skb_parm *opt,
558 sk = ERR_PTR(__udp6_lib_err_encap_no_sk(skb, opt, type, code,
568 int __udp6_lib_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
575 const struct in6_addr *daddr = seg6_get_daddr(skb, opt) ? : &hdr->daddr;
591 opt, type, code, info);
684 struct inet6_skb_parm *opt, u8 type,
687 return __udp6_lib_err(skb, opt, typ
474 __udp6_lib_err_encap_no_sk(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
513 __udp6_lib_err_encap(struct net *net, const struct ipv6hdr *hdr, int offset, struct udphdr *uh, struct udp_table *udptable, struct sock *sk, struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, __be32 info) argument
683 udpv6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
1337 struct ipv6_txoptions *opt = NULL; local
[all...]
/linux-master/tools/testing/selftests/kvm/
H A Drseq_test.c212 int opt; local
214 while ((opt = getopt(argc, argv, "hu")) != -1) {
215 switch (opt) {
H A Darch_timer.c201 int opt; local
203 while ((opt = getopt(argc, argv, "hn:i:p:m:o:e:")) != -1) {
204 switch (opt) {
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dnx_huge_pages_test.c233 int reclaim_period_ms = 0, token = 0, opt; local
236 while ((opt = getopt(argc, argv, "hp:t:r")) != -1) {
237 switch (opt) {
/linux-master/net/netfilter/ipset/
H A Dip_set_bitmap_port.c129 enum ipset_adt adt, struct ip_set_adt_opt *opt)
134 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
138 if (!ip_set_get_ip_port(skb, opt->family,
139 opt->flags & IPSET_DIM_ONE_SRC, &__port))
149 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags);
127 bitmap_port_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
/linux-master/fs/proc/
H A Droot.c116 int opt; local
118 opt = fs_parse(fc, proc_fs_parameters, param, &result);
119 if (opt < 0)
120 return opt;
122 switch (opt) {
141 ctx->mask |= 1 << opt;
/linux-master/fs/affs/
H A Daffs.h124 #define affs_clear_opt(o, opt) (o &= ~AFFS_MOUNT_##opt)
125 #define affs_set_opt(o, opt) (o |= AFFS_MOUNT_##opt)
126 #define affs_test_opt(o, opt) ((o) & AFFS_MOUNT_##opt)
/linux-master/drivers/net/wan/
H A Dhdlc_ppp.c373 const u8 *opt; local
383 for (opt = data; len; len -= opt[1], opt += opt[1]) {
384 if (len < 2 || opt[1] < 2 || len < opt[1])
388 switch (opt[0]) {
393 if (opt[1] < sizeof(valid_accm))
395 if (!memcmp(opt, valid_acc
[all...]
/linux-master/arch/x86/mm/
H A Dpkeys.c186 static __init int setup_init_pkru(char *opt) argument
190 if (kstrtouint(opt, 0, &new_init_pkru))
/linux-master/arch/mips/include/asm/
H A Dcpu-features.h19 #define __opt(opt) (cpu_data[0].options & (opt))
33 #define __isa_ge_and_opt(isa, opt) ((MIPS_ISA_REV >= (isa)) && __opt(opt))
43 #define __isa_ge_or_opt(isa, opt) ((MIPS_ISA_REV >= (isa)) || __opt(opt))
54 #define __isa_lt_and_opt(isa, opt) ((MIPS_ISA_REV < (isa)) && __opt(opt))
/linux-master/net/sched/
H A Dact_nat.c272 struct tc_nat opt = { local
282 opt.action = p->tcf_action;
286 opt.old_addr = parms->old_addr;
287 opt.new_addr = parms->new_addr;
288 opt.mask = parms->mask;
289 opt.flags = parms->flags;
291 if (nla_put(skb, TCA_NAT_PARMS, sizeof(opt), &opt))
H A Dsch_choke.c335 static int choke_change(struct Qdisc *sch, struct nlattr *opt, argument
347 if (opt == NULL)
350 err = nla_parse_nested_deprecated(tb, TCA_CHOKE_MAX, opt,
425 static int choke_init(struct Qdisc *sch, struct nlattr *opt, argument
428 return choke_change(sch, opt, extack);
436 struct tc_red_qopt opt = { local
450 if (nla_put(skb, TCA_CHOKE_PARMS, sizeof(opt), &opt) ||
/linux-master/drivers/gpu/drm/ci/
H A Dbuild.sh88 for opt in $ENABLE_KCONFIGS; do
89 ./scripts/config --enable CONFIG_$opt
91 for opt in $DISABLE_KCONFIGS; do
92 ./scripts/config --disable CONFIG_$opt
/linux-master/fs/bcachefs/
H A Dcompress.c661 struct bch_compression_opt opt = { 0 }; local
676 opt.type = ret;
682 if (!ret && !opt.type && level)
691 opt.level = level;
694 *res = bch2_compression_encode(opt);
702 struct bch_compression_opt opt = bch2_compression_decode(v); local
704 if (opt.type < BCH_COMPRESSION_OPT_NR)
705 prt_str(out, bch2_compression_opts[opt.type]);
707 prt_printf(out, "(unknown compression opt %u)", opt
[all...]
/linux-master/net/ax25/
H A Daf_ax25.c562 unsigned int opt; local
571 if (copy_from_sockptr(&opt, optval, sizeof(unsigned int)))
580 if (opt < 1 || opt > 7) {
585 if (opt < 1 || opt > 63) {
590 ax25->window = opt;
594 if (opt < 1 || opt > UINT_MAX / HZ) {
598 ax25->rtt = (opt * H
[all...]
/linux-master/net/ipv4/
H A Dicmp.c413 if (ip_options_echo(net, &icmp_param->replyopts.opt.opt, skb))
436 if (icmp_param->replyopts.opt.opt.optlen) {
437 ipc.opt = &icmp_param->replyopts.opt;
438 if (ipc.opt->opt.srr)
439 daddr = icmp_param->replyopts.opt.opt
592 __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info, const struct ip_options *opt) argument
[all...]
H A Dinet_connection_sock.c817 struct ip_options_rcu *opt; local
821 opt = rcu_dereference(ireq->ireq_opt);
826 (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr,
833 if (opt && opt->opt
854 struct ip_options_rcu *opt; local
[all...]
/linux-master/net/bluetooth/
H A Dl2cap_sock.c444 u32 opt; local
499 opt = L2CAP_LM_AUTH;
502 opt = L2CAP_LM_AUTH | L2CAP_LM_ENCRYPT;
505 opt = L2CAP_LM_AUTH | L2CAP_LM_ENCRYPT |
509 opt = L2CAP_LM_AUTH | L2CAP_LM_ENCRYPT |
513 opt = 0;
518 opt |= L2CAP_LM_MASTER;
521 opt |= L2CAP_LM_RELIABLE;
523 if (put_user(opt, (u32 __user *) optval))
732 u32 opt; local
887 u32 opt; local
[all...]
/linux-master/include/uapi/linux/netfilter/
H A Dnfnetlink_osf.h66 struct nf_osf_opt opt[MAX_IPOPTLEN]; member in struct:nf_osf_user_finger

Completed in 241 milliseconds

1234567891011>>