Home
last modified time | relevance | path

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

/Linux-v6.1/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()
123 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc() argument
125 gfp_t gfp_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO | gfp_extra_flags; in bpf_prog_alloc()
129 prog = bpf_prog_alloc_no_stats(size, gfp_extra_flags); in bpf_prog_alloc()
231 gfp_t gfp_extra_flags) in bpf_prog_realloc() argument
233 gfp_t gfp_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO | gfp_extra_flags; in bpf_prog_realloc()
1350 gfp_t gfp_extra_flags) in bpf_prog_clone_create() argument
[all …]
/Linux-v6.1/include/linux/
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);