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_lookup
Proto:int filename_lookup(int dfd, struct filename *name, unsigned flags, struct path *path, struct path *root)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | dfd | |
| struct filename * | name | |
| unsigned | flags | |
| struct path * | path | |
| struct path * | root |
| 2332 | flags |= LOOKUP_ROOT |
| 2334 | set_nameidata( & nd, dfd, name) |
| 2336 | 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. |
| 2338 | 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. |
| 2341 | If Value is more likely to compile time(!retval) Then audit_inode(name, dentry, 0) |
| 2343 | restore_nameidata() |
| 2345 | Return retval |
| Name | Describe |
|---|---|
| kern_path | |
| vfs_path_lookup | vfs_path_lookup - lookup a file path relative to a dentry-vfsmount pair*@dentry: pointer to dentry of the base directory*@mnt: pointer to vfs mount of the base directory*@name: pointer to file name*@flags: lookup flags*@path: pointer to struct path to fill |
| user_path_at_empty | |
| fs_lookup_param | s_lookup_param - Look up a path referred to by a parameter*@fc: The filesystem context to log errors through.*@param: The parameter.*@want_bdev: T if want a blockdev*@_path: The result of the lookup |
| 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 |