Lines Matching refs:hdr2
972 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_order() local
975 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); in xfs_dir2_leafn_order()
979 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order()
981 be32_to_cpu(ents2[hdr2.count - 1].hashval) < in xfs_dir2_leafn_order()
1014 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_rebalance() local
1028 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); in xfs_dir2_leafn_rebalance()
1032 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance()
1034 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance()
1066 &hdr2, ents2, 0, count); in xfs_dir2_leafn_rebalance()
1068 xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, in xfs_dir2_leafn_rebalance()
1072 ASSERT(hdr1.count + hdr2.count == oldsum); in xfs_dir2_leafn_rebalance()
1073 ASSERT(hdr1.stale + hdr2.stale == oldstale); in xfs_dir2_leafn_rebalance()
1077 dp->d_ops->leaf_hdr_to_disk(leaf2, &hdr2); in xfs_dir2_leafn_rebalance()
1087 if (hdr1.count < hdr2.count) in xfs_dir2_leafn_rebalance()
1089 else if (hdr1.count > hdr2.count) in xfs_dir2_leafn_rebalance()
1489 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_toosmall() local
1510 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf); in xfs_dir2_leafn_toosmall()
1512 count += hdr2.count - hdr2.stale; in xfs_dir2_leafn_toosmall()