/linux/tools/testing/selftests/bpf/ |
A D | test_lpm_map.c | 552 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == -1 && in test_lpm_get_next_key() 561 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); in test_lpm_get_next_key() 570 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); in test_lpm_get_next_key() 580 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); in test_lpm_get_next_key() 585 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); in test_lpm_get_next_key() 599 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); in test_lpm_get_next_key() 604 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); in test_lpm_get_next_key() 609 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); in test_lpm_get_next_key() 623 assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); in test_lpm_get_next_key() 628 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); in test_lpm_get_next_key() [all …]
|
A D | test_maps.c | 109 assert(bpf_map_get_next_key(fd, &key, &next_key) == 0 && in test_hashmap() 126 assert(bpf_map_get_next_key(fd, NULL, &next_key) < 0 && in test_hashmap() 128 assert(bpf_map_get_next_key(fd, &key, &next_key) < 0 && in test_hashmap() 231 while (!bpf_map_get_next_key(fd, &key, &next_key)) { in test_hashmap_percpu() 299 for (i = 0; bpf_map_get_next_key(fd, !i ? NULL : &key, in test_hashmap_walk() 307 assert(bpf_map_get_next_key(fd, NULL, &key) == 0); in test_hashmap_walk() 318 for (i = 0; bpf_map_get_next_key(fd, !i ? NULL : &key, in test_hashmap_walk() 1336 assert(bpf_map_get_next_key(fd, NULL, &key) == 0); in test_map_large() 1339 assert(bpf_map_get_next_key(fd, &key, &key) == 0); in test_map_large() 1493 assert(bpf_map_get_next_key(fd, NULL, &key) == 0); in test_map_parallel() [all …]
|
A D | test_cgroup_storage.c | 85 if (bpf_map_get_next_key(map_fd, NULL, &key)) { in main()
|
A D | test_progs.c | 317 err = bpf_map_get_next_key(map1_fd, NULL, &key); in compare_map_keys() 324 while (bpf_map_get_next_key(map1_fd, &key, &next_key) == 0) { in compare_map_keys() 347 while (bpf_map_get_next_key(smap_fd, cur_key_p, next_key_p) == 0) { in compare_stack_ips()
|
/linux/samples/bpf/ |
A D | tracex2_user.c | 55 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { in print_hist_for_pid() 90 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { in print_hist() 170 while (bpf_map_get_next_key(map_fd[0], &key, &next_key) == 0) { in main()
|
A D | spintest_user.c | 67 while (bpf_map_get_next_key(map_fd, &key, &next_key) == 0) { in main() 82 while (bpf_map_get_next_key(map_fd, &key, &next_key) == 0) in main()
|
A D | trace_event_user.c | 108 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { in print_stacks() 121 while (bpf_map_get_next_key(stack_map, &stackid, &next_id) == 0) { in print_stacks()
|
A D | sockex2_user.c | 45 while (bpf_map_get_next_key(map_fd, &key, &next_key) == 0) { in main()
|
A D | lwt_len_hist_user.c | 45 while (bpf_map_get_next_key(map_fd, &key, &next_key) == 0) { in main()
|
A D | tracex4_user.c | 38 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { in print_old_objects()
|
A D | sockex3_user.c | 89 while (bpf_map_get_next_key(hash_map_fd, &key, &next_key) == 0) { in main()
|
A D | xdp1_user.c | 55 while (bpf_map_get_next_key(map_fd, &key, &key) != -1) { in poll_stats()
|
A D | offwaketime_user.c | 83 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { in print_stacks()
|
A D | sampleip_user.c | 100 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { in print_ip_map()
|
A D | tracex6_user.c | 47 bpf_map_get_next_key(map_fd[1], &cpu, NULL); in check_on_cpu()
|
A D | cookie_uid_helper_example.c | 199 while (bpf_map_get_next_key(map_fd, &curN, &nextN) > -1) { in print_table()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | stacktrace_build_id.c | 61 err = bpf_map_get_next_key(stackmap_fd, NULL, &key); in test_stacktrace_build_id() 83 } while (bpf_map_get_next_key(stackmap_fd, &previous_key, &key) == 0); in test_stacktrace_build_id()
|
A D | stacktrace_build_id_nmi.c | 103 err = bpf_map_get_next_key(stackmap_fd, NULL, &key); in test_stacktrace_build_id_nmi() 125 } while (bpf_map_get_next_key(stackmap_fd, &previous_key, &key) == 0); in test_stacktrace_build_id_nmi()
|
A D | netcnt.c | 46 if (!ASSERT_OK(bpf_map_get_next_key(map_fd, NULL, &key), "bpf_map_get_next_key")) in serial_test_netcnt()
|
A D | tcp_hdr_options.c | 324 err = bpf_map_get_next_key(lport_linum_map_fd, NULL, &lport); in reset_test() 327 err = bpf_map_get_next_key(lport_linum_map_fd, &lport, &lport); in reset_test()
|
/linux/tools/testing/selftests/bpf/map_tests/ |
A D | htab_map_batch_ops.c | 142 err = bpf_map_get_next_key(map_fd, NULL, &key); in __test_map_lookup_and_delete_batch() 207 err = bpf_map_get_next_key(map_fd, NULL, &key); in __test_map_lookup_and_delete_batch() 252 err = bpf_map_get_next_key(map_fd, NULL, &key); in __test_map_lookup_and_delete_batch()
|
A D | lpm_trie_map_batch_ops.c | 143 err = bpf_map_get_next_key(map_fd, NULL, &key); in test_lpm_trie_map_batch_ops()
|
/linux/tools/perf/util/ |
A D | bpf_map.c | 50 while ((err = bpf_map_get_next_key(fd, prev_key, key) == 0)) { in bpf_map__fprintf()
|
/linux/tools/lib/bpf/ |
A D | libbpf.map | 31 bpf_map_get_next_key;
|
A D | bpf.h | 130 LIBBPF_API int bpf_map_get_next_key(int fd, const void *key, void *next_key);
|