Lines Matching refs:ichdr2
62 struct xfs_attr3_icleaf_hdr *ichdr2,
1691 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr_leaf_order() local
1695 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr2, leaf2_bp->b_addr); in xfs_attr_leaf_order()
1696 return xfs_attr3_leaf_order(leaf1_bp, &ichdr1, leaf2_bp, &ichdr2); in xfs_attr_leaf_order()
1721 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_rebalance() local
1738 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, leaf2); in xfs_attr3_leaf_rebalance()
1739 ASSERT(ichdr2.count == 0); in xfs_attr3_leaf_rebalance()
1751 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) { in xfs_attr3_leaf_rebalance()
1755 swap(ichdr1, ichdr2); in xfs_attr3_leaf_rebalance()
1771 blk2, &ichdr2, in xfs_attr3_leaf_rebalance()
1791 max = ichdr2.firstused - xfs_attr3_leaf_hdr_size(leaf1); in xfs_attr3_leaf_rebalance()
1792 max -= ichdr2.count * sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_rebalance()
1794 xfs_attr3_leaf_compact(args, &ichdr2, blk2->bp); in xfs_attr3_leaf_rebalance()
1800 ichdr1.count - count, leaf2, &ichdr2, 0, count); in xfs_attr3_leaf_rebalance()
1828 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1, in xfs_attr3_leaf_rebalance()
1833 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf2, &ichdr2); in xfs_attr3_leaf_rebalance()
1843 blk2->hashval = be32_to_cpu(entries2[ichdr2.count - 1].hashval); in xfs_attr3_leaf_rebalance()
1907 struct xfs_attr3_icleaf_hdr *ichdr2, in xfs_attr3_leaf_figure_balance() argument
1927 max = ichdr1->count + ichdr2->count; in xfs_attr3_leaf_figure_balance()
1929 half += ichdr1->usedbytes + ichdr2->usedbytes + in xfs_attr3_leaf_figure_balance()
2070 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_toosmall() local
2082 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, bp->b_addr); in xfs_attr3_leaf_toosmall()
2086 ichdr.usedbytes - ichdr2.usedbytes - in xfs_attr3_leaf_toosmall()
2087 ((ichdr.count + ichdr2.count) * in xfs_attr3_leaf_toosmall()
2908 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_flipflags() local
2946 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr2, leaf2); in xfs_attr3_leaf_flipflags()
2947 ASSERT(args->index2 < ichdr2.count); in xfs_attr3_leaf_flipflags()