| Function report | 
| Source Code: fs\namei.c | Create Date:2022-07-28 20:05:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:filename_parentat
Proto:static struct filename *filename_parentat(int dfd, struct filename *name, unsigned int flags, struct path *parent, struct qstr *last, int *type)
Type:struct filename
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | dfd | |
| struct filename * | name | |
| unsigned int | flags | |
| struct path * | parent | |
| struct qstr * | last | |
| int * | type | 
| 2374 | set_nameidata( & nd, dfd, name) | 
| 2376 | If Value for the false possibility is greater at compile time(retval == - ECHILD) Then retval = Returns 0 and nd will be valid on success; Retuns error, otherwise. | 
| 2378 | If Value for the false possibility is greater at compile time(retval == - ESTALE) Then retval = Returns 0 and nd will be valid on success; Retuns error, otherwise. | 
| 2380 | If Value is more likely to compile time(!retval) Then | 
| 2384 | Else | 
| 2388 | restore_nameidata() | 
| 2389 | Return name | 
| Name | Describe | 
|---|---|
| kern_path_locked | does lookup, returns the object with parent locked | 
| filename_create | |
| do_rmdir | |
| do_unlinkat | Make sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O. | 
| do_renameat2 | 
| 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 |