函数逻辑报告

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

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

函数原型:struct file *filp_open(const char *filename, int flags, umode_t mode)

返回类型:struct file

参数:

类型参数名称
const char *filename
intflags
umode_tmode
1060  name等于getname_kernel(filename)
1061  file等于错误指示
1063  如果非是错误
1064  file等于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
1065  putname(name)
1067  返回:file
调用者
名称描述
kernel_read_file_from_path
do_coredump