Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/bpf/
Dcore.c80 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc_no_stats() argument
82 gfp_t gfp_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO | gfp_extra_flags; in bpf_prog_alloc_no_stats()
91 aux = kzalloc(sizeof(*aux), GFP_KERNEL_ACCOUNT | gfp_extra_flags); in bpf_prog_alloc_no_stats()
96 fp->active = alloc_percpu_gfp(int, GFP_KERNEL_ACCOUNT | gfp_extra_flags); in bpf_prog_alloc_no_stats()
115 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc() argument
117 gfp_t gfp_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO | gfp_extra_flags; in bpf_prog_alloc()
121 prog = bpf_prog_alloc_no_stats(size, gfp_extra_flags); in bpf_prog_alloc()
223 gfp_t gfp_extra_flags) in bpf_prog_realloc() argument
225 gfp_t gfp_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO | gfp_extra_flags; in bpf_prog_realloc()
1092 gfp_t gfp_extra_flags) in bpf_prog_clone_create() argument
[all …]
/Linux-v5.15/include/linux/
Dfilter.h920 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags);
921 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags);
923 gfp_t gfp_extra_flags);