• Home
  • Raw
  • Download

Lines Matching refs:hreq

67 	xfs_fsop_handlereq_t	*hreq)  in xfs_find_handle()  argument
78 f = fdget(hreq->fd); in xfs_find_handle()
83 error = user_lpath((const char __user *)hreq->path, &path); in xfs_find_handle()
124 if (copy_to_user(hreq->ohandle, &handle, hsize) || in xfs_find_handle()
125 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) in xfs_find_handle()
188 xfs_fsop_handlereq_t *hreq) in xfs_handlereq_to_dentry() argument
190 return xfs_handle_to_dentry(parfilp, hreq->ihandle, hreq->ihandlen); in xfs_handlereq_to_dentry()
196 xfs_fsop_handlereq_t *hreq) in xfs_open_by_handle() argument
211 dentry = xfs_handlereq_to_dentry(parfilp, hreq); in xfs_open_by_handle()
223 hreq->oflags |= O_LARGEFILE; in xfs_open_by_handle()
226 permflag = hreq->oflags; in xfs_open_by_handle()
253 filp = dentry_open(&path, hreq->oflags, cred); in xfs_open_by_handle()
276 xfs_fsop_handlereq_t *hreq) in xfs_readlink_by_handle() argument
286 dentry = xfs_handlereq_to_dentry(parfilp, hreq); in xfs_readlink_by_handle()
296 if (copy_from_user(&olen, hreq->ohandlen, sizeof(__u32))) { in xfs_readlink_by_handle()
310 error = readlink_copy(hreq->ohandle, olen, link); in xfs_readlink_by_handle()
374 dentry = xfs_handlereq_to_dentry(parfilp, &dmhreq.hreq); in xfs_fssetdm_by_handle()
425 dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq); in xfs_attrlist_by_handle()
547 dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq); in xfs_attrmulti_by_handle()
1631 xfs_fsop_handlereq_t hreq; in xfs_file_ioctl() local
1633 if (copy_from_user(&hreq, arg, sizeof(hreq))) in xfs_file_ioctl()
1635 return xfs_find_handle(cmd, &hreq); in xfs_file_ioctl()
1638 xfs_fsop_handlereq_t hreq; in xfs_file_ioctl() local
1640 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t))) in xfs_file_ioctl()
1642 return xfs_open_by_handle(filp, &hreq); in xfs_file_ioctl()
1648 xfs_fsop_handlereq_t hreq; in xfs_file_ioctl() local
1650 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t))) in xfs_file_ioctl()
1652 return xfs_readlink_by_handle(filp, &hreq); in xfs_file_ioctl()