Searched refs:sb_dblocks (Results 1 – 16 of 16) sorted by relevance
/fs/xfs/ |
D | xfs_fsops.c | 48 xfs_rfsblock_t nb = mp->m_sb.sb_dblocks + delta; in xfs_resizefs_init_new_ags() 107 if (nb > mp->m_sb.sb_dblocks) { in xfs_growfs_data_private() 128 delta = nb - mp->m_sb.sb_dblocks; in xfs_growfs_data_private() 309 if (in->newblocks != mp->m_sb.sb_dblocks) { in xfs_growfs_data() 317 uint64_t icount = mp->m_sb.sb_dblocks * mp->m_sb.sb_imax_pct; in xfs_growfs_data()
|
D | xfs_discard.c | 401 if (range.start >= XFS_FSB_TO_B(mp, mp->m_sb.sb_dblocks) || in xfs_ioc_trim() 409 if (end > XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks) - 1) in xfs_ioc_trim() 410 end = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks) - 1; in xfs_ioc_trim()
|
D | xfs_mount.c | 372 uint64_t dblocks = mp->m_sb.sb_dblocks; in xfs_set_low_space_thresholds() 396 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_check_sizes() 397 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_dblocks) { in xfs_check_sizes() 463 resblks = mp->m_sb.sb_dblocks; in xfs_default_resblks() 498 (mp->m_sb.sb_fdblocks > mp->m_sb.sb_dblocks || in xfs_check_summary_counts() 800 error = xfs_initialize_perag(mp, sbp->sb_agcount, mp->m_sb.sb_dblocks, in xfs_mountfs()
|
D | xfs_trans.c | 525 be64_add_cpu(&sbp->sb_dblocks, tp->t_dblocks_delta); in xfs_trans_apply_sb_deltas() 654 mp->m_sb.sb_dblocks += tp->t_dblocks_delta; in xfs_trans_unreserve_and_mod_sb()
|
D | xfs_super.c | 291 icount = sbp->sb_dblocks * sbp->sb_imax_pct; in xfs_set_inode_alloc() 857 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs() 1648 if (xfs_sb_validate_fsb_count(&mp->m_sb, mp->m_sb.sb_dblocks) || in xfs_fs_fill_super()
|
D | xfs_fsmap.c | 603 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in __xfs_getfsmap_datadev()
|
D | xfs_buf.c | 531 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_map_verify()
|
D | xfs_log_recover.c | 3365 error = xfs_initialize_perag(mp, sbp->sb_agcount, sbp->sb_dblocks, in xlog_do_recover()
|
/fs/xfs/scrub/ |
D | quota.c | 114 if (dq->q_blk.hardlimit > mp->m_sb.sb_dblocks) in xchk_quota_item() 138 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 142 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item()
|
D | fscounters.c | 373 fsc->fdblocks > mp->m_sb.sb_dblocks || in xchk_fscount_aggregate_agcounts() 539 if (fdblocks > mp->m_sb.sb_dblocks) in xchk_fscounters()
|
D | inode.c | 522 mp->m_sb.sb_dblocks + mp->m_sb.sb_rblocks) in xchk_dinode() 525 if (be64_to_cpu(dip->di_nblocks) >= mp->m_sb.sb_dblocks) in xchk_dinode()
|
D | agheader.c | 128 if (sb->sb_dblocks != cpu_to_be64(mp->m_sb.sb_dblocks)) in xchk_superblock()
|
/fs/xfs/libxfs/ |
D | xfs_sb.c | 248 (sbp->sb_fdblocks > sbp->sb_dblocks || in xfs_validate_sb_write() 390 agcount = div_u64_rem(sbp->sb_dblocks, sbp->sb_agblocks, &rem); in xfs_validate_sb_common() 426 sbp->sb_dblocks == 0 || in xfs_validate_sb_common() 427 sbp->sb_dblocks > XFS_MAX_DBLOCKS(sbp) || in xfs_validate_sb_common() 428 sbp->sb_dblocks < XFS_MIN_DBLOCKS(sbp) || in xfs_validate_sb_common() 615 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk() 764 to->sb_dblocks = cpu_to_be64(from->sb_dblocks); in xfs_sb_to_disk() 1200 geo->datablocks = sbp->sb_dblocks; in xfs_fs_geometry()
|
D | xfs_ag.c | 218 if (fdblocks > sbp->sb_dblocks || ifree > ialloc) { in xfs_initialize_perag_data() 297 mp->m_sb.sb_dblocks); in xfs_ag_block_count()
|
D | xfs_format.h | 99 xfs_rfsblock_t sb_dblocks; /* number of data blocks */ member 190 __be64 sb_dblocks; /* number of data blocks */ member
|
D | xfs_ialloc.c | 2409 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_imap() 2414 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)); in xfs_imap() 2834 icount = sbp->sb_dblocks * sbp->sb_imax_pct; in xfs_ialloc_setup_geometry()
|