/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | tc_links.c | 47 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in serial_test_tc_links_basic() 82 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in serial_test_tc_links_basic() 160 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in test_tc_links_before_target() 170 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in test_tc_links_before_target() 213 lid3 = id_from_link_fd(bpf_link__fd(skel->links.tc3)); in test_tc_links_before_target() 226 lid4 = id_from_link_fd(bpf_link__fd(skel->links.tc4)); in test_tc_links_before_target() 314 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in test_tc_links_after_target() 324 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in test_tc_links_after_target() 367 lid3 = id_from_link_fd(bpf_link__fd(skel->links.tc3)); in test_tc_links_after_target() 371 .relative_fd = bpf_link__fd(skel->links.tc2), in test_tc_links_after_target() [all …]
|
D | bpf_iter.c | 58 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_dummy_read_opts() 95 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_read_map_iter_fd() 196 err = bpf_link_get_info_by_fd(bpf_link__fd(link), &info, &info_len); in check_bpf_link_info() 421 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_btf_read() 575 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_anon_iter() 715 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_overflow() 841 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_hash_map() 924 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_percpu_hash_map() 989 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_array_map() 1098 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_percpu_array_map() [all …]
|
D | fill_link_info.c | 169 link_fd = bpf_link__fd(link); in test_kprobe_fill_link_info() 194 link_fd = bpf_link__fd(link); in test_tp_fill_link_info() 224 link_fd = bpf_link__fd(link); in test_event_fill_link_info() 250 link_fd = bpf_link__fd(link); in test_uprobe_fill_link_info() 371 link_fd = bpf_link__fd(link); in test_kprobe_multi_fill_link_info() 568 link_fd = bpf_link__fd(link); in test_uprobe_multi_fill_link_info()
|
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 | tc_netkit.c | 208 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in serial_test_tc_netkit_basic() 243 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in serial_test_tc_netkit_basic() 322 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in serial_test_tc_netkit_multi_links_target() 362 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in serial_test_tc_netkit_multi_links_target() 569 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in serial_test_tc_netkit_device() 669 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in serial_test_tc_netkit_neigh_links_target()
|
D | cgroup_link.c | 188 err = bpf_link_update(bpf_link__fd(links[0]), in serial_test_cgroup_link() 198 err = bpf_link_update(bpf_link__fd(links[0]), in serial_test_cgroup_link()
|
D | cgroup_iter.c | 72 iter_fd = bpf_iter_create(bpf_link__fd(link)); in read_from_cgroup_iter() 223 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_walk_dead_self_only()
|
D | bpf_iter_setsockopt_unix.c | 87 iter_fd = bpf_iter_create(bpf_link__fd(skel->links.change_sndbuf)); in test_bpf_iter_setsockopt_unix()
|
D | netfilter_link_attach.c | 55 fd = bpf_link__fd(link); in verify_netfilter_link_info()
|
D | sock_iter_batch.c | 49 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_test()
|
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 | bpf_tcp_ca.c | 555 err = bpf_link_update(bpf_link__fd(link), in test_link_replace() 562 err = bpf_link_update(bpf_link__fd(link), in test_link_replace()
|
D | sock_destroy.c | 21 iter_fd = bpf_iter_create(bpf_link__fd(link)); in start_iter_sockets()
|
D | check_mtu.c | 61 fd = bpf_link__fd(link); in test_check_mtu_xdp_attach()
|
D | bpf_iter_setsockopt.c | 145 iter_fd = bpf_iter_create(bpf_link__fd(iter_skel->links.change_tcp_cc)); in do_bpf_iter_setsockopt()
|
D | sockmap_basic.c | 179 err = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), &opts); in test_skmsg_helpers_with_link() 185 err = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), &opts); in test_skmsg_helpers_with_link() 301 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_sockmap_copy()
|
D | test_struct_ops_module.c | 266 fd = bpf_link__fd(link); in test_detach_link()
|
D | cgrp_local_storage.c | 203 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_cgroup_iter_sleepable()
|
D | bpf_obj_id.c | 141 err = bpf_link_get_info_by_fd(bpf_link__fd(links[i]), in serial_test_bpf_obj_id()
|
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()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | pids.c | 144 fd = bpf_iter_create(bpf_link__fd(skel->links.iter)); in build_obj_refs_table()
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.map | 146 bpf_link__fd;
|
/linux-6.12.1/samples/bpf/ |
D | task_fd_query_user.c | 100 event_fd = bpf_link__fd(links[link_idx]); in test_debug_fs_kprobe()
|
/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/testing/selftests/bpf/map_tests/ |
D | map_percpu_stats.c | 252 iter_fd = bpf_iter_create(bpf_link__fd(link)); in get_cur_elements()
|