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.c167 * This functions checks prev_key->objectid, to ensure current key and prev_key
177 struct btrfs_key *prev_key) in check_prev_ino() argument
197 if (key->objectid == prev_key->objectid) in check_prev_ino()
203 prev_key->objectid, key->objectid); in check_prev_ino()
208 struct btrfs_key *prev_key) in check_extent_data_item() argument
229 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key))) in check_extent_data_item()
327 prev_key->objectid == key->objectid && in check_extent_data_item()
328 prev_key->type == BTRFS_EXTENT_DATA_KEY) { in check_extent_data_item()
334 prev_end = file_extent_end(leaf, prev_key, prev_f in check_extent_data_item()
365 check_csum_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_csum_item() argument
521 check_dir_item(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_dir_item() argument
1320 check_extent_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_extent_item() argument
1736 check_inode_ref(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_inode_ref() argument
1807 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
1876 check_leaf_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_leaf_item() argument
1941 struct btrfs_key prev_key = {0, 0, 0}; __btrfs_check_leaf() local
[all...]
/linux/tools/perf/util/
H A Dbpf_lock_contention.c65 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()
396 long key, *prev_key; in lock_contention_prepare() local
402 prev_key = NULL; in lock_contention_prepare()
403 while (!bpf_map_get_next_key(cache_fd, prev_key, &key)) { in lock_contention_prepare()
415 prev_key = &key; in lock_contention_prepare()
487 int *prev_key, key; in account_end_timestamp() local
497 prev_key in account_end_timestamp()
715 struct contention_key *prev_key, key = {}; lock_contention_read() local
[all...]
H A Dbpf-trace-summary.c373 struct syscall_key *prev_key, key; in trace_print_bpf_summary() local
387 prev_key = NULL; in trace_print_bpf_summary()
388 while (!bpf_map__get_next_key(map, prev_key, &key, sizeof(key))) { in trace_print_bpf_summary()
407 prev_key = &key; in trace_print_bpf_summary()
H A Dbpf-filter.c237 u64 key, *prev_key = NULL; in destroy_event_hash() local
252 while (!bpf_map_get_next_key(fd, prev_key, &key)) { in destroy_event_hash()
269 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()
/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()
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/drivers/hid/
H A Dhid-plantronics.c136 __u16 prev_key, cur_key; in plantronics_event() local
147 prev_key = drv_data->last_key; in plantronics_event()
151 if (prev_key == cur_key && time_before_eq(cur_ts, prev_tsto)) { in plantronics_event()
/linux/net/mac80211/
H A Dkey.c1364 struct ieee80211_key *prev_key; in ieee80211_gtk_rekey_add() local
1384 prev_key = wiphy_dereference(local->hw.wiphy, in ieee80211_gtk_rekey_add()
1386 if (!prev_key) { in ieee80211_gtk_rekey_add()
1391 prev_key = wiphy_dereference(local->hw.wiphy, in ieee80211_gtk_rekey_add()
1393 if (prev_key) in ieee80211_gtk_rekey_add()
1398 prev_key = wiphy_dereference(local->hw.wiphy, in ieee80211_gtk_rekey_add()
1403 if (WARN_ON(!prev_key)) in ieee80211_gtk_rekey_add()
1406 if (WARN_ON(key_len < prev_key->conf.keylen)) in ieee80211_gtk_rekey_add()
1409 key = ieee80211_key_alloc(prev_key->conf.cipher, idx, in ieee80211_gtk_rekey_add()
1410 prev_key in ieee80211_gtk_rekey_add()
[all...]
/linux/lib/
H A Drbtree_test.c196 u32 prev_key = 0; in check() local
200 WARN_ON_ONCE(node->key < prev_key); in check()
208 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.c2014 void *buf, *buf_prevkey, *prev_key, *key, *value; in generic_map_lookup_batch() local
2045 prev_key = NULL; in generic_map_lookup_batch()
2051 prev_key = buf_prevkey; in generic_map_lookup_batch()
2055 err = map->ops->map_get_next_key(map, prev_key, key); in generic_map_lookup_batch()
2080 if (!prev_key) in generic_map_lookup_batch()
2081 prev_key = buf_prevkey; in generic_map_lookup_batch()
2083 swap(prev_key, key); in generic_map_lookup_batch()
2091 (cp && copy_to_user(uobatch, prev_key, map->key_size)))) in generic_map_lookup_batch()