Home
last modified time | relevance | path

Searched refs:t_sys2 (Results 1 – 1 of 1) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_vsyscall.c271 long t_sys1, t_sys2, t_vdso = 0, t_vsys = 0; in test_time() local
278 t_sys2 = sys_time(&t2_sys2); in test_time()
279 if (t_sys1 < 0 || t_sys1 != t2_sys1 || t_sys2 < 0 || t_sys2 != t2_sys2) { in test_time()
280 …\tsyscall failed (ret1:%ld output1:%ld ret2:%ld output2:%ld)\n", t_sys1, t2_sys1, t_sys2, t2_sys2); in test_time()
289 } else if (t_vdso < t_sys1 || t_vdso > t_sys2) { in test_time()
290 printf("[FAIL]\tvDSO returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vdso, t_sys2); in test_time()
301 } else if (t_vsys < t_sys1 || t_vsys > t_sys2) { in test_time()
302 printf("[FAIL]\tvsyscall returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vsys, t_sys2); in test_time()