Home
last modified time | relevance | path

Searched refs:altpath (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/scrub/
H A 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()
260 /* Free all buffers in the altpath tha in xchk_da_btree_block_check_sibling()
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A 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()
261 /* Free all buffers in the altpath tha in xchk_da_btree_block_check_sibling()
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_da_btree.c94 * Kill the altpath contents of a da-state structure.
101 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()
1281 * Make altpath point to the block we want to keep and in xfs_da3_node_toosmall()
1285 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_da3_node_toosmall()
1286 error = xfs_da3_path_shift(state, &state->altpath, forwar in xfs_da3_node_toosmall()
[all...]
H A Dxfs_da_btree.h127 xfs_da_state_path_t altpath; /* alternate path for join */ member
H A Dxfs_attr.c1323 * Roll down the "altpath" in the state structure, storing the on-disk in xfs_attr_fillstate()
1324 * block number for those buffers in the "altpath". in xfs_attr_fillstate()
1326 path = &state->altpath; in xfs_attr_fillstate()
1374 * Roll down the "altpath" in the state structure, storing the on-disk in xfs_attr_refillstate()
1375 * block number for those buffers in the "altpath". in xfs_attr_refillstate()
1377 path = &state->altpath; in xfs_attr_refillstate()
H A Dxfs_dir2_node.c1530 * Make altpath point to the block we want to keep and in xfs_dir2_leafn_toosmall()
1534 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()
1592 * Make altpath point to the block we want to keep (the lower 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()
H A Dxfs_attr_leaf.c1997 * Make altpath point to the block we want to keep and in xfs_attr3_leaf_toosmall()
2001 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()
2055 * Make altpath point to the block we want to keep (the lower 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()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_da_btree.c95 * Kill the altpath contents of a da-state structure.
102 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()
1293 * Make altpath point to the block we want to keep and in xfs_da3_node_toosmall()
1297 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_da3_node_toosmall()
1298 error = xfs_da3_path_shift(state, &state->altpath, forwar in xfs_da3_node_toosmall()
[all...]
H A Dxfs_da_btree.h133 xfs_da_state_path_t altpath; /* alternate path for join */ member
H A Dxfs_dir2_node.c1530 * Make altpath point to the block we want to keep and in xfs_dir2_leafn_toosmall()
1534 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()
1592 * Make altpath point to the block we want to keep (the lower 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()
H A Dxfs_attr_leaf.c2043 * Make altpath point to the block we want to keep and in xfs_attr3_leaf_toosmall()
2047 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()
2101 * Make altpath point to the block we want to keep (the lower 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()
H A Dxfs_attr.c141 * Roll down the "altpath" in the state structure, storing the on-disk
142 * block number for those buffers in the "altpath".
144 path = &state->altpath;
192 * Roll down the "altpath" in the state structure, storing the on-disk
193 * block number for those buffers in the "altpath".
195 path = &state->altpath;

Completed in 22 milliseconds