Searched refs:is_pcpu (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A D | htab_map_batch_ops.c | 15 void *values, bool is_pcpu) in map_batch_update() argument 25 if (is_pcpu) in map_batch_update() 30 if (is_pcpu) in map_batch_update() 42 int *keys, void *values, bool is_pcpu) in map_batch_verify() argument 48 if (is_pcpu) in map_batch_verify() 54 if (is_pcpu) { in map_batch_verify() 77 void __test_map_lookup_and_delete_batch(bool is_pcpu) in __test_map_lookup_and_delete_batch() argument 92 map_fd = bpf_map_create(is_pcpu ? BPF_MAP_TYPE_PERCPU_HASH : BPF_MAP_TYPE_HASH, in __test_map_lookup_and_delete_batch() 97 value_size = is_pcpu ? sizeof(value) : sizeof(int); in __test_map_lookup_and_delete_batch() 99 if (is_pcpu) in __test_map_lookup_and_delete_batch() [all …]
|
| H A D | array_map_batch_ops.c | 16 __s64 *values, bool is_pcpu) in map_batch_update() argument 27 if (is_pcpu) { in map_batch_update() 41 __s64 *values, bool is_pcpu) in map_batch_verify() argument 48 if (is_pcpu) { in map_batch_verify() 70 static void __test_map_lookup_and_update_batch(bool is_pcpu) in __test_map_lookup_and_update_batch() argument 83 map_fd = bpf_map_create(is_pcpu ? BPF_MAP_TYPE_PERCPU_ARRAY : BPF_MAP_TYPE_ARRAY, in __test_map_lookup_and_update_batch() 89 if (is_pcpu) in __test_map_lookup_and_update_batch() 101 map_batch_update(map_fd, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_update_batch() 102 map_batch_verify(visited, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_update_batch() 130 map_batch_verify(visited, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_update_batch()
|