Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\tick-common.c Create Date:2022-07-28 10:50:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:k_is_oneshot_available - check for a oneshot capable event device

Proto:int tick_is_oneshot_available(void)

Type:int

Parameter:Nothing

71  dev = Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(evtdev)
73  If Not dev || Not (features & CLOCK_EVT_FEAT_ONESHOT) Then Return 0
75  If Not (features & CLOCK_EVT_FEAT_C3STOP) Then Return 1
77  Return tick_broadcast_oneshot_available()
Caller
NameDescribe
tick_check_oneshot_changeCheck, if a change happened, which makes oneshot possible.* Called cyclic from the hrtimer softirq (driven by the timer* softirq) allow_nohz signals, that we can switch into low-res nohz* mode, because high resolution timers are disabled (either compile