Lines Matching refs:hreq

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