Lines Matching refs:statp
1047 struct kstatfs *statp) in xfs_fs_statfs() argument
1059 statp->f_type = XFS_SB_MAGIC; in xfs_fs_statfs()
1060 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
1063 statp->f_fsid.val[0] = (u32)id; in xfs_fs_statfs()
1064 statp->f_fsid.val[1] = (u32)(id >> 32); in xfs_fs_statfs()
1071 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
1073 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
1076 statp->f_bfree = fdblocks - XFS_ALLOC_SET_ASIDE(mp); in xfs_fs_statfs()
1077 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
1079 fakeinos = statp->f_bfree << sbp->sb_inopblog; in xfs_fs_statfs()
1080 statp->f_files = MIN(icount + fakeinos, (__uint64_t)XFS_MAXINUMBER); in xfs_fs_statfs()
1082 statp->f_files = min_t(typeof(statp->f_files), in xfs_fs_statfs()
1083 statp->f_files, in xfs_fs_statfs()
1087 statp->f_files = max_t(typeof(statp->f_files), in xfs_fs_statfs()
1088 statp->f_files, in xfs_fs_statfs()
1092 ffree = statp->f_files - (icount - ifree); in xfs_fs_statfs()
1093 statp->f_ffree = max_t(__int64_t, ffree, 0); in xfs_fs_statfs()
1099 xfs_qm_statvfs(ip, statp); in xfs_fs_statfs()