Function report |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-28 10:40:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped
Proto:int hrtimer_try_to_cancel(struct hrtimer *timer)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct hrtimer * | timer |
1155 | ret = -1 |
1166 | base = lock_hrtimer_base(timer, & flags) |
1168 | If Not Helper function to check, whether the timer is running the callback* function Then ret = move hrtimer, called with base lock held |
1173 | Return ret |
Name | Describe |
---|---|
task_contending | |
switched_to_dl | When switching to -deadline, we may overload the rq, then* we try to push someone off, if possible. |
hrtimer_cancel | hrtimer_cancel - cancel a timer and wait for the handler to finish.*@timer: the timer to be cancelled* Returns:* 0 when the timer was not active* 1 when the timer was active |
alarm_try_to_cancel | alarm_try_to_cancel - Tries to cancel an alarm timer*@alarm: ptr to alarm to be canceled* Returns 1 if the timer was canceled, 0 if it was not running,* and -1 if the callback was running |
common_hrtimer_try_to_cancel | |
do_setitimer | |
bc_shutdown | |
bfq_rq_enqueued | Called when a new fs request (rq) is added to bfqq. Check if there's* something we should do about it. |
__bfq_bfqd_reset_in_service | rns true if the in-service queue gets freed |
io_kill_timeout | |
io_link_cancel_timeout | |
io_timeout_cancel | |
tcp_clear_xmit_timers |
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 |