Function report |
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 activity | Download SCCT | Chinese |
Name:expire_timers
Proto:static void expire_timers(struct timer_base *base, struct hlist_head *head)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct timer_base * | base | |
| struct hlist_head * | head |
| 1431 | When Not hlist_empty(head) cycle |
| 1435 | timer = hlist_entry(first, structtimer_list, entry) |
| 1437 | running_timer = timer |
| 1438 | detach_timer(timer, true) |
| 1442 | If flags & TIMER_IRQSAFE Then |
| 1443 | raw_spin_unlock( & lock) |
| 1444 | call_timer_fn(timer, fn, baseclk) |
| 1445 | running_timer = NULL |
| 1446 | raw_spin_lock( & lock) |
| 1447 | Else |
| 1448 | raw_spin_unlock_irq( & lock) |
| 1449 | call_timer_fn(timer, fn, baseclk) |
| 1450 | running_timer = NULL |
| 1451 | timer_sync_wait_running(base) |
| 1452 | raw_spin_lock_irq( & lock) |
| Name | Describe |
|---|---|
| __run_timers | __run_timers - run all expired timers (if any) on this CPU.*@base: the timer vector to be processed. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |