Home
last modified time | relevance | path

Searched refs:bpf_link_get_info_by_fd (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dfill_link_info.c49 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_perf_link_info()
136 err = bpf_link_get_info_by_fd(fd, &info, &len); in kprobe_fill_invalid_user_buffer()
140 err = bpf_link_get_info_by_fd(fd, &info, &len); in kprobe_fill_invalid_user_buffer()
144 err = bpf_link_get_info_by_fd(fd, &info, &len); in kprobe_fill_invalid_user_buffer()
266 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_kmulti_link_info()
303 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_kmulti_invalid_user_buffer()
308 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_kmulti_invalid_user_buffer()
314 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_kmulti_invalid_user_buffer()
323 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_kmulti_invalid_user_buffer()
330 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_kmulti_invalid_user_buffer()
[all …]
Dtc_helpers.h31 err = bpf_link_get_info_by_fd(fd, &link_info, &link_info_len); in id_from_link_fd()
45 err = bpf_link_get_info_by_fd(fd, &link_info, &link_info_len); in ifindex_from_link_fd()
Dxdp_link.c122 err = bpf_link_get_info_by_fd(bpf_link__fd(link), in serial_test_xdp_link()
141 err = bpf_link_get_info_by_fd(bpf_link__fd(link), in serial_test_xdp_link()
Dperf_link.c57 err = bpf_link_get_info_by_fd(link_fd, &info, &info_len); in serial_test_perf_link()
Dbpf_obj_id.c141 err = bpf_link_get_info_by_fd(bpf_link__fd(links[i]), in serial_test_bpf_obj_id()
271 err = bpf_link_get_info_by_fd(link_fd, &link_info, &info_len); in serial_test_bpf_obj_id()
Dflow_dissector_reattach.c500 err = bpf_link_get_info_by_fd(link, &info, &info_len); in test_link_get_info()
524 err = bpf_link_get_info_by_fd(link, &info, &info_len); in test_link_get_info()
549 err = bpf_link_get_info_by_fd(link, &info, &info_len); in test_link_get_info()
Dnetfilter_link_attach.c56 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_netfilter_link_info()
Dmissed.c33 err = bpf_link_get_info_by_fd(bpf_link__fd(skel->links.test2), &info, &len); in test_missed_perf_kprobe()
Dcheck_mtu.c62 err = bpf_link_get_info_by_fd(fd, &link_info, &link_info_len); in test_check_mtu_xdp_attach()
Dunpriv_bpf_disabled.c195 if (ASSERT_OK(bpf_link_get_info_by_fd(bpf_link__fd(skel->links.sys_nanosleep_enter), in test_unpriv_bpf_disabled_negative()
Dfexit_bpf2bpf.c139 err = bpf_link_get_info_by_fd(bpf_link__fd(link[i]), in test_fexit_bpf2bpf_common()
Dbpf_iter.c196 err = bpf_link_get_info_by_fd(bpf_link__fd(link), &info, &info_len); in check_bpf_link_info()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map388 bpf_link_get_info_by_fd;
Dbpf.h583 LIBBPF_API int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len);
Dbpf.c1173 int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len) in bpf_link_get_info_by_fd() function
/linux-6.12.1/tools/testing/selftests/bpf/
Dtesting_helpers.c246 err = bpf_link_get_info_by_fd(bpf_link__fd(link), info, &info_len); in link_info_prog_id()
/linux-6.12.1/tools/bpf/bpftool/
Dstruct_ops.c567 if (bpf_link_get_info_by_fd(bpf_link__fd(link), in do_register()
Dnet.c847 err = bpf_link_get_info_by_fd(fd, &info, &len); in show_link_netfilter()
Dlink.c988 err = bpf_link_get_info_by_fd(fd, &info, &len); in do_show_link()
/linux-6.12.1/kernel/bpf/
Dsyscall.c4887 static int bpf_link_get_info_by_fd(struct file *file, in bpf_link_get_info_by_fd() function
4946 return bpf_link_get_info_by_fd(fd_file(f), fd_file(f)->private_data, in bpf_obj_get_info_by_fd()