Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This is called from the guts of the broadcast code when the cpu* which is about to enter idle has the earliest broadcast timer event.

Proto:static int bc_set_next(ktime_t expires, struct clock_event_device *bc)

Type:int

Parameter:

TypeParameterName
ktime_texpires
struct clock_event_device *bc
64  RCU_NONIDLE - Indicate idle-loop code that needs RCU readers*@a: Code that RCU needs to pay attention to.* RCU read-side critical sections are forbidden in the inner idle loop,* that is, between the rcu_idle_enter() and the rcu_idle_exit() -- RCU({hrtimer_start - (re)start an hrtimer*@timer: the timer to be added*@tim: expiry time*@mode: timer mode: absolute (HRTIMER_MODE_ABS) or* relative (HRTIMER_MODE_REL), and pinned (HRTIMER_MODE_PINNED);* softirq based mode is considered for debug purpose only!;bound_on = cpu;})
78  Return 0