Lines Matching refs:hreq
58 xfs_fsop_handlereq_t *hreq)
69 f = fdget(hreq->fd);
74 error = user_path_at(AT_FDCWD, hreq->path, 0, &path);
114 if (copy_to_user(hreq->ohandle, &handle, hsize) ||
115 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32)))
178 xfs_fsop_handlereq_t *hreq)
180 return xfs_handle_to_dentry(parfilp, hreq->ihandle, hreq->ihandlen);
186 xfs_fsop_handlereq_t *hreq)
201 dentry = xfs_handlereq_to_dentry(parfilp, hreq);
213 hreq->oflags |= O_LARGEFILE;
216 permflag = hreq->oflags;
243 filp = dentry_open(&path, hreq->oflags, cred);
266 xfs_fsop_handlereq_t *hreq)
275 dentry = xfs_handlereq_to_dentry(parfilp, hreq);
285 if (copy_from_user(&olen, hreq->ohandlen, sizeof(__u32))) {
290 error = vfs_readlink(dentry, hreq->ohandle, olen);
453 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq);
597 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq);
2168 xfs_fsop_handlereq_t hreq;
2170 if (copy_from_user(&hreq, arg, sizeof(hreq)))
2172 return xfs_find_handle(cmd, &hreq);
2175 xfs_fsop_handlereq_t hreq;
2177 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t)))
2179 return xfs_open_by_handle(filp, &hreq);
2183 xfs_fsop_handlereq_t hreq;
2185 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t)))
2187 return xfs_readlink_by_handle(filp, &hreq);