Home
last modified time | relevance | path

Searched refs:bpf_link_get_fd_by_id (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/tools/bpf/bpftool/ !
Dlink.c35 fd = bpf_link_get_fd_by_id(id); in link_parse_fd()
399 fd = bpf_link_get_fd_by_id(id); in do_show()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ !
Dbpf_obj_id.c43 err = bpf_link_get_fd_by_id(0); in serial_test_bpf_obj_id()
307 link_fd = bpf_link_get_fd_by_id(next_id); in serial_test_bpf_obj_id()
Dunpriv_bpf_disabled.c193 ASSERT_EQ(bpf_link_get_fd_by_id(link_info.id), -EPERM, "link_get_fd_by_id_fails"); in test_unpriv_bpf_disabled_negative()
/linux-6.1.9/tools/lib/bpf/ !
Dlibbpf.map165 bpf_link_get_fd_by_id;
Dbpf.h371 LIBBPF_API int bpf_link_get_fd_by_id(__u32 id);
Dbpf.c977 int bpf_link_get_fd_by_id(__u32 id) in bpf_link_get_fd_by_id() function
/linux-6.1.9/tools/perf/util/ !
Dbpf_counter.c446 evsel->bperf_leader_link_fd = bpf_link_get_fd_by_id(entry->link_id); in bperf_reload_leader_program()
500 evsel->bperf_leader_link_fd = bpf_link_get_fd_by_id(entry.link_id); in bperf__load()
/linux-6.1.9/tools/testing/selftests/bpf/ !
Dxsk.c692 fd = bpf_link_get_fd_by_id(id); in xsk_link_lookup()
/linux-6.1.9/kernel/bpf/ !
Dsyscall.c4747 static int bpf_link_get_fd_by_id(const union bpf_attr *attr) in bpf_link_get_fd_by_id() function
5039 err = bpf_link_get_fd_by_id(&attr); in __sys_bpf()