Lines Matching refs:hreq
91 xfs_fsop_handlereq_t hreq; in xfs_find_handle() local
95 if (copy_from_user(&hreq, (xfs_fsop_handlereq_t *)arg, sizeof(hreq))) in xfs_find_handle()
106 error = user_path_walk_link(hreq.path, &nd); in xfs_find_handle()
120 file = fget(hreq.fd); in xfs_find_handle()
178 if (copy_to_user((xfs_handle_t *)hreq.ohandle, &handle, hsize) || in xfs_find_handle()
179 copy_to_user(hreq.ohandlen, &hsize, sizeof(__s32))) { in xfs_find_handle()
207 xfs_fsop_handlereq_t *hreq, in xfs_vget_fsop_handlereq() argument
236 if (copy_from_user(hreq, (struct xfs_fsop_handlereq *)arg, size)) in xfs_vget_fsop_handlereq()
239 hanp = hreq->ihandle; in xfs_vget_fsop_handlereq()
240 hlen = hreq->ihandlen; in xfs_vget_fsop_handlereq()
304 xfs_fsop_handlereq_t hreq; in xfs_open_by_handle() local
308 &hreq, &vp, &inode); in xfs_open_by_handle()
319 hreq.oflags |= O_LARGEFILE; in xfs_open_by_handle()
322 permflag = hreq.oflags; in xfs_open_by_handle()
361 filp = dentry_open(dentry, parfilp->f_vfsmnt, hreq.oflags); in xfs_open_by_handle()
384 xfs_fsop_handlereq_t hreq; in xfs_readlink_by_handle() local
390 &hreq, &vp, &inode); in xfs_readlink_by_handle()
400 if (copy_from_user(&olen, hreq.ohandlen, sizeof(__u32))) { in xfs_readlink_by_handle()
405 aiov.iov_base = hreq.ohandle; in xfs_readlink_by_handle()