Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:expire_timers

Proto:static void expire_timers(struct timer_base *base, struct hlist_head *head)

Type:void

Parameter:

TypeParameterName
struct timer_base *base
struct hlist_head *head
1429  baseclk = clk - 1
1431  When Not hlist_empty(head) cycle
1435  timer = hlist_entry(first, structtimer_list, entry)
1437  running_timer = timer
1438  detach_timer(timer, true)
1440  fn = function
1442  If flags & TIMER_IRQSAFE Then
1443  raw_spin_unlock( & lock)
1445  running_timer = NULL
1446  raw_spin_lock( & lock)
1447  Else
1450  running_timer = NULL
1452  raw_spin_lock_irq( & lock)
Caller
NameDescribe
__run_timers__run_timers - run all expired timers (if any) on this CPU.*@base: the timer vector to be processed.