Home
last modified time | relevance | path

Searched refs:gfp_extra_flags (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/kernel/bpf/
A Dcore.c90 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc_no_stats() argument
92 gfp_t gfp_flags = bpf_memcg_flags(GFP_KERNEL | __GFP_ZERO | gfp_extra_flags); in bpf_prog_alloc_no_stats()
101 aux = kzalloc(sizeof(*aux), bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats()
106 fp->active = alloc_percpu_gfp(int, bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats()
129 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc() argument
131 gfp_t gfp_flags = bpf_memcg_flags(GFP_KERNEL | __GFP_ZERO | gfp_extra_flags); in bpf_prog_alloc()
135 prog = bpf_prog_alloc_no_stats(size, gfp_extra_flags); in bpf_prog_alloc()
237 gfp_t gfp_extra_flags) in bpf_prog_realloc() argument
239 gfp_t gfp_flags = bpf_memcg_flags(GFP_KERNEL | __GFP_ZERO | gfp_extra_flags); in bpf_prog_realloc()
1354 gfp_t gfp_extra_flags) in bpf_prog_clone_create() argument
[all …]
/linux-6.3-rc2/include/linux/
A Dfilter.h884 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags);
885 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags);
887 gfp_t gfp_extra_flags);

Completed in 11 milliseconds