Searched refs:bpf_percpu (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/ |
A D | test_maps.c | 170 bpf_percpu(value, i) = i + 100; in test_hashmap_percpu() 179 bpf_percpu(value,0) == 100); in test_hashmap_percpu() 182 bpf_percpu(value,i) = i + 100; in test_hashmap_percpu() 200 bpf_percpu(value, 0) = 1; in test_hashmap_percpu() 202 bpf_percpu(value, 0) == 100); in test_hashmap_percpu() 431 bpf_percpu(values, i) = i + 100; in test_arraymap_percpu() 437 bpf_percpu(values, 0) = 0; in test_arraymap_percpu() 443 bpf_percpu(values, 0) == 100); in test_arraymap_percpu() 448 bpf_percpu(values, 0) == 0 && in test_arraymap_percpu() 495 bpf_percpu(values, i) = i + 10; in test_arraymap_percpu_many_keys() [all …]
|
A D | bpf_util.h | 28 #define bpf_percpu(name, cpu) name[(cpu)].v macro
|
/linux/tools/testing/selftests/bpf/map_tests/ |
A D | htab_map_batch_ops.c | 31 bpf_percpu(v[i], j) = i + 2 + j; in map_batch_update() 55 CHECK(keys[i] + 1 + j != bpf_percpu(v[i], j), in map_batch_verify() 58 i, j, keys[i], bpf_percpu(v[i], j)); in map_batch_verify()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
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()
|
Completed in 9 milliseconds