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.c270 long t_sys1, t_sys2, t_vdso = 0, t_vsys = 0; in test_time() local
277 t_sys2 = sys_time(&t2_sys2); in test_time()
278 if (t_sys1 < 0 || t_sys1 != t2_sys1 || t_sys2 < 0 || t_sys2 != t2_sys2) { in test_time()
279 …\tsyscall failed (ret1:%ld output1:%ld ret2:%ld output2:%ld)\n", t_sys1, t2_sys1, t_sys2, t2_sys2); in test_time()
288 } else if (t_vdso < t_sys1 || t_vdso > t_sys2) { in test_time()
289 printf("[FAIL]\tvDSO returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vdso, t_sys2); in test_time()
300 } else if (t_vsys < t_sys1 || t_vsys > t_sys2) { in test_time()
301 printf("[FAIL]\tvsyscall returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vsys, t_sys2); in test_time()