Searched refs:cpu_vsys (Results 1 – 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | test_vdso.c | 145 unsigned cpu_sys, cpu_vdso, cpu_vsys, in test_getcpu() local 154 ret_vsys = vgetcpu(&cpu_vsys, &node_vsys, 0); in test_getcpu() 168 if (!ret_vsys && (cpu_vsys != cpu || node_vsys != node)) in test_getcpu() 177 printf(" vsyscall: cpu %u, node %u", cpu_vsys, 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 333 ret_vsys = vgetcpu(&cpu_vsys, &node_vsys, 0); in test_getcpu() 381 if (cpu_vsys != cpu) { in test_getcpu() 382 printf("[FAIL]\tvsyscall reported CPU %hu but should be %d\n", cpu_vsys, cpu); in test_getcpu()
|