函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:userfaultfd_show_fdinfo

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

返回类型:void

参数:

类型参数名称
struct seq_file *m
struct file *f
1898  ctx等于 needed for tty driver, and maybe others
1900  pending等于0, total等于0
1902  spin_lock_irq( & lock)
1904  pending自加
1905  total自加
1908  total自加
1910  spin_unlock_irq( & lock)
1917  seq_printf(m, "pending:\t%lu\ntotal:\t%lu\nAPI:\t%Lx:%x:%Lx\n", pending, total, If the UFFDIO_API is upgraded someday, the UFFDIO_UNREGISTER and* UFFDIO_WAKE ioctls should be defined as _IOW and not as _IOR. In* userfaultfd.h we assumed the kernel was reading (instead _IOC_READ* means the userland is reading)., atures requested from the userspace , UFFD_API_IOCTLS | UFFD_API_RANGE_IOCTLS)