Searched refs:cpu_vdso (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 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()
|
D | test_vsyscall.c | 326 unsigned cpu_sys, cpu_vdso, cpu_vsys, node_sys, node_vdso, node_vsys; in test_getcpu() local 331 ret_vdso = vdso_getcpu(&cpu_vdso, &node_vdso, 0); in test_getcpu() 355 if (cpu_vdso != cpu) { in test_getcpu() 356 printf("[FAIL]\tvDSO reported CPU %hu but should be %d\n", cpu_vdso, cpu); in test_getcpu()
|