函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\tick-common.c Create Date:2022-07-27 11:50:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:k_is_oneshot_available - check for a oneshot capable event device

函数原型:int tick_is_oneshot_available(void)

返回类型:int

参数:

71  dev等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(evtdev)
73  如果非dev或非features按位与CLOCK_EVT_FEAT_ONESHOT的值则返回:0
75  如果非features按位与CLOCK_EVT_FEAT_C3STOP的值则返回:1
77  返回:tick_broadcast_oneshot_available()
调用者
名称描述
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