Searched refs:cpu_sys (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/tools/testing/selftests/x86/ |
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()
|
D | test_vsyscall.c | 326 unsigned cpu_sys, cpu_vdso, cpu_vsys, node_sys, node_vdso, node_vsys; in test_getcpu() local 329 ret_sys = sys_getcpu(&cpu_sys, &node_sys, 0); in test_getcpu() 336 if (cpu_sys != cpu) { in test_getcpu() 337 printf("[FAIL]\tsyscall reported CPU %hu but should be %d\n", cpu_sys, cpu); in test_getcpu()
|