Lines Matching refs:caches
573 ma->caches = pcc; in bpf_mem_alloc_init()
585 ma->caches = pcc; in bpf_mem_alloc_percpu_init()
607 pcc = ma->caches; in bpf_mem_alloc_percpu_unit_init()
670 if (ma->caches) { in check_leaked_objs()
672 cc = per_cpu_ptr(ma->caches, cpu); in check_leaked_objs()
685 free_percpu(ma->caches); in free_mem_alloc_no_barrier()
687 ma->caches = NULL; in free_mem_alloc_no_barrier()
761 if (ma->caches) { in bpf_mem_alloc_destroy()
764 cc = per_cpu_ptr(ma->caches, cpu); in bpf_mem_alloc_destroy()
903 ret = unit_alloc(this_cpu_ptr(ma->caches)->cache + idx); in bpf_mem_alloc()
920 unit_free(this_cpu_ptr(ma->caches)->cache + idx, ptr); in bpf_mem_free()
936 unit_free_rcu(this_cpu_ptr(ma->caches)->cache + idx, ptr); in bpf_mem_free_rcu()