Lines Matching refs:newblk

161 	xfs_da_state_blk_t *oldblk, *newblk, *addblk;  in xfs_da_split()  local
180 newblk = &state->altpath.blk[i]; in xfs_da_split()
193 error = xfs_attr_leaf_split(state, oldblk, newblk); in xfs_da_split()
198 addblk = newblk; in xfs_da_split()
211 error = xfs_attr_leaf_split(state, newblk, in xfs_da_split()
216 addblk = newblk; in xfs_da_split()
221 error = xfs_dir_leaf_split(state, oldblk, newblk); in xfs_da_split()
226 addblk = newblk; in xfs_da_split()
239 addblk = newblk; in xfs_da_split()
242 error = xfs_dir_leaf_split(state, newblk, in xfs_da_split()
246 addblk = newblk; in xfs_da_split()
251 error = xfs_dir2_leafn_split(state, oldblk, newblk); in xfs_da_split()
254 addblk = newblk; in xfs_da_split()
257 error = xfs_da_node_split(state, oldblk, newblk, addblk, in xfs_da_split()
267 addblk = newblk; in xfs_da_split()
434 xfs_da_state_blk_t *newblk, in xfs_da_node_split() argument
464 &newblk->bp, state->args->whichfork); in xfs_da_node_split()
467 newblk->blkno = blkno; in xfs_da_node_split()
468 newblk->magic = XFS_DA_NODE_MAGIC; in xfs_da_node_split()
469 xfs_da_node_rebalance(state, oldblk, newblk); in xfs_da_node_split()
470 error = xfs_da_blk_link(state, oldblk, newblk); in xfs_da_node_split()
501 newblk->index++; in xfs_da_node_split()
502 xfs_da_node_add(state, newblk, addblk); in xfs_da_node_split()
505 newblk->index++; in xfs_da_node_split()
506 xfs_da_node_add(state, newblk, &state->extrablk); in xfs_da_node_split()
632 xfs_da_state_blk_t *newblk) in xfs_da_node_add() argument
643 ASSERT(newblk->blkno != 0); in xfs_da_node_add()
645 ASSERT(newblk->blkno >= mp->m_dirleafblk && in xfs_da_node_add()
646 newblk->blkno < mp->m_dirfreeblk); in xfs_da_node_add()
657 INT_SET(btree->hashval, ARCH_CONVERT, newblk->hashval); in xfs_da_node_add()
658 INT_SET(btree->before, ARCH_CONVERT, newblk->blkno); in xfs_da_node_add()