Searched refs:XFS_FSB_TO_BB (Results 1 – 17 of 17) sorted by relevance
/linux-4.1.27/fs/xfs/ |
D | xfs_discard.c | 96 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()
|
D | xfs_mount.c | 533 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_check_sizes() 550 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes() 556 d - XFS_FSB_TO_BB(mp, 1), in xfs_check_sizes() 557 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_check_sizes() 790 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
|
D | xfs_rtalloc.c | 922 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt() 923 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_growfs_rt() 1203 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_rtmount_init() 1211 d - XFS_FSB_TO_BB(mp, 1), in xfs_rtmount_init() 1212 XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); in xfs_rtmount_init()
|
D | xfs_bmap_util.c | 55 (xfs_daddr_t)XFS_FSB_TO_BB((ip)->i_mount, (fsb)) : \ in xfs_fsb_to_db() 459 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, XFS_ISIZE(ip))); in xfs_getbmapx_fix_eof_hole() 552 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, fixlen)); in xfs_getbmap() 643 XFS_FSB_TO_BB(mp, map[i].br_startoff); in xfs_getbmap() 645 XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_getbmap()
|
D | xfs_attr_inactive.c | 89 dblkcnt = XFS_FSB_TO_BB(dp->i_mount, in xfs_attr3_leaf_freextent()
|
D | xfs_symlink.c | 499 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0); in xfs_inactive_symlink_rmt()
|
D | xfs_super.c | 513 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_showargs() 516 (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); in xfs_showargs()
|
D | xfs_fsops.c | 174 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
|
D | xfs_iops.c | 469 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
|
D | xfs_buf.c | 463 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in _xfs_buf_find()
|
D | xfs_qm.c | 600 qinf->qi_dqchunklen = XFS_FSB_TO_BB(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_init_quotainfo()
|
D | xfs_log_recover.c | 2887 XFS_FSB_TO_BB(mp, dq_f->qlf_len), 0, &bp, in xlog_recover_dquot_pass2() 3178 len = XFS_FSB_TO_BB(mp, dq_f->qlf_len); in xlog_recover_dquot_ra_pass2()
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 386 dblkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get() 529 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set() 594 dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_remove()
|
D | xfs_format.h | 539 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) macro 541 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log) 781 ((xfs_daddr_t)XFS_FSB_TO_BB(mp, \
|
D | xfs_ialloc.c | 1892 imap->im_len = XFS_FSB_TO_BB(mp, 1); in xfs_imap() 1920 imap->im_len = XFS_FSB_TO_BB(mp, blks_per_cluster); in xfs_imap() 1930 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_imap() 1935 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)); in xfs_imap()
|
D | xfs_sb.c | 688 mp->m_bsize = XFS_FSB_TO_BB(mp, 1); in xfs_sb_mount_common()
|
D | xfs_da_btree.c | 2434 map[i].bm_len = XFS_FSB_TO_BB(mp, irecs[i].br_blockcount); in xfs_buf_map_from_irec()
|