Home
last modified time | relevance | path

Searched refs:altpath (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/fs/xfs/scrub/
Ddabtree.c224 struct xfs_da_state_path *altpath = &ds->state->altpath; in xchk_da_btree_block_check_sibling() local
229 memcpy(altpath, path, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_sibling()
236 error = xfs_da3_path_shift(ds->state, altpath, direction, in xchk_da_btree_block_check_sibling()
245 error = xfs_da3_path_shift(ds->state, altpath, direction, false, in xchk_da_btree_block_check_sibling()
253 if (altpath->blk[level].bp) in xchk_da_btree_block_check_sibling()
254 xchk_buffer_recheck(ds->sc, altpath->blk[level].bp); in xchk_da_btree_block_check_sibling()
257 if (altpath->blk[level].blkno != sibling) in xchk_da_btree_block_check_sibling()
262 for (plevel = 0; plevel < altpath->active; plevel++) { in xchk_da_btree_block_check_sibling()
263 if (altpath->blk[plevel].bp == NULL || in xchk_da_btree_block_check_sibling()
265 altpath->blk[plevel].bp == path->blk[plevel].bp)) in xchk_da_btree_block_check_sibling()
[all …]
/Linux-v6.6/fs/xfs/libxfs/
Dxfs_da_btree.c102 for (i = 0; i < state->altpath.active; i++) in xfs_da_state_kill_altpath()
103 state->altpath.blk[i].bp = NULL; in xfs_da_state_kill_altpath()
104 state->altpath.active = 0; in xfs_da_state_kill_altpath()
514 newblk = &state->altpath.blk[i]; in xfs_da3_split()
1085 save_blk = &state->altpath.blk[ state->path.active-1 ]; in xfs_da3_join()
1134 xfs_da3_fixhashpath(state, &state->altpath); in xfs_da3_join()
1297 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_da3_node_toosmall()
1298 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_da3_node_toosmall()
1352 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_da3_node_toosmall()
1354 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_da3_node_toosmall()
Dxfs_da_btree.h133 xfs_da_state_path_t altpath; /* alternate path for join */ member
Dxfs_dir2_node.c1534 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_dir2_leafn_toosmall()
1535 error = xfs_da3_path_shift(state, &state->altpath, forward, 0, in xfs_dir2_leafn_toosmall()
1595 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_dir2_leafn_toosmall()
1597 error = xfs_da3_path_shift(state, &state->altpath, forward, 0, in xfs_dir2_leafn_toosmall()
Dxfs_attr.c144 path = &state->altpath;
195 path = &state->altpath;
Dxfs_attr_leaf.c2047 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_attr3_leaf_toosmall()
2048 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_attr3_leaf_toosmall()
2104 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_attr3_leaf_toosmall()
2106 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_attr3_leaf_toosmall()