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()
37 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
43 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle()
78 sizeof(struct file_handle) + handle_bytes)) in do_sys_name_to_handle()
99 struct file_handle __user *, handle, int __user *, mnt_id, in SYSCALL_DEFINE5()
146 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path()
174 static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, in handle_to_path()
178 struct file_handle f_handle; in handle_to_path()
179 struct file_handle *handle = NULL; in handle_to_path()
190 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) { in handle_to_path()
199 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in handle_to_path()
222 static long do_handle_open(int mountdirfd, struct file_handle __user *ufh, in do_handle_open()
263 struct file_handle __user *, handle, in SYSCALL_DEFINE3()
281 struct file_handle __user *, handle, int, flags) in COMPAT_SYSCALL_DEFINE3()