Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dpercpu.h139 #define __alloc_percpu_gfp(_size, _align, _gfp) \ macro
147 (typeof(type) __percpu *)__alloc_percpu_gfp(sizeof(type), \
H A Dbpf.h2410 __alloc_percpu_gfp(_size, _align, _flags)
/linux-6.15/kernel/bpf/
H A Dmemalloc.c144 void __percpu *pptr = __alloc_percpu_gfp(c->unit_size, 8, flags); in __alloc()
525 pc = __alloc_percpu_gfp(sizeof(*pc), 8, GFP_KERNEL); in bpf_mem_alloc_init()
552 pcc = __alloc_percpu_gfp(sizeof(*cc), 8, GFP_KERNEL); in bpf_mem_alloc_init()
581 pcc = __alloc_percpu_gfp(sizeof(struct bpf_mem_caches), 8, GFP_KERNEL); in bpf_mem_alloc_percpu_init()
H A Dsyscall.c555 ptr = __alloc_percpu_gfp(size, align, flags | __GFP_ACCOUNT); in bpf_map_alloc_percpu()
/linux-6.15/lib/
H A Dpercpu-refcount.c72 __alloc_percpu_gfp(sizeof(unsigned long), align, gfp); in percpu_ref_init()
H A Dpercpu_counter.c198 counters = __alloc_percpu_gfp(nr_counters * counter_size, in __percpu_counter_init_many()
/linux-6.15/fs/bcachefs/
H A Ddisk_accounting.c327 .v[0] = __alloc_percpu_gfp(n.nr_counters * sizeof(u64), in __bch2_accounting_mem_insert()
335 n.v[1] = __alloc_percpu_gfp(n.nr_counters * sizeof(u64), in __bch2_accounting_mem_insert()
521 e->v[1] = __alloc_percpu_gfp(e->nr_counters * sizeof(u64), in bch2_gc_accounting_start()
/linux-6.15/net/core/
H A Ddst.c326 md_dst = __alloc_percpu_gfp(struct_size(md_dst, u.tun_info.options, in metadata_dst_alloc_percpu()
/linux-6.15/block/
H A Dblk-iolatency.c975 iolat->stats = __alloc_percpu_gfp(sizeof(struct latency_stat), in iolatency_pd_alloc()
/linux-6.15/arch/x86/net/
H A Dbpf_jit_comp.c3603 priv_stack_ptr = __alloc_percpu_gfp(priv_stack_alloc_sz, 8, GFP_KERNEL); in bpf_int_jit_compile()