Lines Matching refs:percpu
254 static void free_one(void *obj, bool percpu) in free_one() argument
256 if (percpu) { in free_one()
265 static int free_all(struct llist_node *llnode, bool percpu) in free_all() argument
271 free_one(pos, percpu); in free_all()
496 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu) in bpf_mem_alloc_init() argument
504 ma->percpu = percpu; in bpf_mem_alloc_init()
511 if (percpu) in bpf_mem_alloc_init()
536 if (WARN_ON_ONCE(percpu)) in bpf_mem_alloc_init()
564 bool percpu = !!c->percpu_size; in drain_mem_cache() local
573 free_all(llist_del_all(&c->free_by_rcu_ttrace), percpu); in drain_mem_cache()
574 free_all(llist_del_all(&c->waiting_for_gp_ttrace), percpu); in drain_mem_cache()
575 free_all(__llist_del_all(&c->free_llist), percpu); in drain_mem_cache()
576 free_all(__llist_del_all(&c->free_llist_extra), percpu); in drain_mem_cache()
577 free_all(__llist_del_all(&c->free_by_rcu), percpu); in drain_mem_cache()
578 free_all(__llist_del_all(&c->free_llist_extra_rcu), percpu); in drain_mem_cache()
579 free_all(llist_del_all(&c->waiting_for_gp), percpu); in drain_mem_cache()