函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hrtimer_run_softirq

函数原型:static __latent_entropy void hrtimer_run_softirq(struct softirq_action *h)

返回类型:void

参数:

类型参数名称
struct softirq_action *h
1588  cpu_base等于this_cpu_ptr( & The timer bases:* There are more clockids than hrtimer bases. Thus, we index* into the timer bases by the hrtimer_base_type enum. When trying* to reach a base using a clockid, hrtimer_clockid_to_base())
1592  hrtimer_cpu_base_lock_expiry(cpu_base)
1593  raw_spin_lock_irqsave( & lock, flags)
1595  now等于hrtimer_update_base(cpu_base)
1596  __hrtimer_run_queues(cpu_base, now, flags, HRTIMER_ACTIVE_SOFT)
1598  softirq_activated等于0
1599  hrtimer_update_softirq_timer(cpu_base, true)
1601  raw_spin_unlock_irqrestore( & lock, flags)
1602  hrtimer_cpu_base_unlock_expiry(cpu_base)