Lines Matching full:caches
577 ma->caches = pcc; in bpf_mem_alloc_init()
589 ma->caches = pcc; in bpf_mem_alloc_percpu_init()
611 pcc = ma->caches; in bpf_mem_alloc_percpu_unit_init()
674 if (ma->caches) { in check_leaked_objs()
676 cc = per_cpu_ptr(ma->caches, cpu); in check_leaked_objs()
692 free_percpu(ma->caches); in free_mem_alloc_no_barrier()
694 ma->caches = NULL; in free_mem_alloc_no_barrier()
768 if (ma->caches) { in bpf_mem_alloc_destroy()
771 cc = per_cpu_ptr(ma->caches, cpu); in bpf_mem_alloc_destroy()
910 ret = unit_alloc(this_cpu_ptr(ma->caches)->cache + idx); in bpf_mem_alloc()
927 unit_free(this_cpu_ptr(ma->caches)->cache + idx, ptr); in bpf_mem_free()
943 unit_free_rcu(this_cpu_ptr(ma->caches)->cache + idx, ptr); in bpf_mem_free_rcu()
1042 if (ma->caches) { in bpf_mem_alloc_set_dtor()
1044 cc = per_cpu_ptr(ma->caches, cpu); in bpf_mem_alloc_set_dtor()