Home
last modified time | relevance | path

Searched refs:XFS_FSB_TO_BB (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/fs/xfs/
Dxfs_discard.c96 dlen = XFS_FSB_TO_BB(mp, flen); in xfs_trim_extents()
190 if (end > XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks) - 1) in xfs_ioc_trim()
191 end = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)- 1; in xfs_ioc_trim()
226 XFS_FSB_TO_BB(mp, busyp->length), in xfs_discard_extents()
Dxfs_mount.c543 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_check_sizes()
560 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes()
566 d - XFS_FSB_TO_BB(mp, 1), in xfs_check_sizes()
567 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_check_sizes()
823 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
Dxfs_rtalloc.c919 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt()
920 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_growfs_rt()
1198 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_rtmount_init()
1206 d - XFS_FSB_TO_BB(mp, 1), in xfs_rtmount_init()
1207 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_rtmount_init()
Dxfs_bmap_util.c55 (xfs_daddr_t)XFS_FSB_TO_BB((ip)->i_mount, (fsb)) : \ in xfs_fsb_to_db()
485 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmapx_fix_eof_hole()
578 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, fixlen)); in xfs_getbmap()
669 XFS_FSB_TO_BB(mp, map[i].br_startoff); in xfs_getbmap()
671 XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_getbmap()
Dxfs_attr_inactive.c89 dblkcnt = XFS_FSB_TO_BB(dp->i_mount, in xfs_attr3_leaf_freextent()
Dxfs_symlink.c495 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0); in xfs_inactive_symlink_rmt()
Dxfs_super.c512 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_showargs()
515 (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); in xfs_showargs()
Dxfs_fsops.c176 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
Dxfs_log_recover.c2896 XFS_FSB_TO_BB(mp, dq_f->qlf_len), 0, &bp, in xlog_recover_dquot_pass2()
3119 bb_per_cluster = XFS_FSB_TO_BB(mp, blks_per_cluster); in xlog_recover_do_icreate_pass2()
3228 len = XFS_FSB_TO_BB(mp, dq_f->qlf_len); in xlog_recover_dquot_ra_pass2()
Dxfs_iops.c466 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
Dxfs_buf.c462 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in _xfs_buf_find()
Dxfs_qm.c600 qinf->qi_dqchunklen = XFS_FSB_TO_BB(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_init_quotainfo()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_attr_remote.c387 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get()
530 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set()
595 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_remove()
Dxfs_format.h571 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) macro
573 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
800 ((xfs_daddr_t)XFS_FSB_TO_BB(mp, \
Dxfs_ialloc.c2342 imap->im_len = XFS_FSB_TO_BB(mp, 1); in xfs_imap()
2370 imap->im_len = XFS_FSB_TO_BB(mp, blks_per_cluster); in xfs_imap()
2380 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_imap()
2385 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)); in xfs_imap()
Dxfs_sb.c732 mp->m_bsize = XFS_FSB_TO_BB(mp, 1); in xfs_sb_mount_common()
Dxfs_da_btree.c2445 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_buf_map_from_irec()