Home
last modified time | relevance | path

Searched refs:bpf_prog_array_alloc (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dnet_namespace.c135 new_array = bpf_prog_array_alloc(cnt, GFP_KERNEL); in bpf_netns_link_release()
343 run_array = bpf_prog_array_alloc(1, GFP_KERNEL); in netns_bpf_prog_attach()
455 run_array = bpf_prog_array_alloc(cnt + 1, GFP_KERNEL); in netns_bpf_link_attach()
H A Dcore.c1926 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc() function
2121 array = bpf_prog_array_alloc(new_prog_cnt + 1, GFP_KERNEL); in bpf_prog_array_copy()
H A Dcgroup.c244 progs = bpf_prog_array_alloc(cnt, GFP_KERNEL); in compute_effective_progs()
/OK3568_Linux_fs/kernel/net/bpf/
H A Dtest_run.c871 progs = bpf_prog_array_alloc(1, GFP_KERNEL); in bpf_prog_test_run_sk_lookup()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf.h1080 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags);