Home
last modified time | relevance | path

Searched refs:bpf_iter_create (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c51 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()
H A Dsockmap_basic.c250 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_sockmap_copy()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c60 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_dummy_read_opts()
97 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_read_map_iter_fd()
406 iter_fd = bpf_iter_create(bpf_link__fd(link)); in do_btf_read()
560 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_anon_iter()
705 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_overflow()
834 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_hash_map()
915 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_percpu_hash_map()
980 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_array_map()
1090 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_bpf_percpu_array_map()
1149 iter_fd = bpf_iter_create(bpf_link__f in test_bpf_sk_storage_delete()
[all...]
H A Dcgroup_iter.c71 iter_fd = bpf_iter_create(bpf_link__fd(link)); in read_from_cgroup_iter()
222 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_walk_dead_self_only()
H A Dbpf_iter_setsockopt_unix.c87 iter_fd = bpf_iter_create(bpf_link__fd(skel->links.change_sndbuf)); in test_bpf_iter_setsockopt_unix()
88 if (!ASSERT_GE(iter_fd, 0, "bpf_iter_create")) in test_bpf_iter_setsockopt_unix()
H A Dbpf_iter_setsockopt.c145 iter_fd = bpf_iter_create(bpf_link__fd(iter_skel->links.change_tcp_cc)); in do_bpf_iter_setsockopt()
H A Dsock_destroy.c21 iter_fd = bpf_iter_create(bpf_link__fd(link)); in start_iter_sockets()
H A Dcgrp_local_storage.c182 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_cgroup_iter_sleepable()
H A Dsockmap_basic.c242 iter_fd = bpf_iter_create(bpf_link__fd(link)); in test_sockmap_copy()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dpids.c127 fd = bpf_iter_create(bpf_link__fd(skel->links.iter)); in build_obj_refs_table()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dpids.c139 fd = bpf_iter_create(bpf_link__fd(skel->links.iter)); in build_obj_refs_table()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbpf.h197 LIBBPF_API int bpf_iter_create(int link_fd);
H A Dbpf.c645 int bpf_iter_create(int link_fd) in bpf_iter_create() function
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c225 iter_fd = bpf_iter_create(bpf_link__fd(link)); in get_cur_elements()
226 CHECK(iter_fd < 0, "bpf_iter_create", "error: %s\n", strerror(errno)); in get_cur_elements()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbpf.h440 LIBBPF_API int bpf_iter_create(int link_fd);
H A Dbpf.c892 int bpf_iter_create(int link_fd) in bpf_iter_create() function
/kernel/linux/linux-5.10/kernel/bpf/
H A Dsyscall.c4313 static int bpf_iter_create(union bpf_attr *attr) in bpf_iter_create() function
4524 err = bpf_iter_create(&attr); in SYSCALL_DEFINE3()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dsyscall.c5263 static int bpf_iter_create(union bpf_attr *attr) in bpf_iter_create() function
5471 err = bpf_iter_create(&attr); in __sys_bpf()

Completed in 36 milliseconds