Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/vDSO/
Dvdso_test_correctness.c176 unsigned cpu_sys, cpu_vdso, cpu_vsys, in test_getcpu() local
181 ret_sys = sys_getcpu(&cpu_sys, &node_sys, 0); in test_getcpu()
195 if (!ret_sys && (cpu_sys != cpu || node_sys != node)) in test_getcpu()
204 printf(" syscall: cpu %u, node %u", cpu_sys, node_sys); in test_getcpu()
/linux-5.19.10/tools/testing/selftests/x86/
Dtest_vsyscall.c328 unsigned cpu_sys, cpu_vdso, cpu_vsys, node_sys, node_vdso, node_vsys; in test_getcpu() local
331 ret_sys = sys_getcpu(&cpu_sys, &node_sys, 0); in test_getcpu()
338 if (cpu_sys != cpu) { in test_getcpu()
339 printf("[FAIL]\tsyscall reported CPU %hu but should be %d\n", cpu_sys, cpu); in test_getcpu()