Home
last modified time | relevance | path

Searched refs:__alloc_percpu_gfp (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/
H A Dpercpu.h141 #define __alloc_percpu_gfp(_size, _align, _gfp) \
149 (typeof(type) __percpu *)__alloc_percpu_gfp(sizeof(type), \
H A Dbpf.h2271 __alloc_percpu_gfp(_size, _align, _flags)
/linux/kernel/bpf/
H A Dmemalloc.c142 void *pptr = __alloc_percpu_gfp(c->unit_size, 8, flags); in __alloc()
529 pc = __alloc_percpu_gfp(sizeof(*pc), 8, GFP_KERNEL); in bpf_mem_alloc_init()
556 pcc = __alloc_percpu_gfp(sizeof(*cc), 8, GFP_KERNEL); in bpf_mem_alloc_init()
585 pcc = __alloc_percpu_gfp(sizeof(struct bpf_mem_caches), 8, GFP_KERNEL); in bpf_mem_alloc_percpu_init()
H A Dsyscall.c466 ptr = __alloc_percpu_gfp(size, align, flags | __GFP_ACCOUNT); in bpf_map_alloc_percpu()
/linux/lib/
H A Dpercpu-refcount.c72 __alloc_percpu_gfp(sizeof(unsigned long), align, gfp); in percpu_ref_init()
H A Dpercpu_counter.c164 counters = __alloc_percpu_gfp(nr_counters * counter_size, in __percpu_counter_init_many()
/linux/net/core/
H A Ddst.c310 md_dst = __alloc_percpu_gfp(sizeof(struct metadata_dst) + optslen, in metadata_dst_alloc_percpu()
/linux/fs/bcachefs/
H A Dreplicas.c321 if (!(new_usage[i] = __alloc_percpu_gfp(bytes, in replicas_table_update()
328 !(new_gc = __alloc_percpu_gfp(bytes, sizeof(u64), GFP_KERNEL)))) in replicas_table_update()
H A Dbtree_gc.c829 c->usage_gc = __alloc_percpu_gfp(fs_usage_u64s(c) * sizeof(u64), in bch2_gc_mark_key()
/linux/block/
H A Dblk-iolatency.c973 iolat->stats = __alloc_percpu_gfp(sizeof(struct latency_stat), in iolatency_pd_alloc()
/linux/mm/
H A Dpercpu.c1928 void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp) __alloc_percpu_gfp() function