Searched refs:bpf_percpu (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | test_maps.c | 163 sizeof(bpf_percpu(value, 0)), 2, map_flags); in test_hashmap_percpu() 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() 242 assert(bpf_percpu(value, i) == i + 100); in test_hashmap_percpu() 424 sizeof(bpf_percpu(values, 0)), 2, 0); in test_arraymap_percpu() 431 bpf_percpu(values, i) = i + 100; in test_arraymap_percpu() 437 bpf_percpu(values, 0) = 0; in test_arraymap_percpu() [all …]
|
D | bpf_util.h | 28 #define bpf_percpu(name, cpu) name[(cpu)].v macro
|
/Linux-v5.15/tools/testing/selftests/bpf/map_tests/ |
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-v5.15/tools/testing/selftests/bpf/prog_tests/ |
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()
|