Searched refs:hdr1 (Results 1 – 5 of 5) sorted by relevance
920 struct xfs_dir3_icleaf_hdr hdr1; in xfs_dir2_leafn_order() local923 dp->d_ops->leaf_hdr_from_disk(&hdr1, leaf1); in xfs_dir2_leafn_order()928 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order()931 be32_to_cpu(ents1[hdr1.count - 1].hashval))) in xfs_dir2_leafn_order()962 struct xfs_dir3_icleaf_hdr hdr1; in xfs_dir2_leafn_rebalance() local979 dp->d_ops->leaf_hdr_from_disk(&hdr1, leaf1); in xfs_dir2_leafn_rebalance()984 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance()986 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance()997 if (mid >= hdr1.count) in xfs_dir2_leafn_rebalance()998 midhash = be32_to_cpu(ents2[mid - hdr1.count].hashval); in xfs_dir2_leafn_rebalance()[all …]
398 static int same_destination(struct ib_user_mad_hdr *hdr1, in same_destination() argument401 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination()402 return (hdr1->lid == hdr2->lid); in same_destination()404 if (hdr1->grh_present && hdr2->grh_present) in same_destination()405 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
41 struct tag_header hdr1; member
1824 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument1828 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible()1831 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible()1832 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
1753 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument1757 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible()1760 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible()1761 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()