Home
last modified time | relevance | path

Searched refs:cpu_vdso (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/x86/
H A Dtest_vdso.c145 unsigned cpu_sys, cpu_vdso, cpu_vsys, in test_getcpu() local
152 ret_vdso = vdso_getcpu(&cpu_vdso, &node_vdso, 0); in test_getcpu()
166 if (!ret_vdso && (cpu_vdso != cpu || node_vdso != node)) in test_getcpu()
175 printf(" vdso: cpu %u, node %u", cpu_vdso, node_vdso); in test_getcpu()
H A Dtest_vsyscall.c328 unsigned cpu_sys, cpu_vdso, cpu_vsys, node_sys, node_vdso, node_vsys; in test_getcpu() local
333 ret_vdso = vdso_getcpu(&cpu_vdso, &node_vdso, 0); in test_getcpu()
357 if (cpu_vdso != cpu) { in test_getcpu()
358 printf("[FAIL]\tvDSO reported CPU %hu but should be %d\n", cpu_vdso, cpu); in test_getcpu()
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/
H A Dvdso_test_correctness.c176 unsigned cpu_sys, cpu_vdso, cpu_vsys, in test_getcpu() local
183 ret_vdso = vdso_getcpu(&cpu_vdso, &node_vdso, 0); in test_getcpu()
197 if (!ret_vdso && (cpu_vdso != cpu || node_vdso != node)) in test_getcpu()
206 printf(" vdso: cpu %u, node %u", cpu_vdso, node_vdso); in test_getcpu()
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Dtest_vsyscall.c325 unsigned cpu_sys, cpu_vdso, cpu_vsys, node_sys, node_vdso, node_vsys; in test_getcpu() local
330 ret_vdso = vdso_getcpu(&cpu_vdso, &node_vdso, 0); in test_getcpu()
354 if (cpu_vdso != cpu) { in test_getcpu()
355 printf("[FAIL]\tvDSO reported CPU %hu but should be %d\n", cpu_vdso, cpu); in test_getcpu()

Completed in 4 milliseconds