Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_rtrefcount_btree.h118 struct xfs_btree_block *bb, in xfs_rtrefcount_broot_ptr_addr() argument
122 return xfs_rtrefcount_ptr_addr(bb, index, in xfs_rtrefcount_broot_ptr_addr()
149 xfs_rtrefcount_broot_space(struct xfs_mount *mp, struct xfs_rtrefcount_root *bb) in xfs_rtrefcount_broot_space() argument
151 return xfs_rtrefcount_broot_space_calc(mp, be16_to_cpu(bb->bb_level), in xfs_rtrefcount_broot_space()
152 be16_to_cpu(bb->bb_numrecs)); in xfs_rtrefcount_broot_space()
174 xfs_rtrefcount_droot_space(struct xfs_btree_block *bb) in xfs_rtrefcount_droot_space() argument
176 return xfs_rtrefcount_droot_space_calc(be16_to_cpu(bb->bb_level), in xfs_rtrefcount_droot_space()
177 be16_to_cpu(bb->bb_numrecs)); in xfs_rtrefcount_droot_space()
A Dxfs_rtrmap_btree.h129 struct xfs_btree_block *bb, in xfs_rtrmap_broot_ptr_addr() argument
133 return xfs_rtrmap_ptr_addr(bb, index, in xfs_rtrmap_broot_ptr_addr()
160 xfs_rtrmap_broot_space(struct xfs_mount *mp, struct xfs_rtrmap_root *bb) in xfs_rtrmap_broot_space() argument
162 return xfs_rtrmap_broot_space_calc(mp, be16_to_cpu(bb->bb_level), in xfs_rtrmap_broot_space()
163 be16_to_cpu(bb->bb_numrecs)); in xfs_rtrmap_broot_space()
185 xfs_rtrmap_droot_space(struct xfs_btree_block *bb) in xfs_rtrmap_droot_space() argument
187 return xfs_rtrmap_droot_space_calc(be16_to_cpu(bb->bb_level), in xfs_rtrmap_droot_space()
188 be16_to_cpu(bb->bb_numrecs)); in xfs_rtrmap_droot_space()
A Dxfs_bmap_btree.h151 struct xfs_btree_block *bb, in xfs_bmap_broot_ptr_addr() argument
155 return xfs_bmbt_ptr_addr(mp, bb, i, xfs_bmbt_maxrecs(mp, sz, false)); in xfs_bmap_broot_ptr_addr()
178 struct xfs_bmdr_block *bb) in xfs_bmap_broot_space() argument
180 return xfs_bmap_broot_space_calc(mp, be16_to_cpu(bb->bb_numrecs)); in xfs_bmap_broot_space()
196 xfs_bmap_bmdr_space(struct xfs_btree_block *bb) in xfs_bmap_bmdr_space() argument
198 return xfs_bmdr_space_calc(be16_to_cpu(bb->bb_numrecs)); in xfs_bmap_bmdr_space()
A Dxfs_format.h484 #define XFS_BB_TO_FSB(mp,bb) \ argument
485 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
486 #define XFS_BB_TO_FSBT(mp,bb) ((bb) >> (mp)->m_blkbb_log) argument
/fs/ext4/
A Dmballoc-test.c610 void *bb, *bb_h; in mbt_generate_buddy() local
617 bb = bitmap; in mbt_generate_buddy()
621 off = mb_find_next_zero_bit(bb, max, 0); in mbt_generate_buddy()
627 if (!(off & 1) && !mb_test_bit(off + 1, bb)) { in mbt_generate_buddy()
636 off = mb_find_next_zero_bit(bb, max, off + 1); in mbt_generate_buddy()
640 bb = buddy + sbi->s_mb_offsets[order]; in mbt_generate_buddy()
643 off = mb_find_next_zero_bit(bb, max, 0); in mbt_generate_buddy()
646 if (!(off & 1) && !mb_test_bit(off + 1, bb)) { in mbt_generate_buddy()
647 mb_set_bits(bb, off, 2); in mbt_generate_buddy()
655 off = mb_find_next_zero_bit(bb, max, off + 1); in mbt_generate_buddy()
A Dmballoc.c534 char *bb; in mb_find_buddy() local
550 bb = e4b->bd_buddy + EXT4_SB(e4b->bd_sb)->s_mb_offsets[order]; in mb_find_buddy()
553 return bb; in mb_find_buddy()
1817 void *bb; in mb_find_order_for_block() local
1823 bb = mb_find_buddy(e4b, order, &max); in mb_find_order_for_block()
1824 if (!mb_test_bit(block >> order, bb)) { in mb_find_order_for_block()
/fs/xfs/
A Dxfs_bmap_item.c248 struct xfs_bmap_intent *bb = bi_entry(b); in xfs_bmap_update_diff_items() local
250 return ba->bi_owner->i_ino - bb->bi_owner->i_ino; in xfs_bmap_update_diff_items()
/fs/xfs/scrub/
A Dbmap_repair.c303 const struct xfs_bmbt_rec *bb = b; in xrep_bmap_extent_cmp() local
305 xfs_fileoff_t bo = xfs_bmbt_disk_get_startoff(bb); in xrep_bmap_extent_cmp()

Completed in 31 milliseconds