函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:le_open_name - open file and return file pointer*@name: struct filename containing path to open*@flags: open flags as per the open(2) second argument*@mode: mode for the new file if O_CREAT is set, else ignored* This is the helper to open a file from

函数原型:struct file *file_open_name(struct filename *name, int flags, umode_t mode)

返回类型:struct file

参数:

类型参数名称
struct filename *name
intflags
umode_tmode
1043  err等于build_open_flags(flags, mode, & op)
1044  返回:如果err错误号否则do_filp_open(Special value used to indicateopenat should use the currentworking directory. , name, & op)
调用者
名称描述
SYSCALL_DEFINE2
filp_openlp_open - open file and return file pointer*@filename: path to open*@flags: open flags as per the open(2) second argument*@mode: mode for the new file if O_CREAT is set, else ignored* This is the helper to open a file from kernelspace if you really
acct_on