Function report |
Source Code:kernel\time\timer.c |
Create Date:2022-07-28 10:39:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__run_timers - run all expired timers (if any) on this CPU.*@base: the timer vector to be processed.
Proto:static inline void __run_timers(struct timer_base *base)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct timer_base * | base |
| 1745 | If Not time_after_eq(jiffies, clk) Then Return |
| 1748 | timer_base_lock_expiry(base) |
| 1749 | raw_spin_lock_irq( & lock) |
| 1765 | must_forward_clk = false |
| 1767 | When time_after_eq(jiffies, clk) cycle |
| 1769 | levels = collect_expired_timers(base, heads) |
| 1770 | clk++ |
| 1773 | expire_timers(base, heads + levels) |
| 1775 | raw_spin_unlock_irq( & lock) |
| 1776 | timer_base_unlock_expiry(base) |
| Name | Describe |
|---|---|
| run_timer_softirq | This function runs timers and the timer-tq in bottom half context. |
| 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 |