Lines Matching refs:bpf_mem_cache
79 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()
216 static void free_one(struct bpf_mem_cache *c, void *obj) in free_one()
229 struct bpf_mem_cache *c = container_of(head, struct bpf_mem_cache, rcu); in __free_rcu()
249 static void enque_to_free(struct bpf_mem_cache *c, void *obj) in enque_to_free()
259 static void do_call_rcu(struct bpf_mem_cache *c) in do_call_rcu()
282 static void free_bulk(struct bpf_mem_cache *c) in free_bulk()
312 struct bpf_mem_cache *c = container_of(work, struct bpf_mem_cache, refill_work); in bpf_mem_refill()
326 static void notrace irq_work_raise(struct bpf_mem_cache *c) in irq_work_raise()
346 static void prefill_mem_cache(struct bpf_mem_cache *c, int cpu) in prefill_mem_cache()
381 struct bpf_mem_cache *c, __percpu *pc; in bpf_mem_alloc_init()
435 static void drain_mem_cache(struct bpf_mem_cache *c) in drain_mem_cache()
521 struct bpf_mem_cache *c; in bpf_mem_alloc_destroy()
566 static void notrace *unit_alloc(struct bpf_mem_cache *c) in unit_alloc()
602 static void notrace unit_free(struct bpf_mem_cache *c, void *ptr) in unit_free()