Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/x86/
H A Dtest_vsyscall.c269 long t_sys1, t_sys2, t_vdso = 0, t_vsys = 0; in test_time() local
271 t_sys1 = sys_time(&t2_sys1); in test_time()
277 if (t_sys1 < 0 || t_sys1 != t2_sys1 || t_sys2 < 0 || t_sys2 != t2_sys2) { in test_time()
278 …printf("[FAIL]\tsyscall failed (ret1:%ld output1:%ld ret2:%ld output2:%ld)\n", t_sys1, t2_sys1, t_… in test_time()
287 } else if (t_vdso < t_sys1 || t_vdso > t_sys2) { in test_time()
288 printf("[FAIL]\tvDSO returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vdso, t_sys2); in test_time()
299 } else if (t_vsys < t_sys1 || t_vsys > t_sys2) { in test_time()
300 printf("[FAIL]\tvsyscall returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vsys, t_sys2); in test_time()