Home
last modified time | relevance | path

Searched refs:lookup_type (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.h25 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \
27 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \
33 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \
34 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, spec->s_fname)
37 #define DR_STE_SET_ONES(lookup_type, tag, t_fname, spec, s_fname) \
38 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, -1)
40 #define DR_STE_SET_TCP_FLAGS(lookup_type, tag, spec) do { \
41 MLX5_SET(ste_##lookup_type, tag, tcp_ns, !!((spec)->tcp_flags & (1 << 8))); \
42 MLX5_SET(ste_##lookup_type, tag, tcp_cwr, !!((spec)->tcp_flags & (1 << 7))); \
43 MLX5_SET(ste_##lookup_type, ta
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c149 u8 lookup_type, in cxgb4_free_raw_mac_filt()
157 mask, idx, lookup_type, in cxgb4_free_raw_mac_filt()
168 u8 lookup_type, in cxgb4_alloc_raw_mac_filt()
175 mask, idx, lookup_type, in cxgb4_alloc_raw_mac_filt()
183 mask, idx, lookup_type, in cxgb4_alloc_raw_mac_filt()
204 u8 dip_hit, u8 lookup_type, bool sleep_ok) in cxgb4_alloc_encap_mac_filt()
209 dip_hit, lookup_type, sleep_ok); in cxgb4_alloc_encap_mac_filt()
144 cxgb4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) cxgb4_free_raw_mac_filt() argument
163 cxgb4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) cxgb4_alloc_raw_mac_filt() argument
201 cxgb4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int vni, unsigned int vni_mask, u8 dip_hit, u8 lookup_type, bool sleep_ok) cxgb4_alloc_encap_mac_filt() argument
H A Dcxgb4.h2010 u8 lookup_type, u8 port_id, bool sleep_ok);
2015 unsigned int vni_mask, u8 dip_hit, u8 lookup_type,
2019 u8 lookup_type, u8 port_id, bool sleep_ok);
2156 u8 dip_hit, u8 lookup_type, bool sleep_ok);
2164 u8 lookup_type,
2172 u8 lookup_type,
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c149 u8 lookup_type, in cxgb4_free_raw_mac_filt()
157 mask, idx, lookup_type, in cxgb4_free_raw_mac_filt()
168 u8 lookup_type, in cxgb4_alloc_raw_mac_filt()
175 mask, idx, lookup_type, in cxgb4_alloc_raw_mac_filt()
183 mask, idx, lookup_type, in cxgb4_alloc_raw_mac_filt()
204 u8 dip_hit, u8 lookup_type, bool sleep_ok) in cxgb4_alloc_encap_mac_filt()
209 dip_hit, lookup_type, sleep_ok); in cxgb4_alloc_encap_mac_filt()
144 cxgb4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) cxgb4_free_raw_mac_filt() argument
163 cxgb4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) cxgb4_alloc_raw_mac_filt() argument
201 cxgb4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int vni, unsigned int vni_mask, u8 dip_hit, u8 lookup_type, bool sleep_ok) cxgb4_alloc_encap_mac_filt() argument
H A Dcxgb4.h2006 u8 lookup_type, u8 port_id, bool sleep_ok);
2011 unsigned int vni_mask, u8 dip_hit, u8 lookup_type,
2015 u8 lookup_type, u8 port_id, bool sleep_ok);
2152 u8 dip_hit, u8 lookup_type, bool sleep_ok);
2160 u8 lookup_type,
2168 u8 lookup_type,
/kernel/linux/linux-5.10/net/ipv4/netfilter/
H A Dnf_tproxy_ipv4.c82 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v4()
95 switch (lookup_type) { in nf_tproxy_get_sock_v4()
134 if ((lookup_type == NF_TPROXY_LOOKUP_ESTABLISHED && in nf_tproxy_get_sock_v4()
136 (lookup_type == NF_TPROXY_LOOKUP_LISTENER && connected)) { in nf_tproxy_get_sock_v4()
148 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
77 nf_tproxy_get_sock_v4(struct net *net, struct sk_buff *skb, const u8 protocol, const __be32 saddr, const __be32 daddr, const __be16 sport, const __be16 dport, const struct net_device *in, const enum nf_tproxy_lookup_t lookup_type) nf_tproxy_get_sock_v4() argument
/kernel/linux/linux-5.10/net/ipv6/netfilter/
H A Dnf_tproxy_ipv6.c81 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v6()
94 switch (lookup_type) { in nf_tproxy_get_sock_v6()
132 if ((lookup_type == NF_TPROXY_LOOKUP_ESTABLISHED && (!connected || wildcard)) || in nf_tproxy_get_sock_v6()
133 (lookup_type == NF_TPROXY_LOOKUP_LISTENER && connected)) { in nf_tproxy_get_sock_v6()
145 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v6()
76 nf_tproxy_get_sock_v6(struct net *net, struct sk_buff *skb, int thoff, const u8 protocol, const struct in6_addr *saddr, const struct in6_addr *daddr, const __be16 sport, const __be16 dport, const struct net_device *in, const enum nf_tproxy_lookup_t lookup_type) nf_tproxy_get_sock_v6() argument
/kernel/linux/linux-6.6/net/ipv4/netfilter/
H A Dnf_tproxy_ipv4.c80 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v4()
94 switch (lookup_type) { in nf_tproxy_get_sock_v4()
130 if ((lookup_type == NF_TPROXY_LOOKUP_ESTABLISHED && in nf_tproxy_get_sock_v4()
132 (lookup_type == NF_TPROXY_LOOKUP_LISTENER && connected)) { in nf_tproxy_get_sock_v4()
144 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
75 nf_tproxy_get_sock_v4(struct net *net, struct sk_buff *skb, const u8 protocol, const __be32 saddr, const __be32 daddr, const __be16 sport, const __be16 dport, const struct net_device *in, const enum nf_tproxy_lookup_t lookup_type) nf_tproxy_get_sock_v4() argument
/kernel/linux/linux-6.6/net/ipv6/netfilter/
H A Dnf_tproxy_ipv6.c81 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v6()
95 switch (lookup_type) { in nf_tproxy_get_sock_v6()
132 if ((lookup_type == NF_TPROXY_LOOKUP_ESTABLISHED && (!connected || wildcard)) || in nf_tproxy_get_sock_v6()
133 (lookup_type == NF_TPROXY_LOOKUP_LISTENER && connected)) { in nf_tproxy_get_sock_v6()
145 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v6()
76 nf_tproxy_get_sock_v6(struct net *net, struct sk_buff *skb, int thoff, const u8 protocol, const struct in6_addr *saddr, const struct in6_addr *daddr, const __be16 sport, const __be16 dport, const struct net_device *in, const enum nf_tproxy_lookup_t lookup_type) nf_tproxy_get_sock_v6() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.c22 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \
24 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \
30 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \
31 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, spec->s_fname)
34 #define DR_STE_SET_MASK(lookup_type, bit_mask, bm_fname, spec, s_fname) \
35 DR_STE_SET_VAL(lookup_type, bit_mask, bm_fname, spec, s_fname, -1)
38 #define DR_STE_SET_MASK_V(lookup_type, bit_mask, bm_fname, spec, s_fname) \
39 DR_STE_SET_VAL(lookup_type, bit_mask, bm_fname, spec, s_fname, (spec)->s_fname)
41 #define DR_STE_SET_TCP_FLAGS(lookup_type, tag, spec) do { \
42 MLX5_SET(ste_##lookup_type, ta
[all...]
/kernel/linux/linux-5.10/include/net/netfilter/
H A Dnf_tproxy.h87 const enum nf_tproxy_lookup_t lookup_type);
126 const enum nf_tproxy_lookup_t lookup_type);
/kernel/linux/linux-6.6/include/net/netfilter/
H A Dnf_tproxy.h87 const enum nf_tproxy_lookup_t lookup_type);
126 const enum nf_tproxy_lookup_t lookup_type);
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dutils.py28 self._type = gdb.lookup_type(self._name)
66 return container_of(ptr, gdb.lookup_type(typename.string()).pointer(),
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dslab.py34 track_type = gdb.lookup_type('struct track')
39 return slab.cast(gdb.lookup_type("struct folio").pointer())
56 return cache['inuse'] + gdb.lookup_type("void").pointer().sizeof
64 p += gdb.lookup_type('struct track').sizeof * 2
H A Dutils.py28 self._type = gdb.lookup_type(self._name)
85 return container_of(ptr, gdb.lookup_type(typename.string()).pointer(),
H A Dstackdepot.py25 handle_parts_t = gdb.lookup_type("union handle_parts")
H A Dmm.py71 self.SECTIONS_PER_ROOT = self.PAGE_SIZE // gdb.lookup_type("struct mem_section").sizeof
268 __idx = int((page.cast(gdb.lookup_type("unsigned long")) - self.VMEMMAP_START).cast(utils.get_ulong_type())) // self.struct_page_size
H A Dinterrupts.py76 gdb.lookup_type("struct irqaction")
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
H A Drxe_loc.h98 enum lookup_type { enum
104 enum lookup_type type);
/kernel/linux/linux-5.10/include/linux/
H A Dkey-type.h55 unsigned lookup_type; /* Type of lookup for this search. */ member
/kernel/linux/linux-6.6/include/linux/
H A Dkey-type.h56 unsigned lookup_type; /* Type of lookup for this search. */ member
/kernel/linux/linux-5.10/security/keys/
H A Drequest_key_auth.c255 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in key_get_instantiation_authkey()
H A Dkeyring.c648 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_DIRECT) { in search_keyring()
693 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_ITERATE || in search_nested_keyrings()
949 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_search()
1218 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_detect_cycle()
/kernel/linux/linux-6.6/security/keys/
H A Drequest_key_auth.c255 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in key_get_instantiation_authkey()
H A Dkeyring.c648 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_DIRECT) { in search_keyring()
693 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_ITERATE || in search_nested_keyrings()
949 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_search()
1218 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_detect_cycle()

Completed in 23 milliseconds

12