Function report |
Source Code:fs\timerfd.c |
Create Date:2022-07-28 20:19:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_timerfd_gettime
Proto:static int do_timerfd_gettime(int ufd, struct itimerspec64 *t)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | ufd | |
struct itimerspec64 * | t |
511 | ret = timerfd_fget(ufd, & f) |
516 | spin_lock_irq( & lock) |
518 | expired = 0 |
521 | ticks += alarm_forward_now( & alarm, tintv) - 1 |
524 | alarm_restart( & alarm) |
525 | Else |
532 | it_value = Map the ktime_t to timespec conversion to ns_to_timespec function (timerfd_get_remaining(ctx)) |
534 | spin_unlock_irq( & lock) |
536 | Return 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE2 |
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 |