Lines Matching defs:hreq
60 xfs_fsop_handlereq_t *hreq)
71 f = fdget(hreq->fd);
76 error = user_path_at(AT_FDCWD, hreq->path, 0, &path);
116 if (copy_to_user(hreq->ohandle, &handle, hsize) ||
117 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32)))
180 xfs_fsop_handlereq_t *hreq)
182 return xfs_handle_to_dentry(parfilp, hreq->ihandle, hreq->ihandlen);
188 xfs_fsop_handlereq_t *hreq)
203 dentry = xfs_handlereq_to_dentry(parfilp, hreq);
215 hreq->oflags |= O_LARGEFILE;
218 permflag = hreq->oflags;
245 filp = dentry_open(&path, hreq->oflags, cred);
268 xfs_fsop_handlereq_t *hreq)
277 dentry = xfs_handlereq_to_dentry(parfilp, hreq);
287 if (copy_from_user(&olen, hreq->ohandlen, sizeof(__u32))) {
292 error = vfs_readlink(dentry, hreq->ohandle, olen);
455 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq);
599 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq);
1970 xfs_fsop_handlereq_t hreq;
1972 if (copy_from_user(&hreq, arg, sizeof(hreq)))
1974 return xfs_find_handle(cmd, &hreq);
1977 xfs_fsop_handlereq_t hreq;
1979 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t)))
1981 return xfs_open_by_handle(filp, &hreq);
1985 xfs_fsop_handlereq_t hreq;
1987 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t)))
1989 return xfs_readlink_by_handle(filp, &hreq);