| 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_flags
Proto:struct filename *getname_flags(const char __user *filename, int flags, int *empty)
Type:struct filename
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char __user * | filename | |
| int | flags | |
| int * | empty | 
| 134 | result = audit_reusename(filename) | 
| 139 | If Value for the false possibility is greater at compile time(!result) Then Return ERR_PTR( - ENOMEM) | 
| 150 | If Value for the false possibility is greater at compile time(len < 0) Then | 
| 170 | result = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 177 | If Value for the false possibility is greater at compile time(len < 0) Then | 
| 189 | refcnt = 1 | 
| 194 | If Not (flags & accept empty path [user_... only] ) Then | 
| 201 | aname = NULL | 
| 202 | audit_getname(result) | 
| 203 | Return result | 
| Name | Describe | 
|---|---|
| COMPAT_SYSCALL_DEFINE5 | |
| getname | |
| user_path_at_empty | 
| 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 |