Lines Matching refs:hdr2
925 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_order() local
928 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); in xfs_dir2_leafn_order()
932 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order()
934 be32_to_cpu(ents2[hdr2.count - 1].hashval) < in xfs_dir2_leafn_order()
967 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_rebalance() local
984 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); in xfs_dir2_leafn_rebalance()
988 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance()
990 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance()
1022 &hdr2, ents2, 0, count); in xfs_dir2_leafn_rebalance()
1024 xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, in xfs_dir2_leafn_rebalance()
1028 ASSERT(hdr1.count + hdr2.count == oldsum); in xfs_dir2_leafn_rebalance()
1029 ASSERT(hdr1.stale + hdr2.stale == oldstale); in xfs_dir2_leafn_rebalance()
1033 dp->d_ops->leaf_hdr_to_disk(leaf2, &hdr2); in xfs_dir2_leafn_rebalance()
1043 if (hdr1.count < hdr2.count) in xfs_dir2_leafn_rebalance()
1045 else if (hdr1.count > hdr2.count) in xfs_dir2_leafn_rebalance()
1445 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_toosmall() local
1466 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf); in xfs_dir2_leafn_toosmall()
1468 count += hdr2.count - hdr2.stale; in xfs_dir2_leafn_toosmall()