Lines Matching refs:file_handle
18 struct file_handle __user *ufh, in do_sys_name_to_handle()
22 struct file_handle f_handle; in do_sys_name_to_handle()
24 struct file_handle *handle = NULL; in do_sys_name_to_handle()
34 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
40 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle()
74 sizeof(struct file_handle) + handle_bytes)) in do_sys_name_to_handle()
94 struct file_handle __user *, handle, int __user *, mnt_id, in SYSCALL_DEFINE5()
139 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path()
167 static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, in handle_to_path()
171 struct file_handle f_handle; in handle_to_path()
172 struct file_handle *handle = NULL; in handle_to_path()
183 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) { in handle_to_path()
192 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in handle_to_path()
215 static long do_handle_open(int mountdirfd, struct file_handle __user *ufh, in do_handle_open()
257 struct file_handle __user *, handle, in SYSCALL_DEFINE3()
275 struct file_handle __user *, handle, int, flags) in COMPAT_SYSCALL_DEFINE3()