Searched refs:bpf_cpu_map_entry (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/kernel/bpf/ |
D | cpumap.c | 47 struct bpf_cpu_map_entry { struct 67 struct bpf_cpu_map_entry **cpu_map; argument 71 static int bq_flush_to_queue(struct bpf_cpu_map_entry *rcpu, 107 cost = (u64) cmap->map.max_entries * sizeof(struct bpf_cpu_map_entry *); in cpu_map_alloc() 128 sizeof(struct bpf_cpu_map_entry *), in cpu_map_alloc() 141 static void get_cpu_map_entry(struct bpf_cpu_map_entry *rcpu) in get_cpu_map_entry() 149 struct bpf_cpu_map_entry *rcpu; in cpu_map_kthread_stop() 151 rcpu = container_of(work, struct bpf_cpu_map_entry, kthread_stop_wq); in cpu_map_kthread_stop() 162 static struct sk_buff *cpu_map_build_skb(struct bpf_cpu_map_entry *rcpu, in cpu_map_build_skb() 225 static void put_cpu_map_entry(struct bpf_cpu_map_entry *rcpu) in put_cpu_map_entry() [all …]
|
/Linux-v4.19/include/linux/ |
D | bpf.h | 518 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key); 521 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp, 620 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) in __cpu_map_lookup_elem() 633 static inline int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, in cpu_map_enqueue()
|
/Linux-v4.19/net/core/ |
D | filter.c | 3197 struct bpf_cpu_map_entry *rcpu = fwd; in __bpf_tx_xdp_map()
|