Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:04:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:getname_kernel
Proto:struct filename *getname_kernel(const char *filename)
Type:struct filename
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | filename |
| 219 | If Value for the false possibility is greater at compile time(!result) Then Return ERR_PTR( - ENOMEM) |
| 224 | Else if len <= # chars in a path name including nul Then |
| 228 | tmp = Allocation memory |
| 235 | Else |
| 237 | Return ERR_PTR( - ENAMETOOLONG) |
| 239 | memcpy((char * ) pointer to actual string , filename, len) |
| 240 | original userland pointer = NULL |
| 241 | aname = NULL |
| 242 | refcnt = 1 |
| 243 | audit_getname(result) |
| 245 | Return result |
| Name | Describe |
|---|---|
| open_exec | |
| kern_path_locked | does lookup, returns the object with parent locked |
| 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 |
| kern_path_mountpoint | |
| do_file_open_root | |
| kern_path_create | |
| 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 |
| do_coredump |
| 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 |