Home
last modified time | relevance | path

Searched refs:is_pcpu (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dhtab_map_batch_ops.c15 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
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()
115 map_batch_update(map_fd, max_entries, keys, values, is_pcpu); in __test_map_lookup_and_delete_batch()
[all …]
H A Darray_map_batch_ops.c16 __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()