Function report |
Source Code:fs\timerfd.c |
Create Date:2022-07-28 20:19:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This gets called when the timer event triggers. We set the "expired"* flag, but we do not re-arm the timer (in case it's necessary,* tintv != 0) until the timer is accessed.
Proto:static void timerfd_triggered(struct timerfd_ctx *ctx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct timerfd_ctx * | ctx |
| 66 | spin_lock_irqsave( & lock, flags) |
| 67 | expired = 1 |
| 68 | ticks++ |
| 69 | wake_up_locked_poll( & wqh, Epoll event masks ) |
| 70 | spin_unlock_irqrestore( & lock, flags) |
| Name | Describe |
|---|---|
| timerfd_tmrproc | |
| timerfd_alarmproc |
| 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 |