函数逻辑报告

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

函数名称:open_with_fake_path

函数原型:struct file *open_with_fake_path(const struct path *path, int flags, struct inode *inode, const struct cred *cred)

返回类型:struct file

参数:

类型参数名称
const struct path *path
intflags
struct inode *inode
const struct cred *cred
943  f等于alloc_empty_file_noaccount(flags, cred)
944  如果非是错误
947  f_path等于path
948  error等于do_dentry_open(f, inode, NULL)
949  如果error
950  fput(f)
951  f等于错误号
954  返回:f