Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\open.c Create Date:2022-07-28 20:00:57
Last Modify:2020-03-18 10:16:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vfs_open - open the file at the given path*@path: path to open*@file: newly allocated file with f_flag initialized*@cred: credentials to use

Proto:int vfs_open(const struct path *path, struct file *file)

Type:int

Parameter:

TypeParameterName
const struct path *path
struct file *file
913  f_path = path
914  Return do_dentry_open(file, d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper, NULL)
Caller
NameDescribe
dentry_open
do_lastHandle the last step of open()
do_o_path