函数逻辑报告 |
Source Code:kernel\time\timer.c |
Create Date:2022-07-27 11:39:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int del_timer(struct timer_list *timer)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct timer_list * | timer |
| 1194 | ret等于0 |
| 1196 | debug_assert_init(timer) |
| 1200 | ret等于detach_if_pending(timer, base, true) |
| 1201 | raw_spin_unlock_irqrestore( & lock, flags) |
| 1204 | 返回:ret |
| 名称 | 描述 |
|---|---|
| try_to_grab_pending | ry_to_grab_pending - steal work item from worklist and disable irq*@work: work item to steal*@is_dwork: @work is a delayed_work*@flags: place to store irq state* Try to grab PENDING bit of @work. This function can handle @work in any |
| laptop_sync_completion | We're in laptop mode and we've just synced. The sync's writes will have* caused another writeback to be scheduled by laptop_io_completion.* Nothing needs to be written back anymore, so we unschedule the writeback. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |