Searched refs:bpf_mem_cache (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | memalloc.c | 79 struct bpf_mem_cache { struct 102 struct bpf_mem_cache *tgt; argument 121 struct bpf_mem_cache cache[NUM_CACHES]; argument 136 static void *__alloc(struct bpf_mem_cache *c, int node, gfp_t flags) in __alloc() 154 static struct mem_cgroup *get_memcg(const struct bpf_mem_cache *c) in get_memcg() 168 static void inc_active(struct bpf_mem_cache *c, unsigned long *flags) in inc_active() 186 static void dec_active(struct bpf_mem_cache *c, unsigned long *flags) in dec_active() 193 static void add_obj_to_free_list(struct bpf_mem_cache *c, void *obj) in add_obj_to_free_list() 204 static void alloc_bulk(struct bpf_mem_cache *c, int cnt, int node, bool atomic) in alloc_bulk() 279 struct bpf_mem_cache *c = container_of(head, struct bpf_mem_cache, rcu_ttrace); in __free_rcu() [all …]
|
/openbmc/linux/include/linux/ |
H A D | bpf_mem_alloc.h | 8 struct bpf_mem_cache; 13 struct bpf_mem_cache __percpu *cache;
|