Lines Matching refs:statp
1088 struct kstatfs *statp) in xfs_fs_statfs() argument
1100 statp->f_type = XFS_SB_MAGIC; in xfs_fs_statfs()
1101 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
1104 statp->f_fsid.val[0] = (u32)id; in xfs_fs_statfs()
1105 statp->f_fsid.val[1] = (u32)(id >> 32); in xfs_fs_statfs()
1112 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
1114 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
1117 statp->f_bfree = fdblocks - mp->m_alloc_set_aside; in xfs_fs_statfs()
1118 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
1120 fakeinos = statp->f_bfree << sbp->sb_inopblog; in xfs_fs_statfs()
1121 statp->f_files = min(icount + fakeinos, (uint64_t)XFS_MAXINUMBER); in xfs_fs_statfs()
1123 statp->f_files = min_t(typeof(statp->f_files), in xfs_fs_statfs()
1124 statp->f_files, in xfs_fs_statfs()
1128 statp->f_files = max_t(typeof(statp->f_files), in xfs_fs_statfs()
1129 statp->f_files, in xfs_fs_statfs()
1133 ffree = statp->f_files - (icount - ifree); in xfs_fs_statfs()
1134 statp->f_ffree = max_t(int64_t, ffree, 0); in xfs_fs_statfs()
1140 xfs_qm_statvfs(ip, statp); in xfs_fs_statfs()
1144 statp->f_blocks = sbp->sb_rblocks; in xfs_fs_statfs()
1145 statp->f_bavail = statp->f_bfree = in xfs_fs_statfs()