Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/bpf/
Dtest_libbpf.cpp14 bpf_prog_get_fd_by_id(0); in main()
Dlibbpf.map62 bpf_prog_get_fd_by_id;
Dbpf.h160 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.c467 xsk->prog_fd = bpf_prog_get_fd_by_id(prog_id); in xsk_setup_xdp_prog()
Dbpf.c601 int bpf_prog_get_fd_by_id(__u32 id) in bpf_prog_get_fd_by_id() function
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c31 err = bpf_prog_get_fd_by_id(0); in test_bpf_obj_id()
150 prog_fd = bpf_prog_get_fd_by_id(next_id); in test_bpf_obj_id()
/Linux-v5.4/tools/testing/selftests/bpf/
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()
Dtest_cgroup_attach.c520 int fd = bpf_prog_get_fd_by_id(prog_ids[i]); in test_autodetach()
/Linux-v5.4/tools/perf/util/
Dbpf-event.c322 fd = bpf_prog_get_fd_by_id(id); in perf_event__synthesize_bpf_events()
353 fd = bpf_prog_get_fd_by_id(id); in perf_env__add_bpf_info()
/Linux-v5.4/tools/bpf/bpftool/
Dprog.c96 fd = bpf_prog_get_fd_by_id(id); in prog_fd_by_tag()
135 fd = bpf_prog_get_fd_by_id(id); in prog_parse_fd()
389 fd = bpf_prog_get_fd_by_id(id); in do_show()
658 err = do_pin_any(argc, argv, bpf_prog_get_fd_by_id); in do_pin()
Dcgroup.c77 prog_fd = bpf_prog_get_fd_by_id(id); in show_bpf_prog()
Dbtf.c616 fd = bpf_prog_get_fd_by_id(id); in build_btf_type_table()
/Linux-v5.4/kernel/bpf/
Dsyscall.c2156 static int bpf_prog_get_fd_by_id(const union bpf_attr *attr) in bpf_prog_get_fd_by_id() function
2911 err = bpf_prog_get_fd_by_id(&attr); in SYSCALL_DEFINE3()