Home
last modified time | relevance | path

Searched refs:cblock (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_btree.c2935 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()
[all …]
Dxfs_bmap.c594 struct xfs_btree_block *cblock;/* child btree block */ in xfs_bmap_btree_to_extents() local
624 cblock = XFS_BUF_TO_BLOCK(cbp); in xfs_bmap_btree_to_extents()
625 if ((error = xfs_btree_check_block(cur, cblock, 0, cbp))) in xfs_bmap_btree_to_extents()