Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_maps.c164 sizeof(bpf_percpu(value, 0)), 2, map_flags); in test_hashmap_percpu()
171 bpf_percpu(value, i) = i + 100; in test_hashmap_percpu()
191 bpf_percpu(value, 0) = 1; in test_hashmap_percpu()
193 bpf_percpu(value, 0) == 100); in test_hashmap_percpu()
233 assert(bpf_percpu(value, i) == i + 100); in test_hashmap_percpu()
370 sizeof(bpf_percpu(values, 0)), 2, 0); in test_arraymap_percpu()
377 bpf_percpu(values, i) = i + 100; in test_arraymap_percpu()
383 bpf_percpu(values, 0) = 0; in test_arraymap_percpu()
389 bpf_percpu(values, 0) == 100); in test_arraymap_percpu()
394 bpf_percpu(values, 0) == 0 && in test_arraymap_percpu()
[all …]
Dbpf_util.h45 #define bpf_percpu(name, cpu) name[(cpu)].v macro