Lines Matching defs:ichdr1

60 			struct xfs_attr3_icleaf_hdr *ichdr1,
1690 struct xfs_attr3_icleaf_hdr ichdr1;
1694 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr1, leaf1_bp->b_addr);
1696 return xfs_attr3_leaf_order(leaf1_bp, &ichdr1, leaf2_bp, &ichdr2);
1720 struct xfs_attr3_icleaf_hdr ichdr1;
1737 xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr1, leaf1);
1751 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) {
1755 swap(ichdr1, ichdr2);
1770 state->inleaf = xfs_attr3_leaf_figure_balance(state, blk1, &ichdr1,
1779 if (count < ichdr1.count) {
1784 count = ichdr1.count - count;
1785 space = ichdr1.usedbytes - totallen;
1799 xfs_attr3_leaf_moveents(args, leaf1, &ichdr1,
1800 ichdr1.count - count, leaf2, &ichdr2, 0, count);
1802 } else if (count > ichdr1.count) {
1813 count -= ichdr1.count;
1814 space = totallen - ichdr1.usedbytes;
1820 max = ichdr1.firstused - xfs_attr3_leaf_hdr_size(leaf1);
1821 max -= ichdr1.count * sizeof(xfs_attr_leaf_entry_t);
1823 xfs_attr3_leaf_compact(args, &ichdr1, blk1->bp);
1828 xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1,
1829 ichdr1.count, count);
1832 xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf1, &ichdr1);
1842 blk1->hashval = be32_to_cpu(entries1[ichdr1.count - 1].hashval);
1857 if (blk1->index > ichdr1.count) {
1859 blk2->index = blk1->index - ichdr1.count;
1862 } else if (blk1->index == ichdr1.count) {
1874 blk2->index = blk1->index - ichdr1.count;
1905 struct xfs_attr3_icleaf_hdr *ichdr1,
1927 max = ichdr1->count + ichdr2->count;
1929 half += ichdr1->usedbytes + ichdr2->usedbytes +
1953 if (count == ichdr1->count) {
2907 struct xfs_attr3_icleaf_hdr ichdr1;
2942 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr1, leaf1);
2943 ASSERT(args->index < ichdr1.count);