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