Lines Matching refs:ichdr2

63 			struct xfs_attr3_icleaf_hdr *ichdr2,
1529 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr_leaf_order() local
1533 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr2, leaf2_bp->b_addr); in xfs_attr_leaf_order()
1534 return xfs_attr3_leaf_order(leaf1_bp, &ichdr1, leaf2_bp, &ichdr2); in xfs_attr_leaf_order()
1559 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_rebalance() local
1576 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, leaf2); in xfs_attr3_leaf_rebalance()
1577 ASSERT(ichdr2.count == 0); in xfs_attr3_leaf_rebalance()
1589 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) { in xfs_attr3_leaf_rebalance()
1593 swap(ichdr1, ichdr2); in xfs_attr3_leaf_rebalance()
1609 blk2, &ichdr2, in xfs_attr3_leaf_rebalance()
1629 max = ichdr2.firstused - xfs_attr3_leaf_hdr_size(leaf1); in xfs_attr3_leaf_rebalance()
1630 max -= ichdr2.count * sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_rebalance()
1632 xfs_attr3_leaf_compact(args, &ichdr2, blk2->bp); in xfs_attr3_leaf_rebalance()
1638 ichdr1.count - count, leaf2, &ichdr2, 0, count); in xfs_attr3_leaf_rebalance()
1666 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1, in xfs_attr3_leaf_rebalance()
1671 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf2, &ichdr2); in xfs_attr3_leaf_rebalance()
1681 blk2->hashval = be32_to_cpu(entries2[ichdr2.count - 1].hashval); in xfs_attr3_leaf_rebalance()
1745 struct xfs_attr3_icleaf_hdr *ichdr2, in xfs_attr3_leaf_figure_balance() argument
1765 max = ichdr1->count + ichdr2->count; in xfs_attr3_leaf_figure_balance()
1767 half += ichdr1->usedbytes + ichdr2->usedbytes + in xfs_attr3_leaf_figure_balance()
1908 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_toosmall() local
1920 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, bp->b_addr); in xfs_attr3_leaf_toosmall()
1924 ichdr.usedbytes - ichdr2.usedbytes - in xfs_attr3_leaf_toosmall()
1925 ((ichdr.count + ichdr2.count) * in xfs_attr3_leaf_toosmall()
2778 struct xfs_attr3_icleaf_hdr ichdr2; in xfs_attr3_leaf_flipflags() local
2816 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr2, leaf2); in xfs_attr3_leaf_flipflags()
2817 ASSERT(args->index2 < ichdr2.count); in xfs_attr3_leaf_flipflags()