Lines Matching defs:c
140 static void *__alloc(struct bpf_mem_cache *c, int node, gfp_t flags) in __alloc()
158 static struct mem_cgroup *get_memcg(const struct bpf_mem_cache *c) in get_memcg()
169 static void inc_active(struct bpf_mem_cache *c, unsigned long *flags) in inc_active()
187 static void dec_active(struct bpf_mem_cache *c, unsigned long *flags) in dec_active()
194 static void add_obj_to_free_list(struct bpf_mem_cache *c, void *obj) in add_obj_to_free_list()
205 static void alloc_bulk(struct bpf_mem_cache *c, int cnt, int node, bool atomic) in alloc_bulk()
280 struct bpf_mem_cache *c = container_of(head, struct bpf_mem_cache, rcu_ttrace); in __free_rcu() local
297 static void enque_to_free(struct bpf_mem_cache *c, void *obj) in enque_to_free()
307 static void do_call_rcu_ttrace(struct bpf_mem_cache *c) in do_call_rcu_ttrace()
336 static void free_bulk(struct bpf_mem_cache *c) in free_bulk()
366 struct bpf_mem_cache *c = container_of(head, struct bpf_mem_cache, rcu); in __free_by_rcu() local
385 static void check_free_by_rcu(struct bpf_mem_cache *c) in check_free_by_rcu()
432 struct bpf_mem_cache *c = container_of(work, struct bpf_mem_cache, refill_work); in bpf_mem_refill() local
448 static void notrace irq_work_raise(struct bpf_mem_cache *c) in irq_work_raise()
470 static void init_refill_work(struct bpf_mem_cache *c) in init_refill_work()
491 static void prefill_mem_cache(struct bpf_mem_cache *c, int cpu) in prefill_mem_cache()
515 struct bpf_mem_cache *c; struct bpf_mem_cache __percpu *pc; in bpf_mem_alloc_init() local
599 struct bpf_mem_cache *c; in bpf_mem_alloc_percpu_unit_init() local
630 static void drain_mem_cache(struct bpf_mem_cache *c) in drain_mem_cache()
650 static void check_mem_cache(struct bpf_mem_cache *c) in check_mem_cache()
664 struct bpf_mem_cache *c; in check_leaked_objs() local
748 struct bpf_mem_cache *c; in bpf_mem_alloc_destroy() local
785 static void notrace *unit_alloc(struct bpf_mem_cache *c) in unit_alloc()
828 static void notrace unit_free(struct bpf_mem_cache *c, void *ptr) in unit_free()
868 static void notrace unit_free_rcu(struct bpf_mem_cache *c, void *ptr) in unit_free_rcu()
912 struct bpf_mem_cache *c; in bpf_mem_free() local
928 struct bpf_mem_cache *c; in bpf_mem_free_rcu() local
990 struct bpf_mem_cache *c; in bpf_mem_cache_alloc_flags() local