Home
last modified time | relevance | path

Searched refs:bpf_prog_get_fd_by_id (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_cpp.cpp18 bpf_prog_get_fd_by_id(0); in main()
Dtest_skb_cgroup_id_user.c88 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_map_fd_by_prog_id()
Dtest_tcp_check_syncookie_user.c89 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_map_fd_by_prog_id()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dcgroup_attach_autodetach.c88 int fd = bpf_prog_get_fd_by_id(prog_ids[i]); in test_cgroup_attach_autodetach()
Dbpf_obj_id.c35 err = bpf_prog_get_fd_by_id(0); in test_bpf_obj_id()
197 prog_fd = bpf_prog_get_fd_by_id(next_id); in test_bpf_obj_id()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map62 bpf_prog_get_fd_by_id;
Dbpf.h229 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
DREADME.rst97 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
Dxsk.c591 ctx->prog_fd = bpf_prog_get_fd_by_id(prog_id); in xsk_setup_xdp_prog()
Dbpf.c793 int bpf_prog_get_fd_by_id(__u32 id) in bpf_prog_get_fd_by_id() function
/Linux-v5.10/tools/perf/util/
Dbpf-event.c396 fd = bpf_prog_get_fd_by_id(id); in perf_event__synthesize_bpf_events()
444 fd = bpf_prog_get_fd_by_id(id); in perf_env__add_bpf_info()
/Linux-v5.10/tools/bpf/bpftool/
Dcommon.c666 fd = bpf_prog_get_fd_by_id(id); in prog_fd_by_nametag()
720 (*fds)[0] = bpf_prog_get_fd_by_id(id); in prog_parse_fds()
Dcgroup.c56 prog_fd = bpf_prog_get_fd_by_id(id); in show_bpf_prog()
Dlink.c101 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_prog_info()
Dbtf.c650 fd = bpf_prog_get_fd_by_id(id); in build_btf_type_table()
Dbtf_dumper.c54 prog_fd = bpf_prog_get_fd_by_id(prog_id); in dump_prog_id_as_func_ptr()
Dprog.c586 fd = bpf_prog_get_fd_by_id(id); in do_show()
/Linux-v5.10/kernel/bpf/
Dsyscall.c3216 static int bpf_prog_get_fd_by_id(const union bpf_attr *attr) in bpf_prog_get_fd_by_id() function
4432 err = bpf_prog_get_fd_by_id(&attr); in SYSCALL_DEFINE3()