Searched refs:bpf_percpu (Results 1 – 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_maps.c | 165 sizeof(bpf_percpu(value, 0)), 2, map_flags); in test_hashmap_percpu() 172 bpf_percpu(value, i) = i + 100; in test_hashmap_percpu() 192 bpf_percpu(value, 0) = 1; in test_hashmap_percpu() 194 bpf_percpu(value, 0) == 100); in test_hashmap_percpu() 234 assert(bpf_percpu(value, i) == i + 100); in test_hashmap_percpu() 371 sizeof(bpf_percpu(values, 0)), 2, 0); in test_arraymap_percpu() 378 bpf_percpu(values, i) = i + 100; in test_arraymap_percpu() 384 bpf_percpu(values, 0) = 0; in test_arraymap_percpu() 390 bpf_percpu(values, 0) == 100); in test_arraymap_percpu() 395 bpf_percpu(values, 0) == 0 && in test_arraymap_percpu() [all …]
|
D | bpf_util.h | 45 #define bpf_percpu(name, cpu) name[(cpu)].v macro
|