• Home
  • Raw
  • Download

Lines Matching refs:hdr2

1038 	struct xfs_dir3_icleaf_hdr hdr2;  in xfs_dir2_leafn_order()  local
1041 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf2); in xfs_dir2_leafn_order()
1043 ents2 = hdr2.ents; in xfs_dir2_leafn_order()
1045 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order()
1047 be32_to_cpu(ents2[hdr2.count - 1].hashval) < in xfs_dir2_leafn_order()
1080 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_rebalance() local
1094 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf2); in xfs_dir2_leafn_rebalance()
1096 ents2 = hdr2.ents; in xfs_dir2_leafn_rebalance()
1098 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance()
1100 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance()
1132 &hdr2, ents2, 0, count); in xfs_dir2_leafn_rebalance()
1134 xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, in xfs_dir2_leafn_rebalance()
1138 ASSERT(hdr1.count + hdr2.count == oldsum); in xfs_dir2_leafn_rebalance()
1139 ASSERT(hdr1.stale + hdr2.stale == oldstale); in xfs_dir2_leafn_rebalance()
1143 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf2, &hdr2); in xfs_dir2_leafn_rebalance()
1153 if (hdr1.count < hdr2.count) in xfs_dir2_leafn_rebalance()
1155 else if (hdr1.count > hdr2.count) in xfs_dir2_leafn_rebalance()
1551 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_toosmall() local
1571 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf); in xfs_dir2_leafn_toosmall()
1572 ents = hdr2.ents; in xfs_dir2_leafn_toosmall()
1573 count += hdr2.count - hdr2.stale; in xfs_dir2_leafn_toosmall()