Home
last modified time | relevance | path

Searched refs:hdr1 (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_dir2_node.c920 struct xfs_dir3_icleaf_hdr hdr1; in xfs_dir2_leafn_order() local
923 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() local
979 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 …]
/linux-4.1.27/drivers/infiniband/core/
Duser_mad.c398 static int same_destination(struct ib_user_mad_hdr *hdr1, in same_destination() argument
401 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()
/linux-4.1.27/arch/arm/kernel/
Datags_parse.c41 struct tag_header hdr1; member
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_hw.c1824 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument
1828 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()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c1753 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument
1757 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()