Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
A Dtest_maps.c170 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 Dbpf_util.h28 #define bpf_percpu(name, cpu) name[(cpu)].v macro
/linux/tools/testing/selftests/bpf/map_tests/
A Dhtab_map_batch_ops.c31 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 Dmap_init.c27 bpf_percpu(value, i) = FILL_VALUE; in map_populate()
106 val = bpf_percpu(value, i); in check_values_one_cpu()

Completed in 9 milliseconds