Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_maps.c156 sizeof(bpf_percpu(value, 0)), 2, map_flags); in test_hashmap_percpu()
163 bpf_percpu(value, i) = i + 100; in test_hashmap_percpu()
183 bpf_percpu(value, 0) = 1; in test_hashmap_percpu()
185 bpf_percpu(value, 0) == 100); in test_hashmap_percpu()
225 assert(bpf_percpu(value, i) == i + 100); in test_hashmap_percpu()
407 sizeof(bpf_percpu(values, 0)), 2, 0); in test_arraymap_percpu()
414 bpf_percpu(values, i) = i + 100; in test_arraymap_percpu()
420 bpf_percpu(values, 0) = 0; in test_arraymap_percpu()
426 bpf_percpu(values, 0) == 100); in test_arraymap_percpu()
431 bpf_percpu(values, 0) == 0 && in test_arraymap_percpu()
[all …]
Dbpf_util.h28 #define bpf_percpu(name, cpu) name[(cpu)].v macro