Searched refs:bpf_link__fd (Results 1 – 14 of 14) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_iter.c | 54 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_dummy_read() 208 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_btf_read() 374 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_anon_iter() 522 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_overflow() 653 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_hash_map() 742 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_percpu_hash_map() 814 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_array_map() 909 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_percpu_array_map() 973 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_sk_storage_delete() 1091 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_sk_storage_map() [all …]
|
D | xdp_link.c | 122 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in serial_test_xdp_link() 140 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in serial_test_xdp_link()
|
D | cgroup_link.c | 191 err = bpf_link_update(bpf_link__fd(links[0]), in serial_test_cgroup_link() 201 err = bpf_link_update(bpf_link__fd(links[0]), in serial_test_cgroup_link()
|
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 | check_mtu.c | 61 fd = bpf_link__fd(link); in test_check_mtu_xdp_attach()
|
D | bpf_cookie.c | 213 close(bpf_link__fd(link)); in pe_subtest()
|
D | fexit_bpf2bpf.c | 131 err = bpf_obj_get_info_by_fd(bpf_link__fd(link[i]), in test_fexit_bpf2bpf_common()
|
D | sockmap_basic.c | 251 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_sockmap_copy()
|
D | bpf_obj_id.c | 164 err = bpf_obj_get_info_by_fd(bpf_link__fd(links[i]), in serial_test_bpf_obj_id()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | testing_helpers.c | 78 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), info, &info_len); in link_info_prog_id()
|
/external/bpftool/src/ |
D | pids.c | 137 fd = bpf_iter_create(bpf_link__fd(skel->links.iter)); in build_obj_refs_table()
|
/external/libbpf/src/ |
D | libbpf.map | 241 bpf_link__fd;
|
D | libbpf.h | 379 LIBBPF_API int bpf_link__fd(const struct bpf_link *link);
|
D | libbpf.c | 9551 ret = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), NULL); in bpf_link__update_program() 9589 int bpf_link__fd(const struct bpf_link *link) in bpf_link__fd() function
|