Searched refs:bpf_link__fd (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_iter.c | 51 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_dummy_read() 188 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_btf_read() 348 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_anon_iter() 496 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_overflow() 630 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_hash_map() 721 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_percpu_hash_map() 792 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_array_map() 888 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_percpu_array_map() 956 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_sk_storage_map()
|
D | xdp_link.c | 123 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in test_xdp_link() 139 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &link_info, &link_info_len); in test_xdp_link()
|
D | cgroup_link.c | 194 err = bpf_link_update(bpf_link__fd(links[0]), in test_cgroup_link() 204 err = bpf_link_update(bpf_link__fd(links[0]), in test_cgroup_link()
|
D | sockmap_basic.c | 249 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 test_bpf_obj_id()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | testing_helpers.c | 74 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), info, &info_len); in link_info_prog_id()
|
/Linux-v5.10/kernel/bpf/preload/iterators/ |
D | iterators.c | 26 err = bpf_obj_get_info_by_fd(bpf_link__fd(link), &info, &info_len); in send_link_to_kernel()
|
/Linux-v5.10/tools/lib/bpf/ |
D | libbpf.map | 241 bpf_link__fd;
|
D | libbpf.h | 226 LIBBPF_API int bpf_link__fd(const struct bpf_link *link);
|
D | libbpf.c | 9066 return bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), NULL); in bpf_link__update_program() 9102 int bpf_link__fd(const struct bpf_link *link) in bpf_link__fd() function
|
/Linux-v5.10/tools/bpf/bpftool/ |
D | pids.c | 127 fd = bpf_iter_create(bpf_link__fd(skel->links.iter)); in build_obj_refs_table()
|
/Linux-v5.10/samples/bpf/ |
D | xdp_monitor_user.c | 681 int fd = bpf_link__fd(tp_links[i]); in print_bpf_prog_info()
|