Searched refs:bpf_percpu (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/ |
H A D | test_maps.c | 157 sizeof(bpf_percpu(value, 0)), 2, &map_opts); in test_hashmap_percpu() 164 bpf_percpu(value, i) = i + 100; in test_hashmap_percpu() 173 bpf_percpu(value,0) == 100); in test_hashmap_percpu() 176 bpf_percpu(value,i) = i + 100; in test_hashmap_percpu() 194 bpf_percpu(value, 0) = 1; in test_hashmap_percpu() 196 bpf_percpu(value, 0) == 100); in test_hashmap_percpu() 236 assert(bpf_percpu(value, i) == i + 100); in test_hashmap_percpu() 418 sizeof(bpf_percpu(values, 0)), 2, NULL); in test_arraymap_percpu() 425 bpf_percpu(values, i) = i + 100; in test_arraymap_percpu() 431 bpf_percpu(value in test_arraymap_percpu() [all...] |
H A D | bpf_util.h | 48 #define bpf_percpu(name, cpu) name[(cpu)].v macro
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_init.c | 27 bpf_percpu(value, i) = FILL_VALUE; in map_populate() 106 val = bpf_percpu(value, i); in check_values_one_cpu()
|