Home
last modified time | relevance | path

Searched refs:percpu_arr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_global_map_resize.c32 int percpu_arr[1] SEC(".data.percpu_arr"); variable
41 sum = percpu_arr[bpf_get_smp_processor_id()]; in bss_array_sum()
56 sum = percpu_arr[bpf_get_smp_processor_id()]; in data_array_sum()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_map_resize.c45 new_sz = sizeof(skel->data_percpu_arr->percpu_arr[0]) * libbpf_num_possible_cpus(); in global_map_resize_bss_subtest()
115 new_sz = sizeof(skel->data_percpu_arr->percpu_arr[0]) * libbpf_num_possible_cpus(); in global_map_resize_data_subtest()