Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/bpf/
Dcore.c97 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc_no_stats() argument
99 gfp_t gfp_flags = bpf_memcg_flags(GFP_KERNEL | __GFP_ZERO | gfp_extra_flags); in bpf_prog_alloc_no_stats()
108 aux = kzalloc(sizeof(*aux), bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats()
113 fp->active = alloc_percpu_gfp(int, bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats()
139 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags) in bpf_prog_alloc() argument
141 gfp_t gfp_flags = bpf_memcg_flags(GFP_KERNEL | __GFP_ZERO | gfp_extra_flags); in bpf_prog_alloc()
145 prog = bpf_prog_alloc_no_stats(size, gfp_extra_flags); in bpf_prog_alloc()
247 gfp_t gfp_extra_flags) in bpf_prog_realloc() argument
249 gfp_t gfp_flags = bpf_memcg_flags(GFP_KERNEL | __GFP_ZERO | gfp_extra_flags); in bpf_prog_realloc()
1425 gfp_t gfp_extra_flags) in bpf_prog_clone_create() argument
[all …]
/linux-6.12.1/include/linux/
Dfilter.h1075 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags);
1076 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags);
1078 gfp_t gfp_extra_flags);