Lines Matching refs:block
134 struct xfs_btree_block *block; in xchk_btree_rec() local
138 block = xfs_btree_get_block(cur, 0, &bp); in xchk_btree_rec()
139 rec = xfs_btree_rec_addr(cur, cur->bc_levels[0].ptr, block); in xchk_btree_rec()
181 struct xfs_btree_block *block; in xchk_btree_key() local
185 block = xfs_btree_get_block(cur, level, &bp); in xchk_btree_key()
186 key = xfs_btree_key_addr(cur, cur->bc_levels[level].ptr, block); in xchk_btree_key()
209 key = xfs_btree_high_key_addr(cur, cur->bc_levels[level].ptr, block); in xchk_btree_key()
311 struct xfs_btree_block *block) in xchk_btree_block_check_siblings() argument
319 xfs_btree_get_sibling(cur, block, &leftsib, XFS_BB_LEFTSIB); in xchk_btree_block_check_siblings()
320 xfs_btree_get_sibling(cur, block, &rightsib, XFS_BB_RIGHTSIB); in xchk_btree_block_check_siblings()
321 level = xfs_btree_get_level(block); in xchk_btree_block_check_siblings()
479 struct xfs_btree_block *block) in xchk_btree_check_minrecs() argument
483 unsigned int numrecs = be16_to_cpu(block->bb_numrecs); in xchk_btree_check_minrecs()
581 struct xfs_btree_block *block) in xchk_btree_block_keys() argument
595 xfs_btree_get_keys(cur, block, &block_keys); in xchk_btree_block_keys()
634 struct xfs_btree_block *block; in xchk_btree() local
672 error = xchk_btree_get_block(bs, level, &ptr, &block, &bp); in xchk_btree()
673 if (error || !block) in xchk_btree()
679 block = xfs_btree_get_block(cur, level, &bp); in xchk_btree()
684 be16_to_cpu(block->bb_numrecs)) { in xchk_btree()
685 xchk_btree_block_keys(bs, level, block); in xchk_btree()
697 block); in xchk_btree()
711 be16_to_cpu(block->bb_numrecs)) { in xchk_btree()
712 xchk_btree_block_keys(bs, level, block); in xchk_btree()
723 pp = xfs_btree_ptr_addr(cur, cur->bc_levels[level].ptr, block); in xchk_btree()
729 error = xchk_btree_get_block(bs, level, pp, &block, &bp); in xchk_btree()
730 if (error || !block) in xchk_btree()