Function report | 
Source Code:fs\fhandle.c | 
Create Date:2022-07-28 20:31:17 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sys_name_to_handle_at: convert name to handle*@dfd: directory relative to which name is interpreted if not absolute*@name: name that should be converted to handle
Proto:SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, struct file_handle __user *, handle, int __user *, mnt_id, int, flag)
Type:
Parameter:Nothing
| 101 | If (flag & ~(Follow symbolic links. | Allow empty relative pathname )) != 0 Then Return -EINVAL | 
| 104 | lookup_flags = If flag & Follow symbolic links. Then llow links at the end Else 0 | 
| 105 | If flag & Allow empty relative pathname Then lookup_flags |= accept empty path [user_... only] | 
| 107 | err = user_path_at(dfd, name, lookup_flags, & path) | 
| 108 | If Not err Then | 
| 109 | err = do_sys_name_to_handle( & path, handle, mnt_id) | 
| 112 | Return err | 
| 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  |