Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\rt.c Create Date:2022-07-28 09:39:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sched_rt_period_timer

Proto:static enum hrtimer_restart sched_rt_period_timer(struct hrtimer *timer)

Type:enum hrtimer_restart

Parameter:

TypeParameterName
struct hrtimer *timer
19  rt_b = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(timer, structrt_bandwidth, rt_period_timer)
21  idle = 0
24  raw_spin_lock( & nests inside the rq lock: )
25  cycle
26  overrun = hrtimer_forward_now - forward the timer expiry so it expires after now*@timer: hrtimer to forward*@interval: the interval to forward* Forward the timer expiry so it will expire after the current time* of the hrtimer clock base
27  If Not overrun Then Break
30  raw_spin_unlock( & nests inside the rq lock: )
31  idle = do_sched_rt_period_timer(rt_b, overrun)
32  raw_spin_lock( & nests inside the rq lock: )
34  If idle Then rt_period_active = 0
36  raw_spin_unlock( & nests inside the rq lock: )
38  Return If idle Then Timer is not restarted Else Timer must be restarted