Lines Matching refs:addblk
161 xfs_da_state_blk_t *oldblk, *newblk, *addblk; in xfs_da_split() local
177 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da_split()
178 for (i = max; (i >= 0) && addblk; state->path.active--, i--) { in xfs_da_split()
198 addblk = newblk; in xfs_da_split()
216 addblk = newblk; in xfs_da_split()
226 addblk = newblk; in xfs_da_split()
239 addblk = newblk; in xfs_da_split()
246 addblk = 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()
259 xfs_da_buf_done(addblk->bp); in xfs_da_split()
260 addblk->bp = NULL; in xfs_da_split()
267 addblk = newblk; in xfs_da_split()
269 addblk = NULL; in xfs_da_split()
282 if (i > 0 || !addblk) in xfs_da_split()
285 if (!addblk) in xfs_da_split()
293 error = xfs_da_root_split(state, oldblk, addblk); in xfs_da_split()
296 xfs_da_buf_done(addblk->bp); in xfs_da_split()
297 addblk->bp = NULL; in xfs_da_split()
310 if (INT_GET(node->hdr.info.forw, ARCH_CONVERT) == addblk->blkno) { in xfs_da_split()
311 bp = addblk->bp; in xfs_da_split()
324 if (INT_GET(node->hdr.info.back, ARCH_CONVERT) == addblk->blkno) { in xfs_da_split()
325 bp = addblk->bp; in xfs_da_split()
337 xfs_da_buf_done(addblk->bp); in xfs_da_split()
338 addblk->bp = NULL; in xfs_da_split()
435 xfs_da_state_blk_t *addblk, in xfs_da_node_split() argument
493 xfs_da_node_add(state, oldblk, addblk); in xfs_da_node_split()
502 xfs_da_node_add(state, newblk, addblk); in xfs_da_node_split()