Searched refs:sxp (Results 1 – 4 of 4) sorted by relevance
466 struct xfs_swapext sxp; in xfs_file_compat_ioctl() local470 if (copy_from_user(&sxp, sxu, in xfs_file_compat_ioctl()472 xfs_ioctl32_bstat_copyin(&sxp.sx_stat, &sxu->sx_stat)) in xfs_file_compat_ioctl()477 error = xfs_ioc_swapext(&sxp); in xfs_file_compat_ioctl()
15 xfs_swapext_t *sxp);
1668 xfs_swapext_t *sxp) in xfs_ioc_swapext() argument1675 f = fdget((int)sxp->sx_fdtarget); in xfs_ioc_swapext()1688 tmp = fdget((int)sxp->sx_fdtmp); in xfs_ioc_swapext()1736 error = xfs_swap_extents(ip, tip, sxp); in xfs_ioc_swapext()1998 struct xfs_swapext sxp; in xfs_file_ioctl() local2000 if (copy_from_user(&sxp, arg, sizeof(xfs_swapext_t))) in xfs_file_ioctl()2005 error = xfs_ioc_swapext(&sxp); in xfs_file_ioctl()
1652 struct xfs_swapext *sxp) in xfs_swap_extents() argument1656 struct xfs_bstat *sbp = &sxp->sx_stat; in xfs_swap_extents()1749 if (sxp->sx_offset != 0 || in xfs_swap_extents()1750 sxp->sx_length != ip->i_disk_size || in xfs_swap_extents()1751 sxp->sx_length != tip->i_disk_size) { in xfs_swap_extents()