Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_filp_open
Proto:struct file *do_filp_open(int dfd, struct filename *pathname, const struct open_flags *op)
Type:struct file
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | dfd | |
| struct filename * | pathname | |
| const struct open_flags * | op |
| 3502 | flags = lookup_flags |
| 3505 | set_nameidata( & nd, dfd, pathname) |
| 3506 | filp = path_openat( & nd, op, flags | RCU pathwalk mode; semi-internal ) |
| 3507 | If Value for the false possibility is greater at compile time(filp == ERR_PTR( - ECHILD)) Then filp = path_openat( & nd, op, flags) |
| 3509 | If Value for the false possibility is greater at compile time(filp == ERR_PTR( - ESTALE)) Then filp = path_openat( & nd, op, flags | ll ->d_revalidate() to trust no cache ) |
| 3511 | restore_nameidata() |
| 3512 | Return filp |
| Name | Describe |
|---|---|
| do_sys_open | |
| do_open_execat |
| 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 |