1KTIME_TO_TIMESPEC_CO(9) Driver Basics KTIME_TO_TIMESPEC_CO(9)
23
4
NAME
6ktime_to_timespec_cond - convert a ktime_t variable to timespec format
7only if the variable contains data
8
SYNOPSIS
10bool ktime_to_timespec_cond(const ktime_t kt, struct timespec * ts);
11
ARGUMENTS
13kt
14the ktime_t variable to convert
1516
ts
17the timespec variable to store the result in
18
DESCRIPTION
20Returns true if there was a successful conversion, false if kt was 0.
21
COPYRIGHT
23Kernel Hackers Manual 3.10 June 2019 KTIME_TO_TIMESPEC_CO(9)