Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/bpf/
Dcpumap.c41 struct bpf_cpu_map_entry;
47 struct bpf_cpu_map_entry *obj;
52 struct bpf_cpu_map_entry { struct
77 struct bpf_cpu_map_entry **cpu_map; argument
113 cost = (u64) cmap->map.max_entries * sizeof(struct bpf_cpu_map_entry *); in cpu_map_alloc()
124 sizeof(struct bpf_cpu_map_entry *), in cpu_map_alloc()
137 static void get_cpu_map_entry(struct bpf_cpu_map_entry *rcpu) in get_cpu_map_entry()
145 struct bpf_cpu_map_entry *rcpu; in cpu_map_kthread_stop()
147 rcpu = container_of(work, struct bpf_cpu_map_entry, kthread_stop_wq); in cpu_map_kthread_stop()
215 static void put_cpu_map_entry(struct bpf_cpu_map_entry *rcpu) in put_cpu_map_entry()
[all …]
/Linux-v5.10/include/linux/
Dbpf.h1393 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key);
1395 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp,
1575 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) in __cpu_map_lookup_elem()
1584 static inline int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, in cpu_map_enqueue()