Lines Matching defs:ichdr1

58 			struct xfs_attr3_icleaf_hdr *ichdr1,
1644 struct xfs_attr3_icleaf_hdr ichdr1;
1648 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr1, leaf1_bp->b_addr);
1650 return xfs_attr3_leaf_order(leaf1_bp, &ichdr1, leaf2_bp, &ichdr2);
1674 struct xfs_attr3_icleaf_hdr ichdr1;
1691 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr1, leaf1);
1705 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) {
1709 swap(ichdr1, ichdr2);
1724 state->inleaf = xfs_attr3_leaf_figure_balance(state, blk1, &ichdr1,
1733 if (count < ichdr1.count) {
1738 count = ichdr1.count - count;
1739 space = ichdr1.usedbytes - totallen;
1753 xfs_attr3_leaf_moveents(args, leaf1, &ichdr1,
1754 ichdr1.count - count, leaf2, &ichdr2, 0, count);
1756 } else if (count > ichdr1.count) {
1767 count -= ichdr1.count;
1768 space = totallen - ichdr1.usedbytes;
1774 max = ichdr1.firstused - xfs_attr3_leaf_hdr_size(leaf1);
1775 max -= ichdr1.count * sizeof(xfs_attr_leaf_entry_t);
1777 xfs_attr3_leaf_compact(args, &ichdr1, blk1->bp);
1782 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1,
1783 ichdr1.count, count);
1786 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf1, &ichdr1);
1796 blk1->hashval = be32_to_cpu(entries1[ichdr1.count - 1].hashval);
1811 if (blk1->index > ichdr1.count) {
1813 blk2->index = blk1->index - ichdr1.count;
1816 } else if (blk1->index == ichdr1.count) {
1828 blk2->index = blk1->index - ichdr1.count;
1859 struct xfs_attr3_icleaf_hdr *ichdr1,
1881 max = ichdr1->count + ichdr2->count;
1883 half += ichdr1->usedbytes + ichdr2->usedbytes +
1907 if (count == ichdr1->count) {
2863 struct xfs_attr3_icleaf_hdr ichdr1;
2898 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr1, leaf1);
2899 ASSERT(args->index < ichdr1.count);