Lines Matching refs:cblock
2935 struct xfs_btree_block *cblock; /* child btree block */ in xfs_btree_new_iroot() local
2964 error = xfs_btree_get_buf_block(cur, &nptr, 0, &cblock, &cbp); in xfs_btree_new_iroot()
2972 memcpy(cblock, block, xfs_btree_block_len(cur)); in xfs_btree_new_iroot()
2975 cblock->bb_u.l.bb_blkno = cpu_to_be64(cbp->b_bn); in xfs_btree_new_iroot()
2977 cblock->bb_u.s.bb_blkno = cpu_to_be64(cbp->b_bn); in xfs_btree_new_iroot()
2986 ckp = xfs_btree_key_addr(cur, 1, cblock); in xfs_btree_new_iroot()
2987 xfs_btree_copy_keys(cur, ckp, kp, xfs_btree_get_numrecs(cblock)); in xfs_btree_new_iroot()
2989 cpp = xfs_btree_ptr_addr(cur, 1, cblock); in xfs_btree_new_iroot()
2990 for (i = 0; i < be16_to_cpu(cblock->bb_numrecs); i++) { in xfs_btree_new_iroot()
2996 xfs_btree_copy_ptrs(cur, cpp, pp, xfs_btree_get_numrecs(cblock)); in xfs_btree_new_iroot()
3005 1 - xfs_btree_get_numrecs(cblock), in xfs_btree_new_iroot()
3015 xfs_btree_log_keys(cur, cbp, 1, be16_to_cpu(cblock->bb_numrecs)); in xfs_btree_new_iroot()
3016 xfs_btree_log_ptrs(cur, cbp, 1, be16_to_cpu(cblock->bb_numrecs)); in xfs_btree_new_iroot()
3522 struct xfs_btree_block *cblock; in xfs_btree_kill_iroot() local
3555 cblock = xfs_btree_get_block(cur, level - 1, &cbp); in xfs_btree_kill_iroot()
3556 numrecs = xfs_btree_get_numrecs(cblock); in xfs_btree_kill_iroot()
3583 ASSERT(block->bb_numrecs == cblock->bb_numrecs); in xfs_btree_kill_iroot()
3586 ckp = xfs_btree_key_addr(cur, 1, cblock); in xfs_btree_kill_iroot()
3590 cpp = xfs_btree_ptr_addr(cur, 1, cblock); in xfs_btree_kill_iroot()