Home
last modified time | relevance | path

Searched refs:bb (Results 1 – 4 of 4) sorted by relevance

/fs/xfs/libxfs/
Dxfs_bmap_btree.h64 #define XFS_BMAP_BROOT_PTR_ADDR(mp, bb, i, sz) \ argument
65 XFS_BMBT_PTR_ADDR(mp, bb, i, xfs_bmbt_maxrecs(mp, sz, 0))
71 #define XFS_BMAP_BROOT_SPACE(mp, bb) \ argument
72 (XFS_BMAP_BROOT_SPACE_CALC(mp, be16_to_cpu((bb)->bb_numrecs)))
76 #define XFS_BMAP_BMDR_SPACE(bb) \ argument
77 (XFS_BMDR_SPACE_CALC(be16_to_cpu((bb)->bb_numrecs)))
Dxfs_format.h597 #define XFS_BB_TO_FSB(mp,bb) \ argument
598 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
599 #define XFS_BB_TO_FSBT(mp,bb) ((bb) >> (mp)->m_blkbb_log) argument
1136 #define XFS_SUMOFFS(mp,ls,bb) ((int)((ls) * (mp)->m_sb.sb_rbmblocks + (bb))) argument
1144 #define XFS_BLOCKTOBIT(mp,bb) ((bb) << (mp)->m_blkbit_log) argument
/fs/xfs/
Dxfs_bmap_item.c247 struct xfs_bmap_intent *bb; in xfs_bmap_update_diff_items() local
250 bb = container_of(b, struct xfs_bmap_intent, bi_list); in xfs_bmap_update_diff_items()
251 return ba->bi_owner->i_ino - bb->bi_owner->i_ino; in xfs_bmap_update_diff_items()
/fs/ext4/
Dmballoc.c431 char *bb; in mb_find_buddy() local
447 bb = e4b->bd_buddy + EXT4_SB(e4b->bd_sb)->s_mb_offsets[order]; in mb_find_buddy()
450 return bb; in mb_find_buddy()
1258 void *bb; in mb_find_order_for_block() local
1263 bb = e4b->bd_buddy; in mb_find_order_for_block()
1266 if (!mb_test_bit(block, bb)) { in mb_find_order_for_block()
1270 bb += bb_incr; in mb_find_order_for_block()