Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_rw.h77 (xfs_daddr_t)XFS_FSB_TO_BB((ip)->i_mount, (fsb)) : \
83 XFS_FSB_TO_BB((io)->io_mount, (fsb)) : \
Dxfs_mount.c615 mp->m_bsize = XFS_FSB_TO_BB(mp, 1);
843 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks);
864 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks);
871 d - XFS_FSB_TO_BB(mp, 1),
872 XFS_FSB_TO_BB(mp, 1), 0, &bp);
962 XFS_FSB_TO_BB(mp, sbp->sb_logblocks));
Dxfs_sb.h568 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) macro
570 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
Dxfs_rtalloc.c1960 XFS_FSB_TO_BB(mp, in->newblocks - 1), in xfs_growfs_rt()
1961 XFS_FSB_TO_BB(mp, 1), 0, &bp); in xfs_growfs_rt()
2316 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_rtmount_init()
2324 d - XFS_FSB_TO_BB(mp, 1), in xfs_rtmount_init()
2325 XFS_FSB_TO_BB(mp, 1), 0, &bp); in xfs_rtmount_init()
Dxfs_ag.h294 ((xfs_daddr_t)(XFS_FSB_TO_BB(mp, \
Dxfs_vfsops.c1884 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_showargs()
1888 (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); in xfs_showargs()
Dxfs_inode.c240 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_inotobp()
342 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { in xfs_itobp()
351 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)); in xfs_itobp()
2730 imap->im_len = XFS_FSB_TO_BB(mp, len); in xfs_imap()
Dxfs_attr.c1946 blkcnt = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_attr_rmtval_get()
2075 blkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_set()
2140 blkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount); in xfs_attr_rmtval_remove()
Dxfs_fsops.c160 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
Dxfs_vnodeops.c148 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_getattr()
1365 XFS_FSB_TO_BB(mp, mval[i].br_blockcount), 0); in xfs_inactive_symlink_rmt()
1574 LINVFS_GET_IP(vp)->i_blocks = XFS_FSB_TO_BB(mp, in xfs_release()
1652 LINVFS_GET_IP(vp)->i_blocks = XFS_FSB_TO_BB(mp, in xfs_inactive()
Dxfs_bmap.c5590 fixlen = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, fixlen)); in xfs_getbmap()
5653 out.bmv_offset = XFS_FSB_TO_BB(mp, map[i].br_startoff); in xfs_getbmap()
5654 out.bmv_length = XFS_FSB_TO_BB(mp, map[i].br_blockcount); in xfs_getbmap()
Dxfs_da_btree.c2194 nmapped = (int)XFS_FSB_TO_BB(mp, mapp[i].br_blockcount); in xfs_da_do_buf()
Dxfs_log_recover.c2649 XFS_FSB_TO_BB(mp, dq_f->qlf_len), in xlog_recover_do_dquot_trans()
Dxfs_attr_leaf.c2975 dblkcnt = XFS_FSB_TO_BB(dp->i_mount, in xfs_attr_leaf_freextent()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_lrw.h108 XFS_FSB_TO_BB((io)->io_mount, (fsb)) : \
Dxfs_super.c173 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks); in xfs_revalidate_inode()
/linux-2.4.37.9/fs/xfs/quota/
Dxfs_qm_syscalls.c880 XFS_FSB_TO_BB(mp, INT_GET(src->d_blk_hardlimit, ARCH_CONVERT)); in xfs_qm_export_dquot()
882 XFS_FSB_TO_BB(mp, INT_GET(src->d_blk_softlimit, ARCH_CONVERT)); in xfs_qm_export_dquot()
888 XFS_FSB_TO_BB(mp, INT_GET(src->d_bcount, ARCH_CONVERT)); in xfs_qm_export_dquot()
896 XFS_FSB_TO_BB(mp, INT_GET(src->d_rtb_hardlimit, ARCH_CONVERT)); in xfs_qm_export_dquot()
898 XFS_FSB_TO_BB(mp, INT_GET(src->d_rtb_softlimit, ARCH_CONVERT)); in xfs_qm_export_dquot()
900 XFS_FSB_TO_BB(mp, INT_GET(src->d_rtbcount, ARCH_CONVERT)); in xfs_qm_export_dquot()
Dxfs_qm.c1189 qinf->qi_dqchunklen = XFS_FSB_TO_BB(mp, XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_init_quotainfo()