Function report |
Source Code:kernel\time\alarmtimer.c |
Create Date:2022-07-28 10:45:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alarmtimer_fired - Handles alarm hrtimer being fired
Proto:static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer)
Type:enum hrtimer_restart
Parameter:
Type | Parameter | Name |
---|---|---|
struct hrtimer * | timer |
211 | ret = Timer is not restarted |
212 | restart = ALARMTIMER_NORESTART |
214 | spin_lock_irqsave( & lock, flags) |
216 | spin_unlock_irqrestore( & lock, flags) |
221 | spin_lock_irqsave( & lock, flags) |
222 | If restart != ALARMTIMER_NORESTART Then |
223 | hrtimer_set_expires( & timer, expires) |
225 | ret = Timer must be restarted |
227 | spin_unlock_irqrestore( & lock, flags) |
229 | trace_alarmtimer_fired(alarm, gettime()) |
230 | Return ret |
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 |