Function report |
Source Code:fs\timerfd.c |
Create Date:2022-07-28 20:19:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:timerfd_show
Proto:static void timerfd_show(struct seq_file *m, struct file *file)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_file * | m | |
| struct file * | file |
| 307 | spin_lock_irq( & lock) |
| 308 | value = Map the ktime_t to timespec conversion to ns_to_timespec function (timerfd_get_remaining(ctx)) |
| 310 | spin_unlock_irq( & lock) |
| 312 | seq_printf(m, "clockid: %d\nticks: %llu\nsettime flags: 0%o\nit_value: (%llu, %llu)\nit_interval: (%llu, %llu)\n", clockid, (unsignedlonglong)ticks, to show in fdinfo , (unsignedlonglong) seconds , (unsignedlonglong) nanoseconds , (unsignedlonglong) seconds , (unsignedlonglong) nanoseconds ) |
| 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 |