Home
last modified time | relevance | path

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

/linux-5.19.10/fs/btrfs/
Dtree-checker.c169 struct btrfs_key *prev_key) in check_prev_ino() argument
189 if (key->objectid == prev_key->objectid) in check_prev_ino()
195 prev_key->objectid, key->objectid); in check_prev_ino()
200 struct btrfs_key *prev_key) in check_extent_data_item() argument
221 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key))) in check_extent_data_item()
319 prev_key->objectid == key->objectid && in check_extent_data_item()
320 prev_key->type == BTRFS_EXTENT_DATA_KEY) { in check_extent_data_item()
326 prev_end = file_extent_end(leaf, prev_key, prev_fi); in check_extent_data_item()
339 int slot, struct btrfs_key *prev_key) in check_csum_item() argument
363 if (slot > 0 && prev_key->type == BTRFS_EXTENT_CSUM_KEY) { in check_csum_item()
[all …]
/linux-5.19.10/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()
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dstacktrace_build_id.c11 __u32 key, prev_key, val, duration = 0; in test_stacktrace_build_id() local
82 prev_key = key; in test_stacktrace_build_id()
83 } while (bpf_map__get_next_key(skel->maps.stackmap, &prev_key, &key, sizeof(key)) == 0); in test_stacktrace_build_id()
Dstacktrace_build_id_nmi.c30 __u32 key, prev_key, val, duration = 0; in test_stacktrace_build_id_nmi() local
125 prev_key = key; in test_stacktrace_build_id_nmi()
126 } while (bpf_map__get_next_key(skel->maps.stackmap, &prev_key, &key, sizeof(key)) == 0); in test_stacktrace_build_id_nmi()
/linux-5.19.10/kernel/
Dstatic_call_inline.c214 struct static_call_key *key, *prev_key = NULL; in __static_call_init() local
230 if (key != prev_key) { in __static_call_init()
231 prev_key = key; in __static_call_init()
397 struct static_call_key *key, *prev_key = NULL; in static_call_del_module() local
403 if (key == prev_key) in static_call_del_module()
406 prev_key = key; in static_call_del_module()
/linux-5.19.10/kernel/bpf/
Dinode.c220 void *prev_key; in map_seq_next() local
227 prev_key = NULL; in map_seq_next()
229 prev_key = key; in map_seq_next()
232 if (map->ops->map_get_next_key(map, prev_key, key)) { in map_seq_next()
Dsyscall.c1664 void *buf, *buf_prevkey, *prev_key, *key, *value; in generic_map_lookup_batch() local
1695 prev_key = NULL; in generic_map_lookup_batch()
1701 prev_key = buf_prevkey; in generic_map_lookup_batch()
1705 err = map->ops->map_get_next_key(map, prev_key, key); in generic_map_lookup_batch()
1734 if (!prev_key) in generic_map_lookup_batch()
1735 prev_key = buf_prevkey; in generic_map_lookup_batch()
1737 swap(prev_key, key); in generic_map_lookup_batch()
1747 (cp && copy_to_user(uobatch, prev_key, map->key_size)))) in generic_map_lookup_batch()
/linux-5.19.10/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-5.19.10/tools/bpf/bpftool/
Dmap.c847 void *key, *value, *prev_key; in map_dump() local
860 prev_key = NULL; in map_dump()
883 err = bpf_map_get_next_key(fd, prev_key, key); in map_dump()
891 prev_key = key; in map_dump()