Lines Matching refs:file_handle
16 struct file_handle __user *ufh, in do_sys_name_to_handle()
20 struct file_handle f_handle; in do_sys_name_to_handle()
22 struct file_handle *handle = NULL; in do_sys_name_to_handle()
32 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
38 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle()
73 sizeof(struct file_handle) + handle_bytes)) in do_sys_name_to_handle()
93 struct file_handle __user *, handle, int __user *, mnt_id, in SYSCALL_DEFINE5()
138 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path()
166 static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, in handle_to_path()
170 struct file_handle f_handle; in handle_to_path()
171 struct file_handle *handle = NULL; in handle_to_path()
182 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) { in handle_to_path()
191 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in handle_to_path()
199 sizeof(struct file_handle) + in handle_to_path()
214 struct file_handle __user *ufh, int open_flag) in do_handle_open()
255 struct file_handle __user *, handle, in SYSCALL_DEFINE3()