Searched refs:hdr2 (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_dir2_node.c | 925 struct xfs_dir3_icleaf_hdr hdr2; xfs_dir2_leafn_order() local 928 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); xfs_dir2_leafn_order() 932 if (hdr1.count > 0 && hdr2.count > 0 && xfs_dir2_leafn_order() 934 be32_to_cpu(ents2[hdr2.count - 1].hashval) < xfs_dir2_leafn_order() 967 struct xfs_dir3_icleaf_hdr hdr2; xfs_dir2_leafn_rebalance() local 984 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); xfs_dir2_leafn_rebalance() 988 oldsum = hdr1.count + hdr2.count; xfs_dir2_leafn_rebalance() 990 oldstale = hdr1.stale + hdr2.stale; xfs_dir2_leafn_rebalance() 1022 &hdr2, ents2, 0, count); xfs_dir2_leafn_rebalance() 1024 xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, xfs_dir2_leafn_rebalance() 1028 ASSERT(hdr1.count + hdr2.count == oldsum); xfs_dir2_leafn_rebalance() 1029 ASSERT(hdr1.stale + hdr2.stale == oldstale); xfs_dir2_leafn_rebalance() 1033 dp->d_ops->leaf_hdr_to_disk(leaf2, &hdr2); xfs_dir2_leafn_rebalance() 1043 if (hdr1.count < hdr2.count) xfs_dir2_leafn_rebalance() 1045 else if (hdr1.count > hdr2.count) xfs_dir2_leafn_rebalance() 1445 struct xfs_dir3_icleaf_hdr hdr2; xfs_dir2_leafn_toosmall() local 1466 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf); xfs_dir2_leafn_toosmall() 1468 count += hdr2.count - hdr2.stale; xfs_dir2_leafn_toosmall()
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | user_mad.c | 401 struct ib_user_mad_hdr *hdr2) same_destination() 403 if (!hdr1->grh_present && !hdr2->grh_present) same_destination() 404 return (hdr1->lid == hdr2->lid); same_destination() 406 if (hdr1->grh_present && hdr2->grh_present) same_destination() 407 return !memcmp(hdr1->gid, hdr2->gid, 16); same_destination() 400 same_destination(struct ib_user_mad_hdr *hdr1, struct ib_user_mad_hdr *hdr2) same_destination() argument
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | atags_parse.c | 43 struct tag_header hdr2; member in struct:__anon200
|
/linux-4.4.14/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 1824 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) fw_compatible() argument 1828 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) fw_compatible() 1831 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) fw_compatible() 1832 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && fw_compatible()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 3036 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) fw_compatible() argument 3040 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) fw_compatible() 3043 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) fw_compatible() 3044 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && fw_compatible()
|
Completed in 242 milliseconds