Function report |
Source Code:fs\open.c |
Create Date:2022-07-28 20:00:59 |
Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:struct file *file_open_name(struct filename *name, int flags, umode_t mode)
Type:struct file
Parameter:
Type | Parameter | Name |
---|---|---|
struct filename * | name | |
int | flags | |
umode_t | mode |
1043 | err = build_open_flags(flags, mode, & op) |
1044 | Return If err Then ERR_PTR(err) Else do_filp_open(Special value used to indicateopenat should use the currentworking directory. , name, & op) |
Name | Describe |
---|---|
SYSCALL_DEFINE2 | |
filp_open | 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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |