函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fget

函数原型:struct file *fget(unsigned int fd)

返回类型:struct file

参数:

类型参数名称
unsigned intfd
739  返回:__fget(fd, File is opened with O_PATH; almost nothing can be done with it , 1)
调用者
名称描述
perf_event_get
ksys_mmap_pgoff
proc_ns_fget
eventfd_fgetventfd_fget - Acquire a reference of an eventfd file descriptor.*@fd: [in] Eventfd file descriptor.* Returns a pointer to the eventfd file structure in case of success, or the* following error pointer:* -EBADF : Invalid @fd file descriptor.
__io_submit_one
io_file_getGet as many references to a file as we have IOs left in this submission,* assuming most submissions are for one file, or at least that each file* has more than one submission.
io_sqe_files_register
io_sqe_files_update
get_clock_desc
ksys_mmap_pgoff