Function report |
Source Code:fs\timerfd.c |
Create Date:2022-07-28 20:19:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:timerfd_setup
Proto:static int timerfd_setup(struct timerfd_ctx *ctx, int flags, const struct itimerspec64 *ktmr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct timerfd_ctx * | ctx | |
| int | flags | |
| const struct itimerspec64 * | ktmr |
| 183 | expired = 0 |
| 184 | ticks = 0 |
| 192 | Else |
| 194 | hrtimer_set_expires( & tmr, texp) |
| 195 | function = timerfd_tmrproc |
| 198 | If texp != 0 Then |
| 204 | Else |
| 208 | If timerfd_canceled(ctx) Then Return -ECANCELED |
| 213 | Return 0 |
| Name | Describe |
|---|---|
| do_timerfd_settime |
| 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 |