Lines Matching refs:f_handle
22 struct file_handle f_handle;
37 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle)))
40 if (f_handle.handle_bytes > MAX_HANDLE_SZ)
43 handle = kzalloc(sizeof(struct file_handle) + f_handle.handle_bytes,
49 handle_dwords = f_handle.handle_bytes >> 2;
53 (struct fid *)handle->f_handle,
59 if ((handle->handle_bytes > f_handle.handle_bytes) ||
160 (struct fid *)handle->f_handle,
178 struct file_handle f_handle;
190 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) {
194 if ((f_handle.handle_bytes > MAX_HANDLE_SZ) ||
195 (f_handle.handle_bytes == 0)) {
199 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes,
206 *handle = f_handle;
207 if (copy_from_user(&handle->f_handle,
208 &ufh->f_handle,
209 f_handle.handle_bytes)) {