Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\eventfd.c Create Date:2022-07-28 20:20:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:eventfd_show_fdinfo

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

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct file *f
316  ctx = needed for tty driver, and maybe others
318  spin_lock_irq( & lock)
319  seq_printf(m, "eventfd-count: %16llx\n", (unsignedlonglong)* Every time that a write(2) is performed on an eventfd, the * value of the __u64 being written is added to "count" and a * wakeup is performed on "wqh". A read(2) will return the "count" * value to userspace, and will reset "count" to zero. The kernel * s)
321  spin_unlock_irq( & lock)
322  seq_printf(m, "eventfd-id: %d\n", id)