Home
last modified time | relevance | path

Searched refs:t_sys1 (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
272 t_sys1 = sys_time(&t2_sys1); in test_time()
278 if (t_sys1 < 0 || t_sys1 != t2_sys1 || t_sys2 < 0 || t_sys2 != t2_sys2) { in test_time()
279 …printf("[FAIL]\tsyscall failed (ret1:%ld output1:%ld ret2:%ld output2:%ld)\n", t_sys1, t2_sys1, t_… 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()