Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_dir2_node.c924 struct xfs_dir3_icleaf_hdr hdr1; in xfs_dir2_leafn_order() local
927 dp->d_ops->leaf_hdr_from_disk(&hdr1, leaf1); in xfs_dir2_leafn_order()
932 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order()
935 be32_to_cpu(ents1[hdr1.count - 1].hashval))) in xfs_dir2_leafn_order()
966 struct xfs_dir3_icleaf_hdr hdr1; in xfs_dir2_leafn_rebalance() local
983 dp->d_ops->leaf_hdr_from_disk(&hdr1, leaf1); in xfs_dir2_leafn_rebalance()
988 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance()
990 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance()
1001 if (mid >= hdr1.count) in xfs_dir2_leafn_rebalance()
1002 midhash = be32_to_cpu(ents2[mid - hdr1.count].hashval); in xfs_dir2_leafn_rebalance()
[all …]
/linux-4.4.14/drivers/infiniband/core/
Duser_mad.c400 static int same_destination(struct ib_user_mad_hdr *hdr1, in same_destination() argument
403 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination()
404 return (hdr1->lid == hdr2->lid); in same_destination()
406 if (hdr1->grh_present && hdr2->grh_present) in same_destination()
407 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
/linux-4.4.14/arch/arm/kernel/
Datags_parse.c41 struct tag_header hdr1; member
/linux-4.4.14/drivers/crypto/
Dtalitos.h62 __be32 hdr1; /* header for SEC1 */ member
Dtalitos.c282 desc->hdr1 = desc->hdr; in talitos_submit()
284 request->dma_desc = dma_map_single(dev, &desc->hdr1, in talitos_submit()
335 hdr = is_sec1 ? request->desc->hdr1 : request->desc->hdr; in flush_channel()
/linux-4.4.14/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.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c3036 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument
3040 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible()
3043 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible()
3044 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dchip.c4191 u64 info, hdr0, hdr1; in handle_dcc_err() local
4271 hdr1 = read_csr(dd, DCC_ERR_INFO_PORTRCV_HDR1); in handle_dcc_err()
4282 dd->err_info_rcvport.packet_flit2 = hdr1; in handle_dcc_err()
4313 hdr0, hdr1); in handle_dcc_err()