/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | fill_link_info.c | 49 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 …]
|
D | tc_helpers.h | 31 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()
|
D | xdp_link.c | 122 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()
|
D | perf_link.c | 57 err = bpf_link_get_info_by_fd(link_fd, &info, &info_len); in serial_test_perf_link()
|
D | bpf_obj_id.c | 141 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()
|
D | flow_dissector_reattach.c | 500 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()
|
D | netfilter_link_attach.c | 56 err = bpf_link_get_info_by_fd(fd, &info, &len); in verify_netfilter_link_info()
|
D | missed.c | 33 err = bpf_link_get_info_by_fd(bpf_link__fd(skel->links.test2), &info, &len); in test_missed_perf_kprobe()
|
D | check_mtu.c | 62 err = bpf_link_get_info_by_fd(fd, &link_info, &link_info_len); in test_check_mtu_xdp_attach()
|
D | unpriv_bpf_disabled.c | 195 if (ASSERT_OK(bpf_link_get_info_by_fd(bpf_link__fd(skel->links.sys_nanosleep_enter), in test_unpriv_bpf_disabled_negative()
|
D | fexit_bpf2bpf.c | 139 err = bpf_link_get_info_by_fd(bpf_link__fd(link[i]), in test_fexit_bpf2bpf_common()
|
D | bpf_iter.c | 196 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/ |
D | libbpf.map | 388 bpf_link_get_info_by_fd;
|
D | bpf.h | 583 LIBBPF_API int bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len);
|
D | bpf.c | 1173 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/ |
D | testing_helpers.c | 246 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/ |
D | struct_ops.c | 567 if (bpf_link_get_info_by_fd(bpf_link__fd(link), in do_register()
|
D | net.c | 847 err = bpf_link_get_info_by_fd(fd, &info, &len); in show_link_netfilter()
|
D | link.c | 988 err = bpf_link_get_info_by_fd(fd, &info, &len); in do_show_link()
|
/linux-6.12.1/kernel/bpf/ |
D | syscall.c | 4887 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()
|