Function report |
Source Code:kernel\time\alarmtimer.c |
Create Date:2022-07-28 10:45:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int alarm_try_to_cancel(struct alarm *alarm)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct alarm * | alarm |
| 420 | spin_lock_irqsave( & lock, flags) |
| 424 | spin_unlock_irqrestore( & lock, flags) |
| 426 | trace_alarmtimer_cancel(alarm, gettime()) |
| 427 | Return ret |
| Name | Describe |
|---|---|
| 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. |
| 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 |