函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_o_path

函数原型:static int do_o_path(struct nameidata *nd, unsigned flags, struct file *file)

返回类型:int

参数:

类型参数名称
struct nameidata *nd
unsignedflags
struct file *file
3450  error等于Returns 0 and nd will be valid on success; Retuns error, otherwise.
3451  如果非error
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  返回:error
调用者
名称描述
path_openat