Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/scrub/
Ddabtree.c223 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()
[all …]
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_da_btree.c101 for (i = 0; i < state->altpath.active; i++) in xfs_da_state_kill_altpath()
102 state->altpath.blk[i].bp = NULL; in xfs_da_state_kill_altpath()
103 state->altpath.active = 0; in xfs_da_state_kill_altpath()
499 newblk = &state->altpath.blk[i]; in xfs_da3_split()
1073 save_blk = &state->altpath.blk[ state->path.active-1 ]; in xfs_da3_join()
1122 xfs_da3_fixhashpath(state, &state->altpath); in xfs_da3_join()
1285 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_da3_node_toosmall()
1286 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_da3_node_toosmall()
1340 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_da3_node_toosmall()
1342 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_da3_node_toosmall()
Dxfs_da_btree.h127 xfs_da_state_path_t altpath; /* alternate path for join */ member
Dxfs_attr.c1328 path = &state->altpath; in xfs_attr_fillstate()
1379 path = &state->altpath; in xfs_attr_refillstate()
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_leaf.c2001 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_attr3_leaf_toosmall()
2002 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_attr3_leaf_toosmall()
2058 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_attr3_leaf_toosmall()
2060 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_attr3_leaf_toosmall()