函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\open.c Create Date:2022-07-29 10:31:00
Last Modify:2020-03-18 10:16:03 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:int vfs_open(const struct path *path, struct file *file)

返回类型:int

参数:

类型参数名称
const struct path *path
struct file *file
913  f_path等于path
914  返回: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)
调用者
名称描述
dentry_open
do_lastHandle the last step of open()
do_o_path