Searched refs:cpu_sys (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/vDSO/ |
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()
|
/linux-6.1.9/tools/testing/selftests/x86/ |
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()
|