Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/bpf/
Dcore.c84 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc_no_stats() argument
86 gfp_t gfp_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO | gfp_extra_flags; in bpf_prog_alloc_no_stats()
95 aux = kzalloc(sizeof(*aux), GFP_KERNEL_ACCOUNT | gfp_extra_flags); in bpf_prog_alloc_no_stats()
100 fp->active = alloc_percpu_gfp(int, GFP_KERNEL_ACCOUNT | gfp_extra_flags); in bpf_prog_alloc_no_stats()
120 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc() argument
122 gfp_t gfp_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO | gfp_extra_flags; in bpf_prog_alloc()
126 prog = bpf_prog_alloc_no_stats(size, gfp_extra_flags); in bpf_prog_alloc()
228 gfp_t gfp_extra_flags) in bpf_prog_realloc() argument
230 gfp_t gfp_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO | gfp_extra_flags; in bpf_prog_realloc()
1379 gfp_t gfp_extra_flags) in bpf_prog_clone_create() argument
[all …]
/linux-5.19.10/include/linux/
Dfilter.h912 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags);
913 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags);
915 gfp_t gfp_extra_flags);