Lines Matching refs:hreq

60 	xfs_fsop_handlereq_t	*hreq)  in xfs_find_handle()  argument
71 f = fdget(hreq->fd); in xfs_find_handle()
76 error = user_path_at(AT_FDCWD, hreq->path, 0, &path); in xfs_find_handle()
116 if (copy_to_user(hreq->ohandle, &handle, hsize) || in xfs_find_handle()
117 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) in xfs_find_handle()
180 xfs_fsop_handlereq_t *hreq) in xfs_handlereq_to_dentry() argument
182 return xfs_handle_to_dentry(parfilp, hreq->ihandle, hreq->ihandlen); in xfs_handlereq_to_dentry()
188 xfs_fsop_handlereq_t *hreq) in xfs_open_by_handle() argument
203 dentry = xfs_handlereq_to_dentry(parfilp, hreq); in xfs_open_by_handle()
215 hreq->oflags |= O_LARGEFILE; in xfs_open_by_handle()
218 permflag = hreq->oflags; in xfs_open_by_handle()
245 filp = dentry_open(&path, hreq->oflags, cred); in xfs_open_by_handle()
268 xfs_fsop_handlereq_t *hreq) in xfs_readlink_by_handle() argument
277 dentry = xfs_handlereq_to_dentry(parfilp, hreq); in xfs_readlink_by_handle()
287 if (copy_from_user(&olen, hreq->ohandlen, sizeof(__u32))) { in xfs_readlink_by_handle()
292 error = vfs_readlink(dentry, hreq->ohandle, olen); in xfs_readlink_by_handle()
455 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_attrlist_by_handle()
599 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_attrmulti_by_handle()
1960 xfs_fsop_handlereq_t hreq; in xfs_file_ioctl() local
1962 if (copy_from_user(&hreq, arg, sizeof(hreq))) in xfs_file_ioctl()
1964 return xfs_find_handle(cmd, &hreq); in xfs_file_ioctl()
1967 xfs_fsop_handlereq_t hreq; in xfs_file_ioctl() local
1969 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t))) in xfs_file_ioctl()
1971 return xfs_open_by_handle(filp, &hreq); in xfs_file_ioctl()
1975 xfs_fsop_handlereq_t hreq; in xfs_file_ioctl() local
1977 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t))) in xfs_file_ioctl()
1979 return xfs_readlink_by_handle(filp, &hreq); in xfs_file_ioctl()