Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dtree-checker.c177 struct btrfs_key *prev_key) in check_prev_ino() argument
203 prev_key->objectid, key->objectid); in check_prev_ino()
208 struct btrfs_key *prev_key) in check_extent_data_item() argument
395 prev_csum_end += prev_key->offset; in check_csum_item()
1308 struct btrfs_key *prev_key) in check_extent_item() argument
1594 prev_end += prev_key->offset; in check_extent_item()
1599 prev_key->objectid, prev_key->type, in check_extent_item()
1770 struct btrfs_key *prev_key) in check_dev_extent_item() argument
1990 prev_key.objectid, prev_key.type, in __btrfs_check_leaf()
2044 prev_key.type = key.type; in __btrfs_check_leaf()
[all …]
/linux/tools/perf/util/
H A Dbpf_map.c31 void *prev_key = NULL, *key, *value; in bpf_map__fprintf() local
47 while ((err = bpf_map_get_next_key(fd, prev_key, key) == 0)) { in bpf_map__fprintf()
58 prev_key = key; in bpf_map__fprintf()
H A Dbpf_lock_contention.c250 int *prev_key, key; in account_end_timestamp() local
260 prev_key = NULL; in account_end_timestamp()
261 while (!bpf_map_get_next_key(ts_fd, prev_key, &key)) { in account_end_timestamp()
272 prev_key = &key; in account_end_timestamp()
286 prev_key = NULL; in account_end_timestamp()
287 while (!bpf_map_get_next_key(ts_fd, prev_key, &key)) { in account_end_timestamp()
300 prev_key = &key; in account_end_timestamp()
409 struct contention_key *prev_key, key = {}; in lock_contention_read() local
449 prev_key = NULL; in lock_contention_read()
450 while (!bpf_map_get_next_key(fd, prev_key, &key)) { in lock_contention_read()
[all …]
H A Dbpf-filter.c236 u64 key, *prev_key = NULL; in destroy_event_hash() local
251 while (!bpf_map_get_next_key(fd, prev_key, &key)) { in destroy_event_hash()
268 prev_key = &key; in destroy_event_hash()
/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A 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/kernel/
H A 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
425 if (key == prev_key) in static_call_del_module()
428 prev_key = key; in static_call_del_module()
/linux/lib/
H A 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/kernel/bpf/
H A 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()
H A Dsyscall.c1876 void *buf, *buf_prevkey, *prev_key, *key, *value; in generic_map_lookup_batch() local
1907 prev_key = NULL; in generic_map_lookup_batch()
1913 prev_key = buf_prevkey; in generic_map_lookup_batch()
1917 err = map->ops->map_get_next_key(map, prev_key, key); in generic_map_lookup_batch()
1946 if (!prev_key) in generic_map_lookup_batch()
1947 prev_key = buf_prevkey; in generic_map_lookup_batch()
1949 swap(prev_key, key); in generic_map_lookup_batch()
1959 (cp && copy_to_user(uobatch, prev_key, map->key_size)))) in generic_map_lookup_batch()
/linux/tools/bpf/bpftool/
H A 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()