Searched refs:cpu_sys (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A D | test_vdso.c | 145 unsigned cpu_sys, cpu_vdso, cpu_vsys, in test_getcpu() local 150 ret_sys = sys_getcpu(&cpu_sys, &node_sys, 0); in test_getcpu() 164 if (!ret_sys && (cpu_sys != cpu || node_sys != node)) in test_getcpu() 173 printf(" syscall: cpu %u, node %u", cpu_sys, node_sys); in test_getcpu()
|
H A D | test_vsyscall.c | 328 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/ |
H A D | vdso_test_correctness.c | 176 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | test_vsyscall.c | 325 unsigned cpu_sys, cpu_vdso, cpu_vsys, node_sys, node_vdso, node_vsys; in test_getcpu() local 328 ret_sys = sys_getcpu(&cpu_sys, &node_sys, 0); in test_getcpu() 335 if (cpu_sys != cpu) { in test_getcpu() 336 printf("[FAIL]\tsyscall reported CPU %hu but should be %d\n", cpu_sys, cpu); in test_getcpu()
|
Completed in 4 milliseconds