Lines Matching refs:f_handle
22 struct file_handle f_handle;
33 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle)))
36 if (f_handle.handle_bytes > MAX_HANDLE_SZ)
39 handle = kzalloc(sizeof(struct file_handle) + f_handle.handle_bytes,
45 handle_dwords = f_handle.handle_bytes >> 2;
49 (struct fid *)handle->f_handle,
55 if ((handle->handle_bytes > f_handle.handle_bytes) ||
156 (struct fid *)handle->f_handle,
174 struct file_handle f_handle;
186 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) {
190 if ((f_handle.handle_bytes > MAX_HANDLE_SZ) ||
191 (f_handle.handle_bytes == 0)) {
195 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes,
202 *handle = f_handle;
203 if (copy_from_user(&handle->f_handle,
204 &ufh->f_handle,
205 f_handle.handle_bytes)) {