Home
last modified time | relevance | path

Searched refs:the_map (Results 1 – 1 of 1) sorted by relevance

/test/vts-testcase/kernel/api/bpf_native_test/
Dkern.c27 #define DEFINE_UPDATE_INGRESS_STATS(the_map) \ in DEFINE_BPF_MAP() argument
28 static inline void update_ingress_##the_map(struct __sk_buff* skb) { \ in DEFINE_BPF_MAP()
30 stats_value* value = bpf_##the_map##_lookup_elem(&sock_cookie); \ in DEFINE_BPF_MAP()
33 bpf_##the_map##_update_elem(&sock_cookie, &newValue, BPF_NOEXIST); \ in DEFINE_BPF_MAP()
34 value = bpf_##the_map##_lookup_elem(&sock_cookie); \ in DEFINE_BPF_MAP()