Lines Matching refs:altpath
223 struct xfs_da_state_path *altpath = &ds->state->altpath; in xchk_da_btree_block_check_sibling() local
228 memcpy(altpath, path, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_sibling()
235 error = xfs_da3_path_shift(ds->state, altpath, direction, in xchk_da_btree_block_check_sibling()
244 error = xfs_da3_path_shift(ds->state, altpath, direction, false, in xchk_da_btree_block_check_sibling()
252 if (altpath->blk[level].bp) in xchk_da_btree_block_check_sibling()
253 xchk_buffer_recheck(ds->sc, altpath->blk[level].bp); in xchk_da_btree_block_check_sibling()
256 if (altpath->blk[level].blkno != sibling) in xchk_da_btree_block_check_sibling()
261 for (plevel = 0; plevel < altpath->active; plevel++) { in xchk_da_btree_block_check_sibling()
262 if (altpath->blk[plevel].bp == NULL || in xchk_da_btree_block_check_sibling()
264 altpath->blk[plevel].bp == path->blk[plevel].bp)) in xchk_da_btree_block_check_sibling()
267 xfs_trans_brelse(ds->dargs.trans, altpath->blk[plevel].bp); in xchk_da_btree_block_check_sibling()
268 altpath->blk[plevel].bp = NULL; in xchk_da_btree_block_check_sibling()
305 memset(&ds->state->altpath, 0, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_siblings()