/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_hdr_options.c | 117 static int parse_test_option(struct bpf_test_option *opt, const __u8 *start) argument 119 opt->flags = *start++; 121 if (TEST_OPTION_FLAGS(opt->flags, OPTION_MAX_DELACK_MS)) 122 opt->max_delack_ms = *start++; 124 if (TEST_OPTION_FLAGS(opt->flags, OPTION_RAND)) 125 opt->rand = *start++; 191 struct bpf_test_option opt; local 199 opt = passive_synack_out; 201 SET_OPTION_FLAGS(opt.flags, OPTION_RESEND); 203 return store_option(skops, &opt); 234 struct bpf_test_option *opt; local 263 struct bpf_test_option *opt; local [all...] |
/linux-master/net/ipv6/ |
H A D | datagram.c | 76 struct ipv6_txoptions *opt; local 92 opt = flowlabel ? flowlabel->opt : rcu_dereference(np->opt); 93 final_p = fl6_update_dst(&fl6, opt, &final); 624 struct inet6_skb_parm *opt = IP6CB(skb); local 644 if (np->rxopt.bits.hopopts && (opt->flags & IP6SKB_HOPBYHOP)) { 649 if (opt->lastopt && 663 while (off <= opt->lastopt) { 698 src_info.ipi6_ifindex = opt 767 struct ipv6_txoptions *opt = ipc6->opt; local [all...] |
H A D | ipv6_sockglue.c | 103 struct ipv6_txoptions *opt) 106 if (opt && 110 icsk->icsk_ext_hdr_len = opt->opt_flen + opt->opt_nflen; 114 opt = xchg((__force struct ipv6_txoptions **)&inet6_sk(sk)->opt, 115 opt); 118 return opt; 326 struct ipv6_txoptions *opt; local 353 opt 102 ipv6_update_options(struct sock *sk, struct ipv6_txoptions *opt) argument 835 struct ipv6_txoptions *opt = NULL; local 1005 ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_txoptions *opt, int optname, sockptr_t optval, int len) argument 1248 struct ipv6_txoptions *opt; local [all...] |
/linux-master/net/sched/ |
H A D | sch_prio.c | 7 * Init -- EINVAL when opt undefined 143 struct tc_prio_qopt_offload opt = { local 152 opt.command = TC_PRIO_REPLACE; 153 opt.replace_params.bands = qopt->bands; 154 memcpy(&opt.replace_params.priomap, qopt->priomap, 156 opt.replace_params.qstats = &sch->qstats; 158 opt.command = TC_PRIO_DESTROY; 161 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_PRIO, &opt); 176 static int prio_tune(struct Qdisc *sch, struct nlattr *opt, argument 184 if (nla_len(opt) < sizeo 229 prio_init(struct Qdisc *sch, struct nlattr *opt, struct netlink_ext_ack *extack) argument 266 struct tc_prio_qopt opt; local [all...] |
/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sigfuz.c | 290 int opt; local 292 while ((opt = getopt(argc, argv, "bamxt:fi:h")) != -1) { 293 if (opt == 'b') { 296 } else if (opt == 'a') { 299 } else if (opt == 'm') { 302 } else if (opt == 'x') { 305 } else if (opt == 't') { 308 } else if (opt == 'f') { 312 } else if (opt == 'i') { 315 } else if (opt [all...] |
/linux-master/fs/ufs/ |
H A D | ufs.h | 73 #define ufs_clear_opt(o,opt) o &= ~UFS_MOUNT_##opt 74 #define ufs_set_opt(o,opt) o |= UFS_MOUNT_##opt 75 #define ufs_test_opt(o,opt) ((o) & UFS_MOUNT_##opt)
|
/linux-master/fs/btrfs/ |
H A D | fs.h | 997 #define btrfs_set_fs_incompat(__fs_info, opt) \ 998 __btrfs_set_fs_incompat((__fs_info), BTRFS_FEATURE_INCOMPAT_##opt, #opt) 1000 #define btrfs_clear_fs_incompat(__fs_info, opt) \ 1001 __btrfs_clear_fs_incompat((__fs_info), BTRFS_FEATURE_INCOMPAT_##opt, #opt) 1003 #define btrfs_fs_incompat(fs_info, opt) \ 1004 __btrfs_fs_incompat((fs_info), BTRFS_FEATURE_INCOMPAT_##opt) 1006 #define btrfs_set_fs_compat_ro(__fs_info, opt) \ 1007 __btrfs_set_fs_compat_ro((__fs_info), BTRFS_FEATURE_COMPAT_RO_##opt, #op [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | acornfb.c | 759 static void acornfb_parse_mon(char *opt) argument 761 char *p = opt; 802 printk(KERN_ERR "Acornfb: bad monitor settings: %s\n", opt); 806 static void acornfb_parse_montype(char *opt) argument 810 if (strncmp(opt, "tv", 2) == 0) { 811 opt += 2; 813 } else if (strncmp(opt, "multi", 5) == 0) { 814 opt += 5; 816 } else if (strncmp(opt, "hires", 5) == 0) { 817 opt 847 acornfb_parse_dram(char *opt) argument 883 char *opt; local [all...] |
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_hash_ipmac.c | 86 enum ipset_adt adt, struct ip_set_adt_opt *opt) 90 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 96 if (opt->flags & IPSET_DIM_TWO_SRC) 104 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); 106 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); 199 enum ipset_adt adt, struct ip_set_adt_opt *opt) 206 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 212 if (opt->flags & IPSET_DIM_TWO_SRC) 220 ip6addrptr(skb, opt 84 hash_ipmac4_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 197 hash_ipmac6_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/tools/testing/selftests/dma/ |
H A D | dma_map_benchmark.c | 27 int fd, opt; local 38 while ((opt = getopt(argc, argv, "t:s:n:b:d:x:g:")) != -1) { 39 switch (opt) {
|
/linux-master/tools/testing/selftests/media_tests/ |
H A D | video_device_test.c | 119 int opt; local 130 while ((opt = getopt(argc, argv, "d:")) != -1) { 131 switch (opt) {
|
/linux-master/drivers/net/bonding/ |
H A D | bond_options.c | 521 const struct bond_option *opt; local 525 opt = bond_opt_get(option); 526 if (opt && !strcmp(opt->name, name)) 527 return opt; 533 /* Searches for a value in opt's values[] table */ 536 const struct bond_option *opt; local 539 opt = bond_opt_get(option); 540 if (WARN_ON(!opt)) 542 for (i = 0; opt 550 bond_opt_get_flags(const struct bond_option *opt, u32 flagmask) argument 565 bond_opt_check_range(const struct bond_option *opt, u64 val) argument 587 bond_opt_parse(const struct bond_option *opt, struct bond_opt_value *val) argument 653 bond_opt_check_deps(struct bonding *bond, const struct bond_option *opt) argument 668 bond_opt_dep_print(struct bonding *bond, const struct bond_option *opt, struct nlattr *bad_attr, struct netlink_ext_ack *extack) argument 686 bond_opt_error_interpret(struct bonding *bond, const struct bond_option *opt, int error, const struct bond_opt_value *val, struct nlattr *bad_attr, struct netlink_ext_ack *extack) argument 767 const struct bond_option *opt; local [all...] |
/linux-master/drivers/tty/serial/ |
H A D | kgdboc.c | 442 static int kgdboc_option_setup(char *opt) argument 444 if (!opt) { 449 if (strlen(opt) >= MAX_CONFIG_LEN) { 453 strcpy(config, opt); 462 static int __init kgdboc_early_init(char *opt) argument 464 kgdboc_option_setup(opt); 567 static int __init kgdboc_earlycon_init(char *opt) argument 589 (!opt || !opt[0] || strcmp(con->name, opt) [all...] |
/linux-master/tools/usb/usbip/src/ |
H A D | usbip.c | 143 int opt; local 149 opt = getopt_long(argc, argv, "+dlt:", opts, NULL); 151 if (opt == -1) 154 switch (opt) {
|
H A D | usbip_bind.c | 189 int opt; local 193 opt = getopt_long(argc, argv, "b:", opts, NULL); 195 if (opt == -1) 198 switch (opt) {
|
/linux-master/net/netfilter/ |
H A D | nf_sockopt.c | 92 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, sockptr_t opt, argument 101 ret = ops->set(sk, val, opt, len); 107 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, argument 116 ret = ops->get(sk, val, opt, len);
|
H A D | nft_exthdr.c | 29 static unsigned int optlen(const u8 *opt, unsigned int offset) argument 32 if (opt[offset] <= TCPOPT_NOP || opt[offset + 1] == 0) 35 return opt[offset + 1]; 86 struct ip_options *opt = (struct ip_options *)optbuf; local 102 memset(opt, 0, sizeof(struct ip_options)); 106 if (skb_copy_bits(skb, start, opt->__data, optlen)) 108 opt->optlen = optlen; 110 if (__ip_options_compile(net, opt, NULL, &info)) 116 if (!opt 199 u8 *opt; local 242 u8 *opt; local 322 u8 *opt; local [all...] |
/linux-master/fs/ramfs/ |
H A D | inode.c | 235 int opt; local 237 opt = fs_parse(fc, ramfs_fs_parameters, param, &result); 238 if (opt == -ENOPARAM) { 239 opt = vfs_parse_fs_param_source(fc, param); 240 if (opt != -ENOPARAM) 241 return opt; 250 if (opt < 0) 251 return opt; 253 switch (opt) {
|
/linux-master/tools/lib/subcmd/ |
H A D | run-command.h | 64 int run_command_v_opt(const char **argv, int opt);
|
/linux-master/arch/arm64/include/asm/ |
H A D | barrier.h | 28 #define dmb(opt) asm volatile("dmb " #opt : : : "memory") 29 #define dsb(opt) asm volatile("dsb " #opt : : : "memory")
|
/linux-master/net/ipv4/ |
H A D | ip_output.c | 150 __be32 saddr, __be32 daddr, struct ip_options_rcu *opt, 159 skb_push(skb, sizeof(struct iphdr) + (opt ? opt->opt.optlen : 0)); 166 iph->daddr = (opt && opt->opt.srr ? opt->opt.faddr : daddr); 184 if (opt 149 ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk, __be32 saddr, __be32 daddr, struct ip_options_rcu *opt, u8 tos) argument 964 struct ip_options *opt = cork->opt; local 1286 struct ip_options_rcu *opt; local 1392 struct ip_options *opt = NULL; local [all...] |
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-palmas.c | 375 const struct palmas_pin_info *opt[4]; member in struct:palmas_pingroup 501 .opt = { \ 687 if (!g->opt[function]) { 694 for (i = 0; i < ARRAY_SIZE(g->opt); i++) { 695 if (!g->opt[i]) 697 if (g->opt[i]->mux_opt == function) 700 if (WARN_ON(i == ARRAY_SIZE(g->opt))) { 741 const struct palmas_pin_info *opt; local 761 opt = g->opt[pc 851 const struct palmas_pin_info *opt; local [all...] |
/linux-master/fs/erofs/ |
H A D | super.c | 374 sbi->opt.cache_strategy = EROFS_ZIP_CACHE_READAROUND; 375 sbi->opt.max_sync_decompress_pages = 3; 376 sbi->opt.sync_decompress = EROFS_SYNC_DECOMPRESS_AUTO; 379 set_opt(&sbi->opt, XATTR_USER); 382 set_opt(&sbi->opt, POSIX_ACL); 431 set_opt(&sbi->opt, DAX_ALWAYS); 432 clear_opt(&sbi->opt, DAX_NEVER); 435 set_opt(&sbi->opt, DAX_NEVER); 436 clear_opt(&sbi->opt, DAX_ALWAYS); 454 int opt, re local 942 struct erofs_mount_opts *opt = &sbi->opt; local [all...] |
/linux-master/net/dccp/ |
H A D | options.c | 59 unsigned char opt, len; local 68 opt = len = 0; 70 opt = *opt_ptr++; 75 if (opt > DCCPO_MAX_RESERVED) { 99 if (dreq != NULL && (opt >= DCCPO_MIN_RX_CCID_SPECIFIC || 100 opt == DCCPO_ACK_VECTOR_0 || opt == DCCPO_ACK_VECTOR_1)) 103 switch (opt) { 117 dccp_pr_debug("%s opt: NDP count=%llu\n", dccp_role(sk), 125 rc = dccp_feat_parse_options(sk, dreq, mandatory, opt, [all...] |
/linux-master/tools/testing/selftests/cgroup/ |
H A D | with_stress.sh | 52 while getopts c:d:hs: opt; do 53 case $opt in
|