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:handle_to_path
Proto:static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, struct path *path)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | mountdirfd | |
struct file_handle __user * | ufh | |
struct path * | path |
170 | retval = 0 |
172 | struct file_handle * handle = NULL |
179 | If Not Check operation authority Then |
183 | If copy_from_user( & f_handle, ufh, sizeof(structfile_handle)) Then |
187 | If handle_bytes > limit the handle size to NFSv4 handle size now || handle_bytes == 0 Then |
192 | handle = Allocation memory |
194 | If Not handle Then |
200 | If copy_from_user( & file identifier , & file identifier , handle_bytes) Then |
204 | Go to out_handle |
207 | retval = do_handle_to_path(mountdirfd, handle, path) |
209 | out_handle : |
211 | out_err : |
212 | Return retval |
Name | Describe |
---|---|
do_handle_open |
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 |