| /linux/fs/btrfs/ |
| H A D | tree-checker.c | 174 * This functions checks prev_key->objectid, to ensure current key and prev_key 184 struct btrfs_key *prev_key) in check_prev_ino() 205 if (key->objectid == prev_key->objectid) in check_prev_ino() 211 prev_key->objectid, key->objectid); in check_extent_data_item() 240 struct btrfs_key *prev_key, in check_extent_data_item() 263 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key))) in check_extent_data_item() 395 prev_key->objectid == key->objectid && in check_csum_item() 396 prev_key->type == BTRFS_EXTENT_DATA_KEY) { in check_csum_item() 402 prev_end = file_extent_end(leaf, prev_key, prev_f in check_csum_item() 177 check_prev_ino(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_prev_ino() argument 209 check_extent_data_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_extent_data_item() argument 393 check_csum_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_csum_item() argument 549 check_dir_item(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_dir_item() argument 1479 check_extent_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_extent_item() argument 1894 check_inode_ref(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_inode_ref() argument 1960 check_inode_extref(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_inode_extref() argument 2098 check_dev_extent_item(const struct extent_buffer * leaf,const struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_dev_extent_item() argument 2216 check_free_space_common_key(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_free_space_common_key() argument 2299 check_free_space_extent(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_free_space_extent() argument 2318 check_free_space_bitmap(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_free_space_bitmap() argument 2351 check_leaf_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_leaf_item() argument 2437 struct btrfs_key prev_key = {0, 0, 0}; __btrfs_check_leaf() local [all...] |
| /linux/tools/perf/util/ |
| H A D | bpf_lock_contention.c | 65 long key, *prev_key; in run_slab_cache_iter() local 84 prev_key = NULL; in run_slab_cache_iter() 85 while (!bpf_map_get_next_key(fd, prev_key, &key)) { in run_slab_cache_iter() 96 prev_key = &key; in run_slab_cache_iter() 409 long key, *prev_key; in lock_contention_prepare() 415 prev_key = NULL; in lock_contention_prepare() 416 while (!bpf_map_get_next_key(cache_fd, prev_key, &key)) { in lock_contention_prepare() 428 prev_key = &key; 500 int *prev_key, key; in account_end_timestamp() 510 prev_key in account_end_timestamp() 402 long key, *prev_key; lock_contention_prepare() local 493 int *prev_key, key; account_end_timestamp() local 721 struct contention_key *prev_key, key = {}; lock_contention_read() local [all...] |
| H A D | bpf_map.c | |
| H A D | bpf-trace-summary.c | 380 struct syscall_key *prev_key, key; in trace_print_bpf_summary() local 394 prev_key = NULL; in trace_print_bpf_summary() 395 while (!bpf_map__get_next_key(map, prev_key, &key, sizeof(key))) { in trace_print_bpf_summary() 414 prev_key = &key; in trace_print_bpf_summary()
|
| H A D | bpf-filter.c | 214 u64 key, *prev_key = NULL; in convert_to_tgid() 229 while (!bpf_map_get_next_key(fd, prev_key, &key)) { 246 prev_key = &key; in destroy_event_hash() 238 u64 key, *prev_key = NULL; destroy_event_hash() local
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | stacktrace_build_id.c | 11 __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 D | stacktrace_build_id_nmi.c | 15 __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 D | static_call_inline.c | 225 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() 407 struct static_call_key *key, *prev_key = NULL; in static_call_del_module() local 424 if (key == prev_key) in static_call_del_module() 427 prev_key = key; in static_call_del_module()
|
| /linux/lib/ |
| H A D | rbtree_test.c | 154 u32 prev_key = 0; in check() local 158 WARN_ON_ONCE(node->key < prev_key); in check() 166 prev_key = node->key; in check()
|
| H A D | rhashtable.c | 693 /* Scan one element forward from prev_key's position in @tbl. 694 * Returns first rhash_head whose bucket > prev_key's bucket, or the 695 * element immediately after prev_key inside prev_key's bucket. 696 * Returns the first element if prev_key is NULL, NULL when @tbl is 697 * exhausted, or ERR_PTR(-ENOENT) if prev_key is not found in @tbl. 701 const void *prev_key) in __rhashtable_next_in_table() 703 struct rhashtable_compare_arg arg = { .ht = ht, .key = prev_key }; in __rhashtable_next_in_table() 709 if (prev_key) { in __rhashtable_next_in_table() 710 b = rht_key_hashfn(ht, tbl, prev_key, param in __rhashtable_next_in_table() 700 __rhashtable_next_in_table(struct rhashtable * ht,struct bucket_table * tbl,const void * prev_key) __rhashtable_next_in_table() argument 771 rhashtable_next_key(struct rhashtable * ht,const void * prev_key) rhashtable_next_key() argument [all...] |
| H A D | test_rhashtable.c | 686 struct test_obj_val *prev_key = NULL; in test_rhashtable_next_key() local 715 while ((cur = rhashtable_next_key(&ht, prev_key))) { in test_rhashtable_next_key() 721 prev_key = &cur->value; in test_rhashtable_next_key()
|
| /linux/kernel/bpf/ |
| H A D | inode.c | 252 void *prev_key; in map_seq_next() local 259 prev_key = NULL; in map_seq_next() 261 prev_key = key; in map_seq_next() 264 if (map->ops->map_get_next_key(map, prev_key, key)) { in map_seq_next()
|
| H A D | syscall.c | 2150 void *buf, *buf_prevkey, *prev_key, *key, *value; in generic_map_lookup_batch() 2178 prev_key = NULL; in generic_map_lookup_batch() 2184 prev_key = buf_prevkey; in generic_map_lookup_batch() 2188 err = map->ops->map_get_next_key(map, prev_key, key); in generic_map_lookup_batch() 2213 if (!prev_key) 2214 prev_key = buf_prevkey; 2216 swap(prev_key, key); in map_lookup_and_delete_elem() 2224 (cp && copy_to_user(uobatch, prev_key, map->key_size)))) in map_lookup_and_delete_elem() 2131 void *buf, *buf_prevkey, *prev_key, *key, *value; generic_map_lookup_batch() local
|
| H A D | hashtab.c | 3404 void *prev_key = NULL; in __rhtab_map_lookup_and_delete_batch() 3420 while ((elem = rhashtable_next_key(&rhtab->ht, prev_key))) { in rhtab_map_lookup_and_delete_batch() 3431 prev_key = elem->data; /* valid while RCU held */ in bpf_rhash_map_seq_start() 3230 void *prev_key = NULL; bpf_each_rhash_elem() local
|
| /linux/tools/bpf/bpftool/ |
| H A D | map.c | 834 void *key, *value, *prev_key; in map_dump() 849 prev_key = NULL; in map_dump() 899 err = bpf_map_get_next_key(fd, prev_key, key); in map_dump() 911 prev_key = key; in do_dump() 833 void *key, *value, *prev_key; map_dump() local
|