Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dtree-checker.c173 struct btrfs_key *prev_key) in check_prev_ino() argument
193 if (key->objectid == prev_key->objectid) in check_prev_ino()
199 prev_key->objectid, key->objectid); in check_prev_ino()
204 struct btrfs_key *prev_key) in check_extent_data_item() argument
225 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key))) in check_extent_data_item()
323 prev_key->objectid == key->objectid && in check_extent_data_item()
324 prev_key->type == BTRFS_EXTENT_DATA_KEY) { in check_extent_data_item()
330 prev_end = file_extent_end(leaf, prev_key, prev_fi); in check_extent_data_item()
343 int slot, struct btrfs_key *prev_key) in check_csum_item() argument
367 if (slot > 0 && prev_key->type == BTRFS_EXTENT_CSUM_KEY) { in check_csum_item()
[all …]
/Linux-v6.6/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()
/Linux-v6.6/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()
/Linux-v6.6/kernel/
Dstatic_call_inline.c225 struct static_call_key *key, *prev_key = NULL; in __static_call_init() local
241 if (key != prev_key) { in __static_call_init()
242 prev_key = key; in __static_call_init()
408 struct static_call_key *key, *prev_key = NULL; in static_call_del_module() local
414 if (key == prev_key) in static_call_del_module()
417 prev_key = key; in static_call_del_module()
/Linux-v6.6/kernel/bpf/
Dinode.c218 void *prev_key; in map_seq_next() local
225 prev_key = NULL; in map_seq_next()
227 prev_key = key; in map_seq_next()
230 if (map->ops->map_get_next_key(map, prev_key, key)) { in map_seq_next()
Dsyscall.c1776 void *buf, *buf_prevkey, *prev_key, *key, *value; in generic_map_lookup_batch() local
1807 prev_key = NULL; in generic_map_lookup_batch()
1813 prev_key = buf_prevkey; in generic_map_lookup_batch()
1817 err = map->ops->map_get_next_key(map, prev_key, key); in generic_map_lookup_batch()
1846 if (!prev_key) in generic_map_lookup_batch()
1847 prev_key = buf_prevkey; in generic_map_lookup_batch()
1849 swap(prev_key, key); in generic_map_lookup_batch()
1859 (cp && copy_to_user(uobatch, prev_key, map->key_size)))) in generic_map_lookup_batch()
/Linux-v6.6/lib/
Drbtree_test.c195 u32 prev_key = 0; in check() local
199 WARN_ON_ONCE(node->key < prev_key); in check()
207 prev_key = node->key; in check()
/Linux-v6.6/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()