Lines Matching defs:newblk
141 xfs_da_state_blk_t *oldblk, *newblk, *addblk;
160 newblk = &state->altpath.blk[i];
170 error = xfs_attr_leaf_split(state, oldblk, newblk);
175 addblk = newblk;
183 state->extraafter = 0; /* before newblk */
187 state->extraafter = 1; /* after newblk */
188 error = xfs_attr_leaf_split(state, newblk,
193 addblk = newblk;
196 error = xfs_dir2_leafn_split(state, oldblk, newblk);
199 addblk = newblk;
202 error = xfs_da_node_split(state, oldblk, newblk, addblk,
212 addblk = newblk;
377 xfs_da_state_blk_t *newblk,
407 &newblk->bp, state->args->whichfork);
410 newblk->blkno = blkno;
411 newblk->magic = XFS_DA_NODE_MAGIC;
412 xfs_da_node_rebalance(state, oldblk, newblk);
413 error = xfs_da_blk_link(state, oldblk, newblk);
444 newblk->index++;
445 xfs_da_node_add(state, newblk, addblk);
448 newblk->index++;
449 xfs_da_node_add(state, newblk, &state->extrablk);
574 xfs_da_state_blk_t *newblk)
583 ASSERT(newblk->blkno != 0);
585 ASSERT(newblk->blkno >= state->mp->m_dirleafblk &&
586 newblk->blkno < state->mp->m_dirfreeblk);
597 btree->hashval = cpu_to_be32(newblk->hashval);
598 btree->before = cpu_to_be32(newblk->blkno);