Function report |
Source Code:kernel\time\timer.c |
Create Date:2022-07-28 10:39:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:detach_if_pending
Proto:static int detach_if_pending(struct timer_list *timer, struct timer_base *base, bool clear_pending)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct timer_list * | timer | |
| struct timer_base * | base | |
| bool | clear_pending |
| 824 | idx = timer_get_idx(timer) |
| 832 | detach_timer(timer, clear_pending) |
| 833 | Return 1 |
| Name | Describe |
|---|---|
| __mod_timer | |
| del_timer | del_timer - deactivate a timer.*@timer: the timer to be deactivated* del_timer() deactivates a timer - this works on both active and inactive* timers.* The function returns whether it has deactivated a pending timer or not.* (ie |
| try_to_del_timer_sync | ry_to_del_timer_sync - Try to deactivate a timer*@timer: timer to delete* This function tries to deactivate a timer. Upon successful (ret >= 0)* exit the timer is not queued and the handler is not running on any CPU. |
| 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 |