Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c84 struct timespec timespec_add_ns(struct timespec ts, int64_t ns) in timespec_add_ns() function
99 return timespec_add_ns((struct timespec){0}, ns1 + ns2); in timespec_add()
106 return timespec_add_ns((struct timespec){0}, ns1 - ns2); in timespec_sub()
121 return timespec_add_ns((struct timespec){0}, ns); in timespec_div()
/linux/tools/testing/selftests/kvm/include/
H A Dtest_util.h84 struct timespec timespec_add_ns(struct timespec ts, int64_t ns);
/linux/tools/testing/selftests/kvm/
H A Dsteal_time.c311 stop = timespec_add_ns(ts, MIN_RUN_DELAY_NS); in do_steal_time()