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_before - Compare if a ktime_t value is smaller than another one.*@cmp1: comparable1*@cmp2: comparable2* Return: true if cmp1 happened before cmp2.

Proto:static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2)

Type:bool

Parameter:

TypeParameterName
const ktime_tcmp1
const ktime_tcmp2
142  Return ktime_compare - Compares two ktime_t variables for less, greater or equal*@cmp1: comparable1*@cmp2: comparable2* Return: ...* cmp1 < cmp2: return <0* cmp1 == cmp2: return 0* cmp1 > cmp2: return >0 < 0
Caller
NameDescribe
hrtimer_reprogramWhen a timer is enqueued and expires earlier than the already enqueued* timers, we have to check, whether it expires earlier than the timer for* which the clock event device was armed.* Called with interrupts disabled and base->cpu_base.lock held
hrtimer_run_queuesCalled from run_local_timers in hardirq context every jiffy
ring_buffer_producer
torture_shutdownCause the torture test to shutdown the system after the test has* run for the time specified by the shutdown_secs parameter.