函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\eventfd.c Create Date:2022-07-29 10:52:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:eventfd_show_fdinfo

函数原型:static void eventfd_show_fdinfo(struct seq_file *m, struct file *f)

返回类型:void

参数:

类型参数名称
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)