Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fget

Proto:struct file *fget(unsigned int fd)

Type:struct file

Parameter:

TypeParameterName
unsigned intfd
739  Return __fget(fd, File is opened with O_PATH; almost nothing can be done with it , 1)
Caller
NameDescribe
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