函数逻辑报告 |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-27 11:40:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int hrtimer_try_to_cancel(struct hrtimer *timer)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hrtimer * | timer |
1155 | ret等于负1 |
1166 | base等于lock_hrtimer_base(timer, & flags) |
1168 | 如果非Helper function to check, whether the timer is running the callback* function则ret等于move hrtimer, called with base lock held |
1173 | 返回:ret |
名称 | 描述 |
---|---|
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 | |
dl_change_utilization | |
tcp_clear_xmit_timers | |
bfq_select_queue | Select a queue for service. If we have a current queue in service,* check whether to continue servicing it, or retrieve and set a new one. |
do_timerfd_settime |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |