Lines Matching refs:vdso
92 void *vdso = dlopen("linux-vdso.so.1", in fill_function_pointers() local
94 if (!vdso) in fill_function_pointers()
95 vdso = dlopen("linux-gate.so.1", in fill_function_pointers()
97 if (!vdso) { in fill_function_pointers()
102 vdso_getcpu = (getcpu_t)dlsym(vdso, "__vdso_getcpu"); in fill_function_pointers()
108 vdso_clock_gettime = (vgettime_t)dlsym(vdso, "__vdso_clock_gettime"); in fill_function_pointers()
112 vdso_gettimeofday = (vgtod_t)dlsym(vdso, "__vdso_gettimeofday"); in fill_function_pointers()
219 struct timespec start, vdso, end; in test_one_clock_gettime() local
226 vdso_ret = vdso_clock_gettime(clock, &vdso); in test_one_clock_gettime()
239 vdso_ret = vdso_clock_gettime(clock, &vdso); in test_one_clock_gettime()
251 (unsigned long long)vdso.tv_sec, vdso.tv_nsec, in test_one_clock_gettime()
254 if (!ts_leq(&start, &vdso) || !ts_leq(&vdso, &end)) { in test_one_clock_gettime()
275 struct timeval start, vdso, end; in test_gettimeofday() local
290 vdso_ret = vdso_gettimeofday(&vdso, &vdso_tz); in test_gettimeofday()
302 (unsigned long long)vdso.tv_sec, vdso.tv_usec, in test_gettimeofday()
305 if (!tv_leq(&start, &vdso) || !tv_leq(&vdso, &end)) { in test_gettimeofday()
320 vdso_gettimeofday(&vdso, NULL); in test_gettimeofday()