Lines Matching refs:hdr2
977 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_order() local
980 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); in xfs_dir2_leafn_order()
984 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order()
986 be32_to_cpu(ents2[hdr2.count - 1].hashval) < in xfs_dir2_leafn_order()
1019 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_rebalance() local
1033 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); in xfs_dir2_leafn_rebalance()
1037 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance()
1039 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance()
1071 &hdr2, ents2, 0, count); in xfs_dir2_leafn_rebalance()
1073 xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, in xfs_dir2_leafn_rebalance()
1077 ASSERT(hdr1.count + hdr2.count == oldsum); in xfs_dir2_leafn_rebalance()
1078 ASSERT(hdr1.stale + hdr2.stale == oldstale); in xfs_dir2_leafn_rebalance()
1082 dp->d_ops->leaf_hdr_to_disk(leaf2, &hdr2); in xfs_dir2_leafn_rebalance()
1092 if (hdr1.count < hdr2.count) in xfs_dir2_leafn_rebalance()
1094 else if (hdr1.count > hdr2.count) in xfs_dir2_leafn_rebalance()
1494 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_toosmall() local
1515 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf); in xfs_dir2_leafn_toosmall()
1517 count += hdr2.count - hdr2.stale; in xfs_dir2_leafn_toosmall()