Searched refs:XFS_BB_TO_FSB (Results 1 – 11 of 11) sorted by relevance
/linux/fs/xfs/libxfs/ |
H A D | xfs_log_rlimit.c | 246 return XFS_BB_TO_FSB(mp, min_logblks); in xfs_log_calc_minimum_size()
|
H A D | xfs_inode_buf.c | 52 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
|
H A D | xfs_format.h | 455 #define XFS_BB_TO_FSB(mp,bb) \ macro
|
H A D | xfs_alloc.c | 142 blocks = XFS_BB_TO_FSB(mp, XFS_FSS_TO_BB(mp, 4)); /* ag headers */ in xfs_alloc_ag_max_usable()
|
/linux/fs/xfs/ |
H A D | xfs_discard.c | 558 .minlen_fsb = XFS_BB_TO_FSB(mp, minlen), in xfs_trim_rtdev_extents() 586 low = xfs_rtb_to_rtxup(mp, XFS_BB_TO_FSB(mp, start)); in xfs_trim_rtdev_extents()
|
H A D | xfs_mount.c | 409 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_dblocks) { in xfs_check_sizes() 426 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_logblocks) { in xfs_check_sizes()
|
H A D | xfs_fsmap.c | 686 end_fsb = XFS_BB_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in xfs_getfsmap_logdev() 760 end_rtb = XFS_BB_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in xfs_getfsmap_rtdev_rtbitmap()
|
H A D | xfs_rtalloc.c | 1042 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_rblocks) { in xfs_rtmount_init() 1044 (unsigned long long) XFS_BB_TO_FSB(mp, d), in xfs_rtmount_init()
|
H A D | xfs_bmap_util.c | 365 len = XFS_BB_TO_FSB(mp, bmv->bmv_length); in xfs_getbmap()
|
/linux/fs/xfs/scrub/ |
H A D | attr_repair.c | 582 *actual_len = XFS_BB_TO_FSB(rx->sc->mp, bp->b_length); in xrep_xattr_recover_block()
|
H A D | inode_repair.c | 217 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xrep_dinode_buf()
|