Searched refs:bpf_map_get_next_key (Results 1 – 14 of 14) sorted by relevance
/tools/testing/selftests/bpf/ |
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() 565 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && 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() 590 assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && 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() [all …]
|
D | test_maps.c | 100 assert(bpf_map_get_next_key(fd, NULL, &first_key) == 0 && in test_hashmap() 102 assert(bpf_map_get_next_key(fd, &key, &next_key) == 0 && in test_hashmap() 104 assert(bpf_map_get_next_key(fd, &next_key, &next_key) == 0 && in test_hashmap() 107 assert(bpf_map_get_next_key(fd, &next_key, &next_key) == -1 && in test_hashmap() 119 assert(bpf_map_get_next_key(fd, NULL, &next_key) == -1 && in test_hashmap() 121 assert(bpf_map_get_next_key(fd, &key, &next_key) == -1 && in test_hashmap() 212 assert(bpf_map_get_next_key(fd, NULL, &first_key) == 0 && in test_hashmap_percpu() 214 while (!bpf_map_get_next_key(fd, &key, &next_key)) { in test_hashmap_percpu() 244 assert(bpf_map_get_next_key(fd, NULL, &next_key) == -1 && in test_hashmap_percpu() 246 assert(bpf_map_get_next_key(fd, &key, &next_key) == -1 && in test_hashmap_percpu() [all …]
|
D | test_netcnt.c | 107 if (bpf_map_get_next_key(map_fd, NULL, &key)) { in main()
|
D | test_progs.c | 224 err = bpf_map_get_next_key(map1_fd, NULL, &key); in compare_map_keys() 231 while (bpf_map_get_next_key(map1_fd, &key, &next_key) == 0) { in compare_map_keys() 254 while (bpf_map_get_next_key(smap_fd, cur_key_p, next_key_p) == 0) { in compare_stack_ips()
|
D | test_cgroup_storage.c | 100 if (bpf_map_get_next_key(map_fd, NULL, &key)) { in main()
|
D | test_lru_map.c | 110 while (!bpf_map_get_next_key(map1, &next_key, &next_key)) { in map_subset()
|
D | test_sockmap.c | 1080 while (bpf_map_get_next_key(map_fd[i], &key, &next_key) == 0) { in run_options()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | stacktrace_build_id.c | 82 err = bpf_map_get_next_key(stackmap_fd, NULL, &key); in test_stacktrace_build_id() 104 } while (bpf_map_get_next_key(stackmap_fd, &previous_key, &key) == 0); in test_stacktrace_build_id()
|
D | stacktrace_build_id_nmi.c | 117 err = bpf_map_get_next_key(stackmap_fd, NULL, &key); in test_stacktrace_build_id_nmi() 139 } while (bpf_map_get_next_key(stackmap_fd, &previous_key, &key) == 0); in test_stacktrace_build_id_nmi()
|
/tools/perf/util/ |
D | bpf_map.c | 50 while ((err = bpf_map_get_next_key(fd, prev_key, key) == 0)) { in bpf_map__fprintf()
|
/tools/lib/bpf/ |
D | libbpf.map | 31 bpf_map_get_next_key;
|
D | bpf.h | 121 LIBBPF_API int bpf_map_get_next_key(int fd, const void *key, void *next_key);
|
D | bpf.c | 419 int bpf_map_get_next_key(int fd, const void *key, void *next_key) in bpf_map_get_next_key() function
|
/tools/bpf/bpftool/ |
D | map.c | 821 err = bpf_map_get_next_key(fd, prev_key, key); in do_dump() 1044 err = bpf_map_get_next_key(fd, key, nextkey); in do_getnext()
|