Lines Matching refs:drop_blk
68 xfs_da_state_blk_t *drop_blk);
77 xfs_da_state_blk_t *drop_blk,
952 struct xfs_da_state_blk *drop_blk; in xfs_da3_join() local
959 drop_blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_join()
962 ASSERT(drop_blk->magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_join()
963 drop_blk->magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_join()
969 for ( ; state->path.active >= 2; drop_blk--, save_blk--, in xfs_da3_join()
977 switch (drop_blk->magic) { in xfs_da3_join()
984 xfs_attr3_leaf_unbalance(state, drop_blk, save_blk); in xfs_da3_join()
992 xfs_dir2_leafn_unbalance(state, drop_blk, save_blk); in xfs_da3_join()
999 xfs_da3_node_remove(state, drop_blk); in xfs_da3_join()
1006 xfs_da3_node_unbalance(state, drop_blk, save_blk); in xfs_da3_join()
1010 error = xfs_da3_blk_unlink(state, drop_blk, save_blk); in xfs_da3_join()
1014 error = xfs_da_shrink_inode(state->args, drop_blk->blkno, in xfs_da3_join()
1015 drop_blk->bp); in xfs_da3_join()
1016 drop_blk->bp = NULL; in xfs_da3_join()
1025 xfs_da3_node_remove(state, drop_blk); in xfs_da3_join()
1333 struct xfs_da_state_blk *drop_blk) in xfs_da3_node_remove() argument
1344 node = drop_blk->bp->b_addr; in xfs_da3_node_remove()
1346 ASSERT(drop_blk->index < nodehdr.count); in xfs_da3_node_remove()
1347 ASSERT(drop_blk->index >= 0); in xfs_da3_node_remove()
1352 index = drop_blk->index; in xfs_da3_node_remove()
1358 xfs_trans_log_buf(state->args->trans, drop_blk->bp, in xfs_da3_node_remove()
1363 xfs_trans_log_buf(state->args->trans, drop_blk->bp, in xfs_da3_node_remove()
1367 xfs_trans_log_buf(state->args->trans, drop_blk->bp, in xfs_da3_node_remove()
1373 drop_blk->hashval = be32_to_cpu(btree[index - 1].hashval); in xfs_da3_node_remove()
1383 struct xfs_da_state_blk *drop_blk, in xfs_da3_node_unbalance() argument
1399 drop_node = drop_blk->bp->b_addr; in xfs_da3_node_unbalance()
1776 struct xfs_da_state_blk *drop_blk, in xfs_da3_blk_unlink() argument
1792 drop_info = drop_blk->bp->b_addr; in xfs_da3_blk_unlink()
1796 ASSERT(save_blk->magic == drop_blk->magic); in xfs_da3_blk_unlink()
1797 ASSERT((be32_to_cpu(save_info->forw) == drop_blk->blkno) || in xfs_da3_blk_unlink()
1798 (be32_to_cpu(save_info->back) == drop_blk->blkno)); in xfs_da3_blk_unlink()
1805 if (be32_to_cpu(save_info->back) == drop_blk->blkno) { in xfs_da3_blk_unlink()
1817 ASSERT(be32_to_cpu(tmp_info->forw) == drop_blk->blkno); in xfs_da3_blk_unlink()
1834 ASSERT(be32_to_cpu(tmp_info->back) == drop_blk->blkno); in xfs_da3_blk_unlink()