函数逻辑报告 |
Source Code:kernel\time\alarmtimer.c |
Create Date:2022-07-27 11:45:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int alarm_try_to_cancel(struct alarm *alarm)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct alarm * | alarm |
420 | spin_lock_irqsave( & lock, flags) |
424 | spin_unlock_irqrestore( & lock, flags) |
426 | trace_alarmtimer_cancel(alarm, gettime()) |
427 | 返回:ret |
名称 | 描述 |
---|---|
alarm_cancel | alarm_cancel - Spins trying to cancel an alarm timer until it is done*@alarm: ptr to alarm to be canceled* Returns 1 if the timer was canceled, 0 if it was not active. |
do_timerfd_settime |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |