Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dmemalloc.c79 struct bpf_mem_cache { struct
109 struct bpf_mem_cache cache[NUM_CACHES]; argument
124 static void *__alloc(struct bpf_mem_cache *c, int node) in __alloc()
149 static struct mem_cgroup *get_memcg(const struct bpf_mem_cache *c) in get_memcg()
164 static void alloc_bulk(struct bpf_mem_cache *c, int cnt, int node) in alloc_bulk()
201 static void free_one(struct bpf_mem_cache *c, void *obj) in free_one()
214 struct bpf_mem_cache *c = container_of(head, struct bpf_mem_cache, rcu); in __free_rcu()
225 struct bpf_mem_cache *c = container_of(head, struct bpf_mem_cache, rcu); in __free_rcu_tasks_trace()
230 static void enque_to_free(struct bpf_mem_cache *c, void *obj) in enque_to_free()
240 static void do_call_rcu(struct bpf_mem_cache *c) in do_call_rcu()
[all …]
/linux-6.1.9/include/linux/
Dbpf_mem_alloc.h8 struct bpf_mem_cache;
13 struct bpf_mem_cache __percpu *cache;