1KTIME_TO_TIMESPEC64_(9) Driver Basics KTIME_TO_TIMESPEC64_(9)
23
4
NAME
6ktime_to_timespec64_cond - convert a ktime_t variable to timespec64
7format only if the variable contains data
8
SYNOPSIS
10bool ktime_to_timespec64_cond(const ktime_t kt,
11struct timespec64 * ts);
12
ARGUMENTS
14kt
15the ktime_t variable to convert
1617
ts
18the timespec variable to store the result in
19
RETURN
21true if there was a successful conversion, false if kt was 0.
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 KTIME_TO_TIMESPEC64_(9)