Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:timerfd_show

Proto:static void timerfd_show(struct seq_file *m, struct file *file)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct file *file
304  ctx = needed for tty driver, and maybe others
307  spin_lock_irq( & lock)
308  value = Map the ktime_t to timespec conversion to ns_to_timespec function (timerfd_get_remaining(ctx))
309  interval = Map the ktime_t to timespec conversion to ns_to_timespec function (tintv)
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 )