Home
last modified time | relevance | path

Searched refs:prev_key (Results 1 – 5 of 5) sorted by relevance

/tools/perf/util/
Dbpf_map.c31 void *prev_key = NULL, *key, *value; in bpf_map__fprintf() local
50 while ((err = bpf_map_get_next_key(fd, prev_key, key) == 0)) { in bpf_map__fprintf()
61 prev_key = key; in bpf_map__fprintf()
Dbpf_lock_contention.c252 struct contention_key *prev_key, key = {}; in lock_contention_read() local
290 prev_key = NULL; in lock_contention_read()
291 while (!bpf_map_get_next_key(fd, prev_key, &key)) { in lock_contention_read()
356 prev_key = &key; in lock_contention_read()
/tools/testing/selftests/bpf/prog_tests/
Dstacktrace_build_id.c11 __u32 key, prev_key, val, duration = 0; in test_stacktrace_build_id() local
77 prev_key = key; in test_stacktrace_build_id()
78 } while (bpf_map__get_next_key(skel->maps.stackmap, &prev_key, &key, sizeof(key)) == 0); in test_stacktrace_build_id()
Dstacktrace_build_id_nmi.c15 __u32 key, prev_key, val, duration = 0; in test_stacktrace_build_id_nmi() local
105 prev_key = key; in test_stacktrace_build_id_nmi()
106 } while (bpf_map__get_next_key(skel->maps.stackmap, &prev_key, &key, sizeof(key)) == 0); in test_stacktrace_build_id_nmi()
/tools/bpf/bpftool/
Dmap.c826 void *key, *value, *prev_key; in map_dump() local
839 prev_key = NULL; in map_dump()
866 err = bpf_map_get_next_key(fd, prev_key, key); in map_dump()
874 prev_key = key; in map_dump()