Lines Matching refs:inner_map
76 static __always_inline int do_reg_lookup(void *inner_map, u32 port) in do_reg_lookup() argument
80 result = bpf_map_lookup_elem(inner_map, &port); in do_reg_lookup()
84 static __always_inline int do_inline_array_lookup(void *inner_map, u32 port) in do_inline_array_lookup() argument
88 if (inner_map != &port_a) in do_inline_array_lookup()
95 static __always_inline int do_inline_hash_lookup(void *inner_map, u32 port) in do_inline_hash_lookup() argument
99 if (inner_map != &port_h) in do_inline_hash_lookup()
112 void *outer_map, *inner_map; in BPF_KSYSCALL() local
150 inner_map = bpf_map_lookup_elem(outer_map, &port_key); in BPF_KSYSCALL()
151 if (!inner_map) { in BPF_KSYSCALL()
157 ret = do_reg_lookup(inner_map, port_key); in BPF_KSYSCALL()
160 inline_ret = do_inline_array_lookup(inner_map, port_key); in BPF_KSYSCALL()
162 inline_ret = do_inline_hash_lookup(inner_map, port_key); in BPF_KSYSCALL()