Home
last modified time | relevance | path

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

/Linux-v4.19/fs/xfs/scrub/
Ddabtree.c257 memcpy(&ds->state->altpath, &ds->state->path, in xchk_da_btree_block_check_sibling()
258 sizeof(ds->state->altpath)); in xchk_da_btree_block_check_sibling()
265 error = xfs_da3_path_shift(ds->state, &ds->state->altpath, in xchk_da_btree_block_check_sibling()
274 error = xfs_da3_path_shift(ds->state, &ds->state->altpath, in xchk_da_btree_block_check_sibling()
282 if (ds->state->altpath.blk[level].bp) in xchk_da_btree_block_check_sibling()
284 ds->state->altpath.blk[level].bp); in xchk_da_btree_block_check_sibling()
287 if (ds->state->altpath.blk[level].blkno != sibling) in xchk_da_btree_block_check_sibling()
289 xfs_trans_brelse(ds->dargs.trans, ds->state->altpath.blk[level].bp); in xchk_da_btree_block_check_sibling()
325 memset(&ds->state->altpath, 0, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_siblings()
/Linux-v4.19/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()
394 newblk = &state->altpath.blk[i]; in xfs_da3_split()
960 save_blk = &state->altpath.blk[ state->path.active-1 ]; in xfs_da3_join()
1009 xfs_da3_fixhashpath(state, &state->altpath); in xfs_da3_join()
1175 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_da3_node_toosmall()
1176 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_da3_node_toosmall()
1230 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_da3_node_toosmall()
1232 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_da3_node_toosmall()
Dxfs_da_btree.h117 xfs_da_state_path_t altpath; /* alternate path for join */ member
Dxfs_attr.c1180 path = &state->altpath; in xfs_attr_fillstate()
1232 path = &state->altpath; in xfs_attr_refillstate()
Dxfs_dir2_node.c1477 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_dir2_leafn_toosmall()
1478 error = xfs_da3_path_shift(state, &state->altpath, forward, 0, in xfs_dir2_leafn_toosmall()
1539 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_dir2_leafn_toosmall()
1541 error = xfs_da3_path_shift(state, &state->altpath, forward, 0, in xfs_dir2_leafn_toosmall()
Dxfs_attr_leaf.c1885 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_attr3_leaf_toosmall()
1886 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_attr3_leaf_toosmall()
1942 memcpy(&state->altpath, &state->path, sizeof(state->path)); in xfs_attr3_leaf_toosmall()
1944 error = xfs_da3_path_shift(state, &state->altpath, forward, in xfs_attr3_leaf_toosmall()