/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup_kern.c | 61 struct bpf_sock_tuple *tuple; in sk_lookup_success() local 84 struct bpf_sock_tuple tuple = {}; in sk_lookup_success_simple() local 96 struct bpf_sock_tuple tuple = {}; in err_use_after_free() local 111 struct bpf_sock_tuple tuple = {}; in err_modify_sk_pointer() local 125 struct bpf_sock_tuple tuple = {}; in err_modify_sk_or_null_pointer() local 138 struct bpf_sock_tuple tuple = {}; in err_no_release() local 147 struct bpf_sock_tuple tuple = {}; in err_release_twice() local 159 struct bpf_sock_tuple tuple = {}; in err_release_unchecked() local 169 struct bpf_sock_tuple tuple = {}; in lookup_no_release() local
|
H A D | test_sk_assign.c | 102 handle_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_udp() 133 handle_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_tcp() 174 struct bpf_sock_tuple *tuple; in bpf_sk_assign_test() local
|
H A D | cgroup_skb_sk_lookup_kern.c | 29 static inline void set_tuple(struct bpf_sock_tuple *tuple, in set_tuple() 44 struct bpf_sock_tuple tuple; in is_allowed_peer_cg() local
|
H A D | test_cls_redirect_dynptr.c | 509 static uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph, in fill_tuple() 538 static verdict_t classify_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, in classify_tcp() 570 static verdict_t classify_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, uint64_t tuplen) in classify_udp() 587 static verdict_t classify_icmp(struct __sk_buff *skb, uint8_t proto, struct bpf_sock_tuple *tuple, in classify_icmp() 639 struct bpf_sock_tuple tuple; in process_icmpv4() local 655 struct bpf_sock_tuple tuple; in process_icmpv6() local 707 struct bpf_sock_tuple tuple; in process_tcp() local 730 struct bpf_sock_tuple tuple; in process_udp() local
|
H A D | test_cls_redirect.c | 618 static INLINING uint64_t fill_tuple(struct bpf_sock_tuple *tuple, void *iph, in fill_tuple() 648 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_tcp() 681 struct bpf_sock_tuple *tuple, uint64_t tuplen) in classify_udp() 699 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_icmp() 749 struct bpf_sock_tuple tuple; in process_icmpv4() local 801 struct bpf_sock_tuple tuple; in process_icmpv6() local 830 struct bpf_sock_tuple tuple; in process_tcp() local 848 struct bpf_sock_tuple tuple; in process_udp() local
|
/openbmc/linux/drivers/pcmcia/ |
H A D | cistpl.c | 447 tuple_t *tuple) in pccard_get_first_tuple() 522 tuple_t *tuple) in pccard_get_next_tuple() 842 static int parse_manfid(tuple_t *tuple, cistpl_manfid_t *m) in parse_manfid() 852 static int parse_funcid(tuple_t *tuple, cistpl_funcid_t *f) in parse_funcid() 864 static int parse_funce(tuple_t *tuple, cistpl_funce_t *f) in parse_funce() 1078 static int parse_cftable_entry(tuple_t *tuple, in parse_cftable_entry() 1226 static int parse_vers_2(tuple_t *tuple, cistpl_vers_2_t *v2) in parse_vers_2() 1247 static int parse_org(tuple_t *tuple, cistpl_org_t *org) in parse_org() 1288 int pcmcia_parse_tuple(tuple_t *tuple, cisparse_t *parse) in pcmcia_parse_tuple() 1378 tuple_t *tuple; in pccard_validate_cis() local [all …]
|
H A D | pcmcia_cis.c | 38 tuple_t tuple; in pccard_read_tuple() local 82 static int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function, in pccard_loop_tuple() 88 tuple_t tuple; in pccard_loop_tuple() local 154 static int pcmcia_do_loop_config(tuple_t *tuple, cisparse_t *parse, void *priv) in pcmcia_do_loop_config() 300 static int pcmcia_do_loop_tuple(tuple_t *tuple, cisparse_t *parse, void *priv) in pcmcia_do_loop_tuple() 321 tuple_t *tuple, in pcmcia_loop_tuple() 350 static int pcmcia_do_get_tuple(struct pcmcia_device *p_dev, tuple_t *tuple, in pcmcia_do_get_tuple() 398 static int pcmcia_do_get_mac(struct pcmcia_device *p_dev, tuple_t *tuple, in pcmcia_do_get_mac()
|
/openbmc/linux/kernel/bpf/ |
H A D | mprog.c | 7 static int bpf_mprog_link(struct bpf_tuple *tuple, in bpf_mprog_link() 30 static int bpf_mprog_prog(struct bpf_tuple *tuple, in bpf_mprog_prog() 53 static int bpf_mprog_tuple_relative(struct bpf_tuple *tuple, in bpf_mprog_tuple_relative() 72 static void bpf_mprog_tuple_put(struct bpf_tuple *tuple) in bpf_mprog_tuple_put() 179 struct bpf_tuple *tuple) in bpf_mprog_pos_exact() 194 struct bpf_tuple *tuple) in bpf_mprog_pos_before() 210 struct bpf_tuple *tuple) in bpf_mprog_pos_after() 298 struct bpf_tuple *tuple, int idx) in bpf_mprog_fetch()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cls_redirect.c | 32 struct tuple { struct 33 int family; 34 struct addr_port src; 35 struct addr_port dst; 95 int *server, int *conn, struct tuple *tuple) in set_up_conn() 277 const struct tuple *tuple) in build_input() 403 struct tuple *tuple = &tuples[test->type][j]; in test_cls_redirect_common() local
|
/openbmc/sdbusplus/include/sdbusplus/utility/ |
H A D | tuple_to_array.hpp | 29 constexpr auto tuple_to_array(std::tuple<V, Types...>&& tuple, in tuple_to_array() 50 constexpr auto tuple_to_array(std::tuple<Types...>&& tuple) in tuple_to_array()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_nat_core.c | 158 const struct nf_conntrack_tuple *tuple) in hash_by_src() 216 nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple() 248 nf_nat_used_tuple_new(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple_new() 346 nf_nat_used_tuple_harder(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple_harder() 413 static bool l4proto_in_range(const struct nf_conntrack_tuple *tuple, in l4proto_in_range() 446 static int nf_in_range(const struct nf_conntrack_tuple *tuple, in nf_in_range() 465 const struct nf_conntrack_tuple *tuple) in same_src() 479 const struct nf_conntrack_tuple *tuple, in find_appropriate_src() 510 struct nf_conntrack_tuple *tuple, in find_best_ips_proto() 581 static void nf_nat_l4proto_unique_tuple(struct nf_conntrack_tuple *tuple, in nf_nat_l4proto_unique_tuple() [all …]
|
H A D | nf_nat_proto.c | 41 const struct nf_conntrack_tuple *tuple, in __udp_manip_pkt() 67 const struct nf_conntrack_tuple *tuple, in udp_manip_pkt() 83 const struct nf_conntrack_tuple *tuple, in udplite_manip_pkt() 101 const struct nf_conntrack_tuple *tuple, in sctp_manip_pkt() 143 const struct nf_conntrack_tuple *tuple, in tcp_manip_pkt() 185 const struct nf_conntrack_tuple *tuple, in dccp_manip_pkt() 225 const struct nf_conntrack_tuple *tuple, in icmp_manip_pkt() 256 const struct nf_conntrack_tuple *tuple, in icmpv6_manip_pkt() 280 const struct nf_conntrack_tuple *tuple, in gre_manip_pkt() 319 const struct nf_conntrack_tuple *tuple, in l4proto_manip_pkt()
|
H A D | nf_conntrack_netlink.c | 68 const struct nf_conntrack_tuple *tuple, in ctnetlink_dump_tuples_proto() 92 const struct nf_conntrack_tuple *tuple) in ipv4_tuple_to_nlattr() 101 const struct nf_conntrack_tuple *tuple) in ipv6_tuple_to_nlattr() 1134 struct nf_conntrack_tuple *tuple; in ctnetlink_filter_match() local 1592 struct nf_conntrack_tuple tuple; in ctnetlink_del_conntrack() local 1645 struct nf_conntrack_tuple tuple; in ctnetlink_get_conntrack() local 2859 struct nf_conntrack_tuple tuple, mask; in ctnetlink_glue_attach_expect() local 3252 struct nf_conntrack_tuple tuple; in ctnetlink_dump_exp_ct() local 3294 struct nf_conntrack_tuple tuple; in ctnetlink_get_expect() local 3389 struct nf_conntrack_tuple tuple; in ctnetlink_del_expect() local [all …]
|
H A D | nf_conncount.c | 43 struct nf_conntrack_tuple tuple; member 127 const struct nf_conntrack_tuple *tuple, in __nf_conncount_add() 203 const struct nf_conntrack_tuple *tuple, in nf_conncount_add() 316 const struct nf_conntrack_tuple *tuple, in insert_tree() 398 const struct nf_conntrack_tuple *tuple, in count_tree() 518 const struct nf_conntrack_tuple *tuple, in nf_conncount_count()
|
H A D | nfnetlink_cthelper.c | 72 nfnl_cthelper_parse_tuple(struct nf_conntrack_tuple *tuple, in nfnl_cthelper_parse_tuple() 221 struct nf_conntrack_tuple *tuple) in nfnl_cthelper_create() 424 struct nf_conntrack_tuple tuple; in nfnl_cthelper_new() local 623 struct nf_conntrack_tuple tuple; in nfnl_cthelper_get() local 686 struct nf_conntrack_tuple tuple; in nfnl_cthelper_del() local
|
H A D | nf_conntrack_core.c | 234 const struct nf_conntrack_tuple *tuple, in __hash_conntrack() 242 const struct nf_conntrack_tuple *tuple, in hash_conntrack() 250 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple_ports() 273 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple() 687 const struct nf_conntrack_tuple *tuple, in nf_ct_key_equal() 775 const struct nf_conntrack_tuple *tuple, u32 hash) in __nf_conntrack_find_get() 805 const struct nf_conntrack_tuple *tuple) in nf_conntrack_find_get() 1704 const struct nf_conntrack_tuple *tuple, in init_conntrack() 1815 struct nf_conntrack_tuple tuple; in resolve_normal_ct() local 2104 const struct nf_conntrack_tuple *tuple) in nf_ct_port_tuple_to_nlattr() [all …]
|
H A D | nf_conntrack_proto_icmp.c | 28 struct net *net, struct nf_conntrack_tuple *tuple) in icmp_pkt_to_tuple() 56 bool nf_conntrack_invert_icmp_tuple(struct nf_conntrack_tuple *tuple, in nf_conntrack_invert_icmp_tuple() 275 struct nf_conntrack_tuple *tuple, in icmp_nlattr_to_tuple()
|
H A D | nf_conntrack_proto_icmpv6.c | 34 struct nf_conntrack_tuple *tuple) in icmpv6_pkt_to_tuple() 68 bool nf_conntrack_invert_icmpv6_tuple(struct nf_conntrack_tuple *tuple, in nf_conntrack_invert_icmpv6_tuple() 250 struct nf_conntrack_tuple *tuple, in icmpv6_nlattr_to_tuple()
|
H A D | nf_flow_table_ip.c | 142 struct flow_offload_tuple *tuple) in nf_flow_tuple_encap() 174 struct flow_offload_tuple *tuple) in nf_flow_tuple_ip() 257 static inline bool nf_flow_dst_check(struct flow_offload_tuple *tuple) in nf_flow_dst_check() 354 struct flow_offload_tuple tuple = {}; in nf_flow_offload_lookup() local 580 struct flow_offload_tuple *tuple) in nf_flow_tuple_ipv6() 696 struct flow_offload_tuple tuple = {}; in nf_flow_offload_ipv6_lookup() local
|
H A D | nf_conntrack_expect.c | 82 …tic unsigned int nf_ct_expect_dst_hash(const struct net *n, const struct nf_conntrack_tuple *tuple) in nf_ct_expect_dst_hash() 109 nf_ct_exp_equal(const struct nf_conntrack_tuple *tuple, in nf_ct_exp_equal() 133 const struct nf_conntrack_tuple *tuple) in __nf_ct_expect_find() 155 const struct nf_conntrack_tuple *tuple) in nf_ct_expect_find_get() 174 const struct nf_conntrack_tuple *tuple, bool unlink) in nf_ct_find_expectation()
|
H A D | xt_conntrack.c | 79 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check() local 123 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check_v3() local
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | topology.c | 41 struct snd_soc_tplg_vendor_value_elem *tuple; in avs_tplg_vendor_array_lookup() local 132 struct snd_soc_tplg_vendor_uuid_elem *tuple = elem; in avs_parse_uuid_token() local 143 struct snd_soc_tplg_vendor_value_elem *tuple = elem; in avs_parse_bool_token() local 154 struct snd_soc_tplg_vendor_value_elem *tuple = elem; in avs_parse_byte_token() local 165 struct snd_soc_tplg_vendor_value_elem *tuple = elem; in avs_parse_short_token() local 176 struct snd_soc_tplg_vendor_value_elem *tuple = elem; in avs_parse_word_token() local 187 struct snd_soc_tplg_vendor_string_elem *tuple = elem; in avs_parse_string_token() local 199 struct snd_soc_tplg_vendor_uuid_elem *tuple; in avs_parse_uuid_tokens() local 225 struct snd_soc_tplg_vendor_string_elem *tuple; in avs_parse_string_tokens() local 251 struct snd_soc_tplg_vendor_value_elem *tuple; in avs_parse_word_tokens() local [all …]
|
/openbmc/linux/net/sched/ |
H A D | act_ct.c | 98 tcf_ct_flow_table_add_action_nat_ipv4(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv4() 128 tcf_ct_flow_table_add_action_nat_ipv6(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_ipv6() 143 tcf_ct_flow_table_add_action_nat_tcp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_tcp() 161 tcf_ct_flow_table_add_action_nat_udp(const struct nf_conntrack_tuple *tuple, in tcf_ct_flow_table_add_action_nat_udp() 209 const struct nf_conntrack_tuple *tuple = &ct->tuplehash[dir].tuple; in tcf_ct_flow_table_add_action_nat() local 486 struct nf_conntrack_tuple *tuple; in tcf_ct_flow_table_process_conn() local 514 struct flow_offload_tuple *tuple, in tcf_ct_flow_table_fill_tuple_ipv4() 587 struct flow_offload_tuple *tuple, in tcf_ct_flow_table_fill_tuple_ipv6() 660 struct flow_offload_tuple tuple = {}; in tcf_ct_flow_table_lookup() local
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | pcmciamtd.c | 334 tuple_t *tuple, in pcmciamtd_cistpl_format() 349 tuple_t *tuple, in pcmciamtd_cistpl_jedec() 365 tuple_t *tuple, in pcmciamtd_cistpl_device() 389 tuple_t *tuple, in pcmciamtd_cistpl_geo()
|
/openbmc/linux/include/linux/netfilter/ |
H A D | nf_conntrack_proto_gre.h | 20 struct nf_conntrack_tuple tuple; member
|