Lines Matching refs:f_handle

24 	struct file_handle f_handle;  in do_sys_name_to_handle()  local
43 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
46 if (f_handle.handle_bytes > MAX_HANDLE_SZ) in do_sys_name_to_handle()
49 handle = kzalloc_flex(*handle, f_handle, f_handle.handle_bytes); in do_sys_name_to_handle()
54 handle_dwords = f_handle.handle_bytes >> 2; in do_sys_name_to_handle()
58 (struct fid *)handle->f_handle, in do_sys_name_to_handle()
64 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle()
108 struct_size(handle, f_handle, handle_bytes))) in do_sys_name_to_handle()
274 dentry = exportfs_decode_fh_raw(mnt, (struct fid *)handle->f_handle, in do_handle_to_path()
342 struct file_handle f_handle; in handle_to_path() local
347 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in handle_to_path()
350 if ((f_handle.handle_bytes > MAX_HANDLE_SZ) || in handle_to_path()
351 (f_handle.handle_bytes == 0)) in handle_to_path()
354 if (f_handle.handle_type < 0 || in handle_to_path()
355 FILEID_USER_FLAGS(f_handle.handle_type) & ~FILEID_VALID_USER_FLAGS) in handle_to_path()
370 handle = kmalloc_flex(*handle, f_handle, f_handle.handle_bytes); in handle_to_path()
376 *handle = f_handle; in handle_to_path()
377 if (copy_from_user(&handle->f_handle, in handle_to_path()
378 &ufh->f_handle, in handle_to_path()
379 f_handle.handle_bytes)) { in handle_to_path()
389 if (f_handle.handle_type & FILEID_IS_CONNECTABLE) { in handle_to_path()
393 if (f_handle.handle_type & FILEID_IS_DIR) in handle_to_path()