Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_o_path

Proto:static int do_o_path(struct nameidata *nd, unsigned flags, struct file *file)

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
unsignedflags
struct file *file
3450  error = Returns 0 and nd will be valid on success; Retuns error, otherwise.
3451  If Not error Then
3452  audit_inode(name, dentry, 0)
3453  error = 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
3454  path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
3456  Return error
Caller
NameDescribe
path_openat