Lines Matching refs:newblk
356 struct xfs_da_state_blk *newblk; in xfs_da3_split() local
380 newblk = &state->altpath.blk[i]; in xfs_da3_split()
390 error = xfs_attr3_leaf_split(state, oldblk, newblk); in xfs_da3_split()
395 addblk = newblk; in xfs_da3_split()
412 error = xfs_attr3_leaf_split(state, newblk, in xfs_da3_split()
417 addblk = newblk; in xfs_da3_split()
420 error = xfs_dir2_leafn_split(state, oldblk, newblk); in xfs_da3_split()
423 addblk = newblk; in xfs_da3_split()
426 error = xfs_da3_node_split(state, oldblk, newblk, addblk, in xfs_da3_split()
435 addblk = newblk; in xfs_da3_split()
641 struct xfs_da_state_blk *newblk, in xfs_da3_node_split() argument
677 &newblk->bp, state->args->whichfork); in xfs_da3_node_split()
680 newblk->blkno = blkno; in xfs_da3_node_split()
681 newblk->magic = XFS_DA_NODE_MAGIC; in xfs_da3_node_split()
682 xfs_da3_node_rebalance(state, oldblk, newblk); in xfs_da3_node_split()
683 error = xfs_da3_blk_link(state, oldblk, newblk); in xfs_da3_node_split()
715 newblk->index++; in xfs_da3_node_split()
716 xfs_da3_node_add(state, newblk, addblk); in xfs_da3_node_split()
719 newblk->index++; in xfs_da3_node_split()
720 xfs_da3_node_add(state, newblk, &state->extrablk); in xfs_da3_node_split()
881 struct xfs_da_state_blk *newblk) in xfs_da3_node_add() argument
896 ASSERT(newblk->blkno != 0); in xfs_da3_node_add()
898 ASSERT(newblk->blkno >= state->args->geo->leafblk && in xfs_da3_node_add()
899 newblk->blkno < state->args->geo->freeblk); in xfs_da3_node_add()
909 btree[oldblk->index].hashval = cpu_to_be32(newblk->hashval); in xfs_da3_node_add()
910 btree[oldblk->index].before = cpu_to_be32(newblk->blkno); in xfs_da3_node_add()