bpf_map_get_next_key 194 samples/bpf/cookie_uid_helper_example.c while (bpf_map_get_next_key(map_fd, &curN, &nextN) > -1) { bpf_map_get_next_key 45 samples/bpf/lwt_len_hist_user.c while (bpf_map_get_next_key(map_fd, &key, &next_key) == 0) { bpf_map_get_next_key 83 samples/bpf/offwaketime_user.c while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { bpf_map_get_next_key 96 samples/bpf/sampleip_user.c while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { bpf_map_get_next_key 47 samples/bpf/sockex2_user.c while (bpf_map_get_next_key(map_fd, &key, &next_key) == 0) { bpf_map_get_next_key 72 samples/bpf/sockex3_user.c while (bpf_map_get_next_key(map_fd[2], &key, &next_key) == 0) { bpf_map_get_next_key 36 samples/bpf/spintest_user.c while (bpf_map_get_next_key(map_fd[0], &key, &next_key) == 0) { bpf_map_get_next_key 51 samples/bpf/spintest_user.c while (bpf_map_get_next_key(map_fd[0], &key, &next_key) == 0) bpf_map_get_next_key 108 samples/bpf/trace_event_user.c while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { bpf_map_get_next_key 121 samples/bpf/trace_event_user.c while (bpf_map_get_next_key(stack_map, &stackid, &next_id) == 0) { bpf_map_get_next_key 53 samples/bpf/tracex2_user.c while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { bpf_map_get_next_key 88 samples/bpf/tracex2_user.c while (bpf_map_get_next_key(fd, &key, &next_key) == 0) { bpf_map_get_next_key 148 samples/bpf/tracex2_user.c while (bpf_map_get_next_key(map_fd[0], &key, &next_key) == 0) { bpf_map_get_next_key 39 samples/bpf/tracex4_user.c while (bpf_map_get_next_key(map_fd[0], &key, &next_key) == 0) { bpf_map_get_next_key 45 samples/bpf/tracex6_user.c bpf_map_get_next_key(map_fd[1], &cpu, NULL); bpf_map_get_next_key 55 samples/bpf/xdp1_user.c while (bpf_map_get_next_key(map_fd, &key, &key) != -1) { bpf_map_get_next_key 821 tools/bpf/bpftool/map.c err = bpf_map_get_next_key(fd, prev_key, key); bpf_map_get_next_key 1044 tools/bpf/bpftool/map.c err = bpf_map_get_next_key(fd, key, nextkey); bpf_map_get_next_key 121 tools/lib/bpf/bpf.h LIBBPF_API int bpf_map_get_next_key(int fd, const void *key, void *next_key); bpf_map_get_next_key 50 tools/perf/util/bpf_map.c while ((err = bpf_map_get_next_key(fd, prev_key, key) == 0)) { bpf_map_get_next_key 82 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c err = bpf_map_get_next_key(stackmap_fd, NULL, &key); bpf_map_get_next_key 104 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c } while (bpf_map_get_next_key(stackmap_fd, &previous_key, &key) == 0); bpf_map_get_next_key 117 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c err = bpf_map_get_next_key(stackmap_fd, NULL, &key); bpf_map_get_next_key 139 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c } while (bpf_map_get_next_key(stackmap_fd, &previous_key, &key) == 0); bpf_map_get_next_key 100 tools/testing/selftests/bpf/test_cgroup_storage.c if (bpf_map_get_next_key(map_fd, NULL, &key)) { bpf_map_get_next_key 552 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == -1 && bpf_map_get_next_key 561 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); bpf_map_get_next_key 565 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && bpf_map_get_next_key 570 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); bpf_map_get_next_key 580 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); bpf_map_get_next_key 585 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 590 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && bpf_map_get_next_key 599 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); bpf_map_get_next_key 604 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 609 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 614 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && bpf_map_get_next_key 623 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); bpf_map_get_next_key 628 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 633 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 638 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 643 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && bpf_map_get_next_key 652 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); bpf_map_get_next_key 657 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 663 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 668 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 673 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 678 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && bpf_map_get_next_key 684 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); bpf_map_get_next_key 731 tools/testing/selftests/bpf/test_lpm_map.c ret = bpf_map_get_next_key(info->map_fd, key_p, next_key_p); bpf_map_get_next_key 110 tools/testing/selftests/bpf/test_lru_map.c while (!bpf_map_get_next_key(map1, &next_key, &next_key)) { bpf_map_get_next_key 100 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &first_key) == 0 && bpf_map_get_next_key 102 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &next_key) == 0 && bpf_map_get_next_key 104 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &next_key, &next_key) == 0 && bpf_map_get_next_key 107 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &next_key, &next_key) == -1 && bpf_map_get_next_key 119 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &next_key) == -1 && bpf_map_get_next_key 121 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &next_key) == -1 && bpf_map_get_next_key 212 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &first_key) == 0 && bpf_map_get_next_key 214 tools/testing/selftests/bpf/test_maps.c while (!bpf_map_get_next_key(fd, &key, &next_key)) { bpf_map_get_next_key 244 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &next_key) == -1 && bpf_map_get_next_key 246 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &next_key) == -1 && bpf_map_get_next_key 282 tools/testing/selftests/bpf/test_maps.c for (i = 0; bpf_map_get_next_key(fd, !i ? NULL : &key, bpf_map_get_next_key 290 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &key) == 0); bpf_map_get_next_key 292 tools/testing/selftests/bpf/test_maps.c next_key_valid = bpf_map_get_next_key(fd, &key, &next_key) == 0; bpf_map_get_next_key 301 tools/testing/selftests/bpf/test_maps.c for (i = 0; bpf_map_get_next_key(fd, !i ? NULL : &key, bpf_map_get_next_key 326 tools/testing/selftests/bpf/test_maps.c if (bpf_map_get_next_key(first, key_ptr, &next_first) != 0) bpf_map_get_next_key 329 tools/testing/selftests/bpf/test_maps.c CHECK(bpf_map_get_next_key(second, key_ptr, &next_second) != 0, bpf_map_get_next_key 384 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &next_key) == 0 && bpf_map_get_next_key 386 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &next_key) == 0 && bpf_map_get_next_key 388 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &next_key, &next_key) == 0 && bpf_map_get_next_key 390 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &next_key, &next_key) == -1 && bpf_map_get_next_key 443 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &next_key) == 0 && bpf_map_get_next_key 445 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &next_key) == 0 && bpf_map_get_next_key 447 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &next_key, &next_key) == 0 && bpf_map_get_next_key 449 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &next_key, &next_key) == -1 && bpf_map_get_next_key 579 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, NULL) == -1 && errno == EINVAL); bpf_map_get_next_key 637 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, NULL) == -1 && errno == EINVAL); bpf_map_get_next_key 1260 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &key) == 0); bpf_map_get_next_key 1263 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &key) == 0); bpf_map_get_next_key 1264 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &key) == -1 && errno == ENOENT); bpf_map_get_next_key 1367 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &key) == 0); bpf_map_get_next_key 1370 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &key) == 0); bpf_map_get_next_key 1371 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &key) == -1 && errno == ENOENT); bpf_map_get_next_key 1387 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, NULL, &key) == -1 && errno == ENOENT); bpf_map_get_next_key 1388 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &key) == -1 && errno == ENOENT); bpf_map_get_next_key 1411 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &value) == -1 && errno == ENOENT); bpf_map_get_next_key 1433 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_get_next_key(fd, &key, &value) == -1 && errno == EPERM); bpf_map_get_next_key 107 tools/testing/selftests/bpf/test_netcnt.c if (bpf_map_get_next_key(map_fd, NULL, &key)) { bpf_map_get_next_key 222 tools/testing/selftests/bpf/test_progs.c err = bpf_map_get_next_key(map1_fd, NULL, &key); bpf_map_get_next_key 229 tools/testing/selftests/bpf/test_progs.c while (bpf_map_get_next_key(map1_fd, &key, &next_key) == 0) { bpf_map_get_next_key 252 tools/testing/selftests/bpf/test_progs.c while (bpf_map_get_next_key(smap_fd, cur_key_p, next_key_p) == 0) { bpf_map_get_next_key 1080 tools/testing/selftests/bpf/test_sockmap.c while (bpf_map_get_next_key(map_fd[i], &key, &next_key) == 0) {