Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/vDSO/
Dvdso_test_correctness.c176 unsigned cpu_sys, cpu_vdso, cpu_vsys, in test_getcpu() local
185 ret_vsys = vgetcpu(&cpu_vsys, &node_vsys, 0); in test_getcpu()
199 if (!ret_vsys && (cpu_vsys != cpu || node_vsys != node)) in test_getcpu()
208 printf(" vsyscall: cpu %u, node %u", cpu_vsys, in test_getcpu()
/linux-6.1.9/tools/testing/selftests/x86/
Dtest_vsyscall.c328 unsigned cpu_sys, cpu_vdso, cpu_vsys, node_sys, node_vdso, node_vsys; in test_getcpu() local
335 ret_vsys = vgetcpu(&cpu_vsys, &node_vsys, 0); in test_getcpu()
383 if (cpu_vsys != cpu) { in test_getcpu()
384 printf("[FAIL]\tvsyscall reported CPU %hu but should be %d\n", cpu_vsys, cpu); in test_getcpu()