Lines Matching refs:drop_blk

63 					      xfs_da_state_blk_t *drop_blk);
72 xfs_da_state_blk_t *drop_blk,
1077 struct xfs_da_state_blk *drop_blk; in xfs_da3_join() local
1084 drop_blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_join()
1087 ASSERT(drop_blk->magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_join()
1088 drop_blk->magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_join()
1094 for ( ; state->path.active >= 2; drop_blk--, save_blk--, in xfs_da3_join()
1102 switch (drop_blk->magic) { in xfs_da3_join()
1109 xfs_attr3_leaf_unbalance(state, drop_blk, save_blk); in xfs_da3_join()
1117 xfs_dir2_leafn_unbalance(state, drop_blk, save_blk); in xfs_da3_join()
1124 xfs_da3_node_remove(state, drop_blk); in xfs_da3_join()
1131 xfs_da3_node_unbalance(state, drop_blk, save_blk); in xfs_da3_join()
1135 error = xfs_da3_blk_unlink(state, drop_blk, save_blk); in xfs_da3_join()
1139 error = xfs_da_shrink_inode(state->args, drop_blk->blkno, in xfs_da3_join()
1140 drop_blk->bp); in xfs_da3_join()
1141 drop_blk->bp = NULL; in xfs_da3_join()
1150 xfs_da3_node_remove(state, drop_blk); in xfs_da3_join()
1451 struct xfs_da_state_blk *drop_blk) in xfs_da3_node_remove() argument
1462 node = drop_blk->bp->b_addr; in xfs_da3_node_remove()
1464 ASSERT(drop_blk->index < nodehdr.count); in xfs_da3_node_remove()
1465 ASSERT(drop_blk->index >= 0); in xfs_da3_node_remove()
1470 index = drop_blk->index; in xfs_da3_node_remove()
1476 xfs_trans_log_buf(state->args->trans, drop_blk->bp, in xfs_da3_node_remove()
1481 xfs_trans_log_buf(state->args->trans, drop_blk->bp, in xfs_da3_node_remove()
1485 xfs_trans_log_buf(state->args->trans, drop_blk->bp, in xfs_da3_node_remove()
1491 drop_blk->hashval = be32_to_cpu(btree[index - 1].hashval); in xfs_da3_node_remove()
1501 struct xfs_da_state_blk *drop_blk, in xfs_da3_node_unbalance() argument
1517 drop_node = drop_blk->bp->b_addr; in xfs_da3_node_unbalance()
1899 struct xfs_da_state_blk *drop_blk, in xfs_da3_blk_unlink() argument
1915 drop_info = drop_blk->bp->b_addr; in xfs_da3_blk_unlink()
1919 ASSERT(save_blk->magic == drop_blk->magic); in xfs_da3_blk_unlink()
1920 ASSERT((be32_to_cpu(save_info->forw) == drop_blk->blkno) || in xfs_da3_blk_unlink()
1921 (be32_to_cpu(save_info->back) == drop_blk->blkno)); in xfs_da3_blk_unlink()
1928 if (be32_to_cpu(save_info->back) == drop_blk->blkno) { in xfs_da3_blk_unlink()
1940 ASSERT(be32_to_cpu(tmp_info->forw) == drop_blk->blkno); in xfs_da3_blk_unlink()
1957 ASSERT(be32_to_cpu(tmp_info->back) == drop_blk->blkno); in xfs_da3_blk_unlink()