Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/kvm/lib/
Dtest_util.c57 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns() function
75 int64_t ns1 = timespec_to_ns(ts1); in timespec_add()
76 int64_t ns2 = timespec_to_ns(ts2); in timespec_add()
82 int64_t ns1 = timespec_to_ns(ts1); in timespec_sub()
83 int64_t ns2 = timespec_to_ns(ts2); in timespec_sub()
97 int64_t ns = timespec_to_ns(ts) / divisor; in timespec_div()
/Linux-v5.10/arch/um/os-Linux/
Dtime.c26 static inline long long timespec_to_ns(const struct timespec *ts) in timespec_to_ns() function
36 return timespec_to_ns(&realtime_tp); in os_persistent_clock_emulation()
98 return timespec_to_ns(&ts); in os_nsecs()
/Linux-v5.10/tools/testing/selftests/kvm/include/
Dtest_util.h63 int64_t timespec_to_ns(struct timespec ts);
/Linux-v5.10/tools/perf/jvmti/
Djvmti_agent.c108 timespec_to_ns(const struct timespec *ts) in timespec_to_ns() function
126 return timespec_to_ns(&ts); in perf_get_timestamp()
/Linux-v5.10/tools/testing/selftests/kvm/
Dsteal_time.c245 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0) in do_steal_time()
Ddemand_paging_test.c102 timespec_to_ns(ts_diff)); in handle_uffd_page_request()