• Home
  • Raw
  • Download

Lines Matching refs:fa

817 	struct fsxattr		fa;  in xfs_ioc_fsgetxattr()  local
820 fa.fsx_xflags = xfs_ip2xflags(ip); in xfs_ioc_fsgetxattr()
821 fa.fsx_extsize = ip->i_d.di_extsize << ip->i_mount->m_sb.sb_blocklog; in xfs_ioc_fsgetxattr()
822 fa.fsx_projid = ip->i_d.di_projid; in xfs_ioc_fsgetxattr()
827 fa.fsx_nextents = ip->i_afp->if_bytes / in xfs_ioc_fsgetxattr()
830 fa.fsx_nextents = ip->i_d.di_anextents; in xfs_ioc_fsgetxattr()
832 fa.fsx_nextents = 0; in xfs_ioc_fsgetxattr()
835 fa.fsx_nextents = ip->i_df.if_bytes / in xfs_ioc_fsgetxattr()
838 fa.fsx_nextents = ip->i_d.di_nextents; in xfs_ioc_fsgetxattr()
842 if (copy_to_user(arg, &fa, sizeof(fa))) in xfs_ioc_fsgetxattr()
922 struct fsxattr *fa, in xfs_ioctl_setattr() argument
949 ip->i_d.di_gid, fa->fsx_projid, in xfs_ioctl_setattr()
984 ip->i_d.di_projid != fa->fsx_projid) { in xfs_ioctl_setattr()
1000 fa->fsx_extsize)) { in xfs_ioctl_setattr()
1009 if (fa->fsx_extsize != 0) { in xfs_ioctl_setattr()
1014 (fa->fsx_xflags & XFS_XFLAG_REALTIME))) { in xfs_ioctl_setattr()
1021 if (fa->fsx_extsize % size) { in xfs_ioctl_setattr()
1035 (fa->fsx_xflags & XFS_XFLAG_REALTIME)) { in xfs_ioctl_setattr()
1043 if ((fa->fsx_xflags & XFS_XFLAG_REALTIME)) { in xfs_ioctl_setattr()
1058 (fa->fsx_xflags & in xfs_ioctl_setattr()
1087 if (ip->i_d.di_projid != fa->fsx_projid) { in xfs_ioctl_setattr()
1092 ip->i_d.di_projid = fa->fsx_projid; in xfs_ioctl_setattr()
1106 ip->i_d.di_extsize = fa->fsx_extsize >> mp->m_sb.sb_blocklog; in xfs_ioctl_setattr()
1108 xfs_set_diflags(ip, fa->fsx_xflags); in xfs_ioctl_setattr()
1165 struct fsxattr fa; in xfs_ioc_fssetxattr() local
1168 if (copy_from_user(&fa, arg, sizeof(fa))) in xfs_ioc_fssetxattr()
1175 return -xfs_ioctl_setattr(ip, &fa, mask); in xfs_ioc_fssetxattr()
1197 struct fsxattr fa; in xfs_ioc_setxflags() local
1212 fa.fsx_xflags = xfs_merge_ioc_xflags(flags, xfs_ip2xflags(ip)); in xfs_ioc_setxflags()
1214 return -xfs_ioctl_setattr(ip, &fa, mask); in xfs_ioc_setxflags()