Searched refs:sb_dblocks (Results 1 – 20 of 20) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_fsops.c | 42 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private() 59 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private() 62 new = nb - mp->m_sb.sb_dblocks; in xfs_growfs_data_private() 126 if (nb > mp->m_sb.sb_dblocks) in xfs_growfs_data_private() 128 nb - mp->m_sb.sb_dblocks); in xfs_growfs_data_private() 240 if (in->newblocks != mp->m_sb.sb_dblocks) { in xfs_growfs_data() 248 uint64_t icount = mp->m_sb.sb_dblocks * mp->m_sb.sb_imax_pct; in xfs_growfs_data()
|
D | xfs_discard.c | 187 if (range.start >= XFS_FSB_TO_B(mp, mp->m_sb.sb_dblocks) || in xfs_ioc_trim() 195 if (end > XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks) - 1) in xfs_ioc_trim() 196 end = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)- 1; in xfs_ioc_trim()
|
D | xfs_mount.c | 492 uint64_t space = mp->m_sb.sb_dblocks; in xfs_set_low_space_thresholds() 510 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_check_sizes() 511 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_dblocks) { in xfs_check_sizes() 577 resblks = mp->m_sb.sb_dblocks; in xfs_default_resblks() 610 (mp->m_sb.sb_fdblocks > mp->m_sb.sb_dblocks || in xfs_check_summary_counts()
|
D | xfs_bmap_item.c | 472 startblock_fsb >= mp->m_sb.sb_dblocks || in xfs_bui_item_recover() 474 inode_fsb >= mp->m_sb.sb_dblocks || in xfs_bui_item_recover()
|
D | xfs_trans.c | 496 be64_add_cpu(&sbp->sb_dblocks, tp->t_dblocks_delta); in xfs_trans_apply_sb_deltas() 622 mp->m_sb.sb_dblocks += tp->t_dblocks_delta; in xfs_trans_unreserve_and_mod_sb()
|
D | xfs_refcount_item.c | 468 startblock_fsb >= mp->m_sb.sb_dblocks || in xfs_cui_item_recover()
|
D | xfs_rmap_item.c | 512 startblock_fsb >= mp->m_sb.sb_dblocks || in xfs_rui_item_recover()
|
D | xfs_extfree_item.c | 610 startblock_fsb >= mp->m_sb.sb_dblocks || in xfs_efi_item_recover()
|
D | xfs_super.c | 262 icount = sbp->sb_dblocks * sbp->sb_imax_pct; in xfs_set_inode_alloc() 812 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
|
D | xfs_fsmap.c | 583 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in __xfs_getfsmap_datadev()
|
D | xfs_buf.c | 611 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_find()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_sb.c | 160 (sbp->sb_fdblocks > sbp->sb_dblocks || in xfs_validate_sb_write() 286 agcount = div_u64_rem(sbp->sb_dblocks, sbp->sb_agblocks, &rem); in xfs_validate_sb_common() 323 sbp->sb_dblocks == 0 || in xfs_validate_sb_common() 324 sbp->sb_dblocks > XFS_MAX_DBLOCKS(sbp) || in xfs_validate_sb_common() 325 sbp->sb_dblocks < XFS_MIN_DBLOCKS(sbp) || in xfs_validate_sb_common() 411 if (xfs_sb_validate_fsb_count(sbp, sbp->sb_dblocks) || in xfs_validate_sb_common() 490 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk() 633 to->sb_dblocks = cpu_to_be64(from->sb_dblocks); in xfs_sb_to_disk() 927 if (fdblocks > sbp->sb_dblocks || ifree > ialloc) { in xfs_initialize_perag_data() 1129 geo->datablocks = sbp->sb_dblocks; in xfs_fs_geometry()
|
D | xfs_types.c | 25 return mp->m_sb.sb_dblocks - (agno * mp->m_sb.sb_agblocks); 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 | 2430 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_imap() 2435 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)); in xfs_imap() 2846 icount = sbp->sb_dblocks * sbp->sb_imax_pct; in xfs_ialloc_setup_geometry()
|
D | xfs_alloc.c | 2850 if (be32_to_cpu(agf->agf_length) > mp->m_sb.sb_dblocks) in xfs_agf_verify()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | quota.c | 108 if (dq->q_blk.hardlimit > mp->m_sb.sb_dblocks) in xchk_quota_item() 132 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 136 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item()
|
D | fscounters.c | 224 fsc->fdblocks > mp->m_sb.sb_dblocks || in xchk_fscount_aggregate_agcounts() 326 if (fdblocks > mp->m_sb.sb_dblocks) in xchk_fscounters()
|
D | inode.c | 360 mp->m_sb.sb_dblocks + mp->m_sb.sb_rblocks) in xchk_dinode() 363 if (be64_to_cpu(dip->di_nblocks) >= mp->m_sb.sb_dblocks) in xchk_dinode()
|
D | agheader.c | 106 if (sb->sb_dblocks != cpu_to_be64(mp->m_sb.sb_dblocks)) in xchk_superblock()
|