| /linux/fs/btrfs/ |
| H A D | tree-checker.c | 177 struct btrfs_key *prev_key) in check_prev_ino() argument 198 if (key->objectid == prev_key->objectid) in check_prev_ino() 204 prev_key->objectid, key->objectid); in check_prev_ino() 209 struct btrfs_key *prev_key) in check_extent_data_item() argument 230 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key))) in check_extent_data_item() 328 prev_key->objectid == key->objectid && in check_extent_data_item() 329 prev_key->type == BTRFS_EXTENT_DATA_KEY) { in check_extent_data_item() 335 prev_end = file_extent_end(leaf, prev_key, prev_fi); in check_extent_data_item() 366 int slot, struct btrfs_key *prev_key) in check_csum_item() argument 390 if (slot > 0 && prev_key->type == BTRFS_EXTENT_CSUM_KEY) { in check_csum_item() [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() 399 long key, *prev_key; in lock_contention_prepare() local 405 prev_key = NULL; in lock_contention_prepare() 406 while (!bpf_map_get_next_key(cache_fd, prev_key, &key)) { in lock_contention_prepare() 418 prev_key = &key; in lock_contention_prepare() 490 int *prev_key, key; in account_end_timestamp() local 500 prev_key = NULL; in account_end_timestamp() [all …]
|
| H A D | bpf_map.c | 32 void *prev_key = NULL, *key, *value; in bpf_map__fprintf() local 48 while ((err = bpf_map_get_next_key(fd, prev_key, key) == 0)) { in bpf_map__fprintf() 59 prev_key = key; in bpf_map__fprintf()
|
| 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 | 238 u64 key, *prev_key = NULL; in destroy_event_hash() local 253 while (!bpf_map_get_next_key(fd, prev_key, &key)) { in destroy_event_hash() 270 prev_key = &key; in destroy_event_hash()
|
| /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() 424 if (key == prev_key) in static_call_del_module() 427 prev_key = key; in static_call_del_module() 408 struct static_call_key *key, *prev_key = NULL; static_call_del_module() local
|
| /linux/net/mac80211/ |
| H A D | key.c | 1369 struct ieee80211_key *prev_key; in ieee80211_gtk_rekey_add() local 1389 prev_key = wiphy_dereference(local->hw.wiphy, in ieee80211_gtk_rekey_add() 1391 if (!prev_key) { in ieee80211_gtk_rekey_add() 1396 prev_key = wiphy_dereference(local->hw.wiphy, in ieee80211_gtk_rekey_add() 1398 if (prev_key) in ieee80211_gtk_rekey_add() 1403 prev_key = wiphy_dereference(local->hw.wiphy, in ieee80211_gtk_rekey_add() 1408 if (WARN_ON(!prev_key)) in ieee80211_gtk_rekey_add() 1411 if (WARN_ON(key_len < prev_key->conf.keylen)) in ieee80211_gtk_rekey_add() 1414 key = ieee80211_key_alloc(prev_key->conf.cipher, idx, in ieee80211_gtk_rekey_add() 1415 prev_key->conf.keylen, key_data, in ieee80211_gtk_rekey_add()
|
| /linux/kernel/bpf/ |
| H A D | inode.c | 217 void *prev_key; in map_seq_next() local 224 prev_key = NULL; in map_seq_next() 226 prev_key = key; in map_seq_next() 229 if (map->ops->map_get_next_key(map, prev_key, key)) { in map_seq_next()
|
| H A D | syscall.c | 2063 void *buf, *buf_prevkey, *prev_key, *key, *value; in generic_map_lookup_batch() local 2091 prev_key = NULL; in generic_map_lookup_batch() 2097 prev_key = buf_prevkey; in generic_map_lookup_batch() 2101 err = map->ops->map_get_next_key(map, prev_key, key); in generic_map_lookup_batch() 2126 if (!prev_key) in generic_map_lookup_batch() 2127 prev_key = buf_prevkey; in generic_map_lookup_batch() 2129 swap(prev_key, key); in generic_map_lookup_batch() 2137 (cp && copy_to_user(uobatch, prev_key, map->key_size)))) in generic_map_lookup_batch()
|
| /linux/tools/bpf/bpftool/ |
| H A D | map.c | 829 void *key, *value, *prev_key; in map_dump() local 842 prev_key = NULL; in map_dump() 869 err = bpf_map_get_next_key(fd, prev_key, key); in map_dump() 877 prev_key = key; in map_dump()
|