Lines Matching refs:cblock
2966 struct xfs_btree_block *cblock; /* child btree block */ in xfs_btree_new_iroot() local
2995 error = xfs_btree_get_buf_block(cur, &nptr, &cblock, &cbp); in xfs_btree_new_iroot()
3003 memcpy(cblock, block, xfs_btree_block_len(cur)); in xfs_btree_new_iroot()
3007 cblock->bb_u.l.bb_blkno = bno; in xfs_btree_new_iroot()
3009 cblock->bb_u.s.bb_blkno = bno; in xfs_btree_new_iroot()
3019 ckp = xfs_btree_key_addr(cur, 1, cblock); in xfs_btree_new_iroot()
3020 xfs_btree_copy_keys(cur, ckp, kp, xfs_btree_get_numrecs(cblock)); in xfs_btree_new_iroot()
3022 cpp = xfs_btree_ptr_addr(cur, 1, cblock); in xfs_btree_new_iroot()
3023 for (i = 0; i < be16_to_cpu(cblock->bb_numrecs); i++) { in xfs_btree_new_iroot()
3029 xfs_btree_copy_ptrs(cur, cpp, pp, xfs_btree_get_numrecs(cblock)); in xfs_btree_new_iroot()
3038 1 - xfs_btree_get_numrecs(cblock), in xfs_btree_new_iroot()
3048 xfs_btree_log_keys(cur, cbp, 1, be16_to_cpu(cblock->bb_numrecs)); in xfs_btree_new_iroot()
3049 xfs_btree_log_ptrs(cur, cbp, 1, be16_to_cpu(cblock->bb_numrecs)); in xfs_btree_new_iroot()
3561 struct xfs_btree_block *cblock; in xfs_btree_kill_iroot() local
3594 cblock = xfs_btree_get_block(cur, level - 1, &cbp); in xfs_btree_kill_iroot()
3595 numrecs = xfs_btree_get_numrecs(cblock); in xfs_btree_kill_iroot()
3622 ASSERT(block->bb_numrecs == cblock->bb_numrecs); in xfs_btree_kill_iroot()
3625 ckp = xfs_btree_key_addr(cur, 1, cblock); in xfs_btree_kill_iroot()
3629 cpp = xfs_btree_ptr_addr(cur, 1, cblock); in xfs_btree_kill_iroot()