Lines Matching refs:ichdr2

62 			struct xfs_attr3_icleaf_hdr *ichdr2,
1695 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr_leaf_order() local
1699 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr2, leaf2_bp->b_addr); in xfs_attr_leaf_order()
1700 return xfs_attr3_leaf_order(leaf1_bp, &ichdr1, leaf2_bp, &ichdr2); in xfs_attr_leaf_order()
1725 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_rebalance() local
1742 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, leaf2); in xfs_attr3_leaf_rebalance()
1743 ASSERT(ichdr2.count == 0); in xfs_attr3_leaf_rebalance()
1755 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) { in xfs_attr3_leaf_rebalance()
1759 swap(ichdr1, ichdr2); in xfs_attr3_leaf_rebalance()
1775 blk2, &ichdr2, in xfs_attr3_leaf_rebalance()
1795 max = ichdr2.firstused - xfs_attr3_leaf_hdr_size(leaf1); in xfs_attr3_leaf_rebalance()
1796 max -= ichdr2.count * sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_rebalance()
1798 xfs_attr3_leaf_compact(args, &ichdr2, blk2->bp); in xfs_attr3_leaf_rebalance()
1804 ichdr1.count - count, leaf2, &ichdr2, 0, count); in xfs_attr3_leaf_rebalance()
1832 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1, in xfs_attr3_leaf_rebalance()
1837 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf2, &ichdr2); in xfs_attr3_leaf_rebalance()
1847 blk2->hashval = be32_to_cpu(entries2[ichdr2.count - 1].hashval); in xfs_attr3_leaf_rebalance()
1911 struct xfs_attr3_icleaf_hdr *ichdr2, in xfs_attr3_leaf_figure_balance() argument
1931 max = ichdr1->count + ichdr2->count; in xfs_attr3_leaf_figure_balance()
1933 half += ichdr1->usedbytes + ichdr2->usedbytes + in xfs_attr3_leaf_figure_balance()
2074 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_toosmall() local
2086 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, bp->b_addr); in xfs_attr3_leaf_toosmall()
2090 ichdr.usedbytes - ichdr2.usedbytes - in xfs_attr3_leaf_toosmall()
2091 ((ichdr.count + ichdr2.count) * in xfs_attr3_leaf_toosmall()
2912 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_flipflags() local
2950 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr2, leaf2); in xfs_attr3_leaf_flipflags()
2951 ASSERT(args->index2 < ichdr2.count); in xfs_attr3_leaf_flipflags()