Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/bpf/
Dcpumap.c41 struct bpf_cpu_map_entry;
47 struct bpf_cpu_map_entry *obj;
52 struct bpf_cpu_map_entry { struct
74 struct bpf_cpu_map_entry **cpu_map; argument
108 cost = (u64) cmap->map.max_entries * sizeof(struct bpf_cpu_map_entry *); in cpu_map_alloc()
127 sizeof(struct bpf_cpu_map_entry *), in cpu_map_alloc()
142 static void get_cpu_map_entry(struct bpf_cpu_map_entry *rcpu) in get_cpu_map_entry()
150 struct bpf_cpu_map_entry *rcpu; in cpu_map_kthread_stop()
152 rcpu = container_of(work, struct bpf_cpu_map_entry, kthread_stop_wq); in cpu_map_kthread_stop()
163 static struct sk_buff *cpu_map_build_skb(struct bpf_cpu_map_entry *rcpu, in cpu_map_build_skb()
[all …]
/Linux-v5.4/include/linux/
Dbpf.h728 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key);
730 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp,
838 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) in __cpu_map_lookup_elem()
847 static inline int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, in cpu_map_enqueue()
/Linux-v5.4/net/core/
Dfilter.c3530 struct bpf_cpu_map_entry *rcpu = fwd; in __bpf_tx_xdp_map()