Lines Matching refs:newblk
383 struct xfs_da_state_blk *newblk; in xfs_da3_split() local
407 newblk = &state->altpath.blk[i]; in xfs_da3_split()
417 error = xfs_attr3_leaf_split(state, oldblk, newblk); in xfs_da3_split()
422 addblk = newblk; in xfs_da3_split()
439 error = xfs_attr3_leaf_split(state, newblk, in xfs_da3_split()
444 addblk = newblk; in xfs_da3_split()
447 error = xfs_dir2_leafn_split(state, oldblk, newblk); in xfs_da3_split()
450 addblk = newblk; in xfs_da3_split()
453 error = xfs_da3_node_split(state, oldblk, newblk, addblk, in xfs_da3_split()
462 addblk = newblk; in xfs_da3_split()
673 struct xfs_da_state_blk *newblk, in xfs_da3_node_split() argument
709 &newblk->bp, state->args->whichfork); in xfs_da3_node_split()
712 newblk->blkno = blkno; in xfs_da3_node_split()
713 newblk->magic = XFS_DA_NODE_MAGIC; in xfs_da3_node_split()
714 xfs_da3_node_rebalance(state, oldblk, newblk); in xfs_da3_node_split()
715 error = xfs_da3_blk_link(state, oldblk, newblk); in xfs_da3_node_split()
747 newblk->index++; in xfs_da3_node_split()
748 xfs_da3_node_add(state, newblk, addblk); in xfs_da3_node_split()
751 newblk->index++; in xfs_da3_node_split()
752 xfs_da3_node_add(state, newblk, &state->extrablk); in xfs_da3_node_split()
913 struct xfs_da_state_blk *newblk) in xfs_da3_node_add() argument
928 ASSERT(newblk->blkno != 0); in xfs_da3_node_add()
930 ASSERT(newblk->blkno >= state->args->geo->leafblk && in xfs_da3_node_add()
931 newblk->blkno < state->args->geo->freeblk); in xfs_da3_node_add()
941 btree[oldblk->index].hashval = cpu_to_be32(newblk->hashval); in xfs_da3_node_add()
942 btree[oldblk->index].before = cpu_to_be32(newblk->blkno); in xfs_da3_node_add()