Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ktime.h Create Date:2022-07-28 05:35:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ktime_divns

Proto:static inline s64 ktime_divns(const ktime_t kt, s64 div)

Type:s64

Parameter:

TypeParameterName
const ktime_tkt
s64div
153  BUG_ON(div < 0)
154  If __builtin_constant_p(div) && Not (div >> 32) Then
155  ns = kt
156  tmp = If ns < 0 Then -ns Else ns
158  do_div() is NOT a C function(tmp, div)
159  Return If ns < 0 Then -tmp Else tmp
160  Else
161  Return Divide a ktime value by a nanosecond value
Caller
NameDescribe
swsusp_show_speedswsusp_show_speed - Print time elapsed between two events during hibernation.*@start: Starting event.*@stop: Final event.*@nr_pages: Number of memory pages processed between @start and @stop.*@msg: Additional diagnostic message to print.
hrtimer_forwardhrtimer_forward - forward the timer expiry*@timer: hrtimer to forward*@now: forward past this time*@interval: the interval to forward* Forward the timer expiry so it will expire in the future.* Returns the number of overruns.
alarm_forward
ktime_to_us
ktime_to_ms
ktime_get_boottime_seconds
ktime_get_clocktai_seconds