/Linux-v5.4/drivers/scsi/bfa/ |
D | bfi_ms.h | 100 struct bfi_mhdr_s mh; member 109 struct bfi_mhdr_s mh; /* Common msg header */ member 120 struct bfi_mhdr_s mh; /* common msg header */ member 132 struct bfi_mhdr_s mh; /* common msg header */ member 144 struct bfi_mhdr_s mh; /* common msg header */ member 154 struct bfi_mhdr_s mh; member 165 struct bfi_mhdr_s mh; member 175 struct bfi_mhdr_s mh; /* common msg header */ member 179 struct bfi_mhdr_s mh; /* common msg header */ member 189 struct bfi_mhdr_s mh; /* common msg header */ member [all …]
|
D | bfi.h | 170 struct bfi_mhdr_s mh; member 257 struct bfi_mhdr_s mh; member 297 struct bfi_mhdr_s mh; /* Common msg header */ member 389 struct bfi_mhdr_s mh; /* common msg header */ member 447 struct bfi_mhdr_s mh; member 459 struct bfi_mhdr_s mh; /* Common msg header */ member 473 struct bfi_mhdr_s mh; member 484 struct bfi_mhdr_s mh; member 591 struct bfi_mhdr_s mh; member 598 struct bfi_mhdr_s mh; member [all …]
|
D | bfa_port.c | 145 bfa_trc(port, m->mh.msg_id); in bfa_port_isr() 147 switch (m->mh.msg_id) { in bfa_port_isr() 258 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_ENABLE_REQ, in bfa_port_enable() 314 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_DISABLE_REQ, in bfa_port_disable() 354 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_GET_STATS_REQ, in bfa_port_get_stats() 391 bfi_h2i_set(m->mh, BFI_MC_PORT, BFI_PORT_H2I_CLEAR_STATS_REQ, in bfa_port_clear_stats() 665 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_CFG_REQ, in bfa_cee_get_attr() 705 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_GET_STATS_REQ, in bfa_cee_get_stats() 742 bfi_h2i_set(cmd->mh, BFI_MC_CEE, BFI_CEE_H2I_RESET_STATS, in bfa_cee_reset_stats() 767 bfa_trc(cee, msg->mh.msg_id); in bfa_cee_isr() [all …]
|
D | bfa_ioc.c | 1801 bfi_h2i_set(enable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_ENABLE_REQ, in bfa_ioc_send_enable() 1814 bfi_h2i_set(disable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_DISABLE_REQ, in bfa_ioc_send_disable() 1827 bfi_h2i_set(attr_req.mh, BFI_MC_IOC, BFI_IOC_H2I_GETATTR_REQ, in bfa_ioc_send_getattr() 2330 switch (msg->mh.msg_id) { in bfa_ioc_isr() 2350 bfa_trc(ioc, msg->mh.msg_id); in bfa_ioc_isr() 2607 mc = m.mh.msg_class; in bfa_ioc_mbox_isr() 2992 bfi_h2i_set(req->mh, BFI_MC_IOC, BFI_IOC_H2I_DBG_SYNC, in bfa_ioc_send_fwsync() 3290 WARN_ON(msg->mh.msg_class != BFI_MC_ABLK); in bfa_ablk_isr() 3291 bfa_trc(ablk->ioc, msg->mh.msg_id); in bfa_ablk_isr() 3293 switch (msg->mh.msg_id) { in bfa_ablk_isr() [all …]
|
/Linux-v5.4/drivers/net/ethernet/brocade/bna/ |
D | bfi_cna.h | 33 struct bfi_mhdr mh; /*!< msg header */ member 40 struct bfi_mhdr mh; /*!< common msg header */ member 48 struct bfi_mhdr mh; /*!< common msg header */ member 53 struct bfi_mhdr mh; member 61 struct bfi_mhdr mh; member 89 struct bfi_mhdr mh; member 97 struct bfi_mhdr mh; member 105 struct bfi_mhdr mh; member 114 struct bfi_mhdr mh; member 124 struct bfi_mhdr mh; member [all …]
|
D | bfi.h | 87 struct bfi_mhdr mh; member 175 struct bfi_mhdr mh; member 208 struct bfi_mhdr mh; /*!< Common msg header */ member 292 struct bfi_mhdr mh; /*!< common msg header */ member 334 struct bfi_mhdr mh; member 342 struct bfi_mhdr mh; /*!< Common msg header */ member 352 struct bfi_mhdr mh; member 361 struct bfi_mhdr mh; member 419 struct bfi_mhdr mh; member 426 struct bfi_mhdr mh; member [all …]
|
D | bfi_enet.h | 347 struct bfi_msgq_mhdr mh; member 360 struct bfi_msgq_mhdr mh; member 367 struct bfi_msgq_mhdr mh; member 379 struct bfi_msgq_mhdr mh; member 386 struct bfi_msgq_mhdr mh; member 417 struct bfi_msgq_mhdr mh; member 432 struct bfi_msgq_mhdr mh; member 488 struct bfi_msgq_mhdr mh; member 505 struct bfi_msgq_mhdr mh; member 526 struct bfi_msgq_mhdr mh; member [all …]
|
D | bna_enet.c | 104 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_admin_rsp() 131 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_lpbk_rsp() 160 container_of(msghdr, struct bfi_enet_attr_rsp, mh); in bna_bfi_attr_get_rsp() 410 bfi_msgq_mhdr_set(admin_up_req->mh, BFI_MC_ENET, in bna_bfi_ethport_admin_up() 412 admin_up_req->mh.num_entries = htons( in bna_bfi_ethport_admin_up() 417 sizeof(struct bfi_enet_enable_req), &admin_up_req->mh); in bna_bfi_ethport_admin_up() 427 bfi_msgq_mhdr_set(admin_down_req->mh, BFI_MC_ENET, in bna_bfi_ethport_admin_down() 429 admin_down_req->mh.num_entries = htons( in bna_bfi_ethport_admin_down() 434 sizeof(struct bfi_enet_enable_req), &admin_down_req->mh); in bna_bfi_ethport_admin_down() 444 bfi_msgq_mhdr_set(lpbk_up_req->mh, BFI_MC_ENET, in bna_bfi_ethport_lpbk_up() [all …]
|
D | bfa_msgq.c | 191 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_PI, 0); in bfa_msgq_cmdq_dbell() 192 dbell->mh.mtag.i2htok = 0; in bfa_msgq_cmdq_dbell() 285 bfi_h2i_set(rsp->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_CMDQ_COPY_RSP, 0); in bfa_msgq_cmdq_copy_rsp() 286 rsp->mh.mtag.i2htok = htons(cmdq->token); in bfa_msgq_cmdq_copy_rsp() 449 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_CI, 0); in bfa_msgq_rspq_dbell() 450 dbell->mh.mtag.i2htok = 0; in bfa_msgq_rspq_dbell() 514 bfi_h2i_set(msgq_cfg->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_INIT_REQ, 0); in bfa_msgq_init() 515 msgq_cfg->mh.mtag.i2htok = 0; in bfa_msgq_init() 530 switch (msg->mh.msg_id) { in bfa_msgq_isr()
|
D | bna_tx_rx.c | 184 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, req_type, 0, rxf->rx->rid); in bna_bfi_ucast_req() 185 req->mh.num_entries = htons( in bna_bfi_ucast_req() 189 sizeof(struct bfi_enet_ucast_req), &req->mh); in bna_bfi_ucast_req() 199 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, BFI_ENET_H2I_MAC_MCAST_ADD_REQ, in bna_bfi_mcast_add_req() 201 req->mh.num_entries = htons( in bna_bfi_mcast_add_req() 205 sizeof(struct bfi_enet_mcast_add_req), &req->mh); in bna_bfi_mcast_add_req() 215 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, BFI_ENET_H2I_MAC_MCAST_DEL_REQ, in bna_bfi_mcast_del_req() 217 req->mh.num_entries = htons( in bna_bfi_mcast_del_req() 221 sizeof(struct bfi_enet_mcast_del_req), &req->mh); in bna_bfi_mcast_del_req() 230 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, in bna_bfi_mcast_filter_req() [all …]
|
/Linux-v5.4/drivers/mtd/ |
D | inftlmount.c | 37 struct INFTLMediaHeader *mh = &inftl->MediaHdr; in find_boot_record() local 104 memcpy(mh, buf, sizeof(struct INFTLMediaHeader)); in find_boot_record() 115 if (memcmp(mh, buf, sizeof(struct INFTLMediaHeader))) { in find_boot_record() 121 mh->NoOfBootImageBlocks = le32_to_cpu(mh->NoOfBootImageBlocks); in find_boot_record() 122 mh->NoOfBinaryPartitions = le32_to_cpu(mh->NoOfBinaryPartitions); in find_boot_record() 123 mh->NoOfBDTLPartitions = le32_to_cpu(mh->NoOfBDTLPartitions); in find_boot_record() 124 mh->BlockMultiplierBits = le32_to_cpu(mh->BlockMultiplierBits); in find_boot_record() 125 mh->FormatFlags = le32_to_cpu(mh->FormatFlags); in find_boot_record() 126 mh->PercentUsed = le32_to_cpu(mh->PercentUsed); in find_boot_record() 137 mh->bootRecordID, mh->NoOfBootImageBlocks, in find_boot_record() [all …]
|
D | nftlmount.c | 31 struct NFTLMediaHeader *mh = &nftl->MediaHdr; in find_boot_record() local 121 if (memcmp(mh, buf, sizeof(struct NFTLMediaHeader))) { in find_boot_record() 143 memcpy(mh, buf, sizeof(struct NFTLMediaHeader)); in find_boot_record() 150 if (mh->UnitSizeFactor == 0) { in find_boot_record() 152 } else if (mh->UnitSizeFactor < 0xfc) { in find_boot_record() 154 mh->UnitSizeFactor); in find_boot_record() 156 } else if (mh->UnitSizeFactor != 0xff) { in find_boot_record() 158 mh->UnitSizeFactor); in find_boot_record() 159 nftl->EraseSize = nftl->mbd.mtd->erasesize << (0xff - mh->UnitSizeFactor); in find_boot_record() 163 nftl->nb_boot_blocks = le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record() [all …]
|
/Linux-v5.4/fs/dlm/ |
D | rcom.c | 34 struct dlm_mhandle *mh; in create_rcom() local 38 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in create_rcom() 39 if (!mh) { in create_rcom() 60 *mh_ret = mh; in create_rcom() 65 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom() argument 69 dlm_lowcomms_commit_buffer(mh); in send_rcom() 145 struct dlm_mhandle *mh; in dlm_rcom_status() local 158 sizeof(struct rcom_status), &rc, &mh); in dlm_rcom_status() 167 send_rcom(ls, mh, rc); in dlm_rcom_status() 195 struct dlm_mhandle *mh; in receive_rcom_status() local [all …]
|
D | lowcomms.h | 20 void dlm_lowcomms_commit_buffer(void *mh);
|
/Linux-v5.4/arch/arm/vfp/ |
D | vfp.h | 44 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128() argument 51 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in add128() 57 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128() argument 64 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in sub128() 72 u32 nh, nl, mh, ml; in mul64to128() local 82 mh = m >> 32; in mul64to128() 83 rmb = (u64)nl * mh; in mul64to128() 86 rh = (u64)nh * mh; in mul64to128() 112 u64 mh, ml, remh, reml, termh, terml, z; in vfp_estimate_div128to64() local 116 mh = m >> 32; in vfp_estimate_div128to64() [all …]
|
/Linux-v5.4/net/ipv6/netfilter/ |
D | ip6t_mh.c | 34 const struct ip6_mh *mh; in mh_mt6() local 41 mh = skb_header_pointer(skb, par->thoff, sizeof(_mh), &_mh); in mh_mt6() 42 if (mh == NULL) { in mh_mt6() 50 if (mh->ip6mh_proto != IPPROTO_NONE) { in mh_mt6() 52 mh->ip6mh_proto); in mh_mt6() 57 return type_match(mhinfo->types[0], mhinfo->types[1], mh->ip6mh_type, in mh_mt6()
|
/Linux-v5.4/fs/gfs2/ |
D | util.h | 83 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_meta_check() local 84 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_meta_check() 104 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_check_i() local 105 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_metatype_check_i() 106 u16 t = be32_to_cpu(mh->mh_type); in gfs2_metatype_check_i() 122 struct gfs2_meta_header *mh; in gfs2_metatype_set() local 123 mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_set() 124 mh->mh_type = cpu_to_be32(type); in gfs2_metatype_set() 125 mh->mh_format = cpu_to_be32(format); in gfs2_metatype_set()
|
D | trans.c | 192 struct gfs2_meta_header *mh; in gfs2_trans_add_meta() local 221 mh = (struct gfs2_meta_header *)bd->bd_bh->b_data; in gfs2_trans_add_meta() 222 if (unlikely(mh->mh_magic != cpu_to_be32(GFS2_MAGIC))) { in gfs2_trans_add_meta() 233 mh->__pad0 = cpu_to_be64(0); in gfs2_trans_add_meta() 234 mh->mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in gfs2_trans_add_meta()
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | diskonchip.c | 1035 struct NFTLMediaHeader *mh; in nftl_partscan() local 1049 mh = (struct NFTLMediaHeader *)buf; in nftl_partscan() 1051 le16_to_cpus(&mh->NumEraseUnits); in nftl_partscan() 1052 le16_to_cpus(&mh->FirstPhysicalEUN); in nftl_partscan() 1053 le32_to_cpus(&mh->FormattedSize); in nftl_partscan() 1060 mh->DataOrgID, mh->NumEraseUnits, in nftl_partscan() 1061 mh->FirstPhysicalEUN, mh->FormattedSize, in nftl_partscan() 1062 mh->UnitSizeFactor); in nftl_partscan() 1067 if (mh->UnitSizeFactor == 0x00) { in nftl_partscan() 1073 mh->UnitSizeFactor = 0xff; in nftl_partscan() [all …]
|
/Linux-v5.4/net/802/ |
D | mrp.c | 334 if (mrp_cb(app->pdu)->mh) in mrp_pdu_queue() 357 struct mrp_msg_hdr *mh; in mrp_pdu_append_msg_hdr() local 359 if (mrp_cb(app->pdu)->mh) { in mrp_pdu_append_msg_hdr() 362 mrp_cb(app->pdu)->mh = NULL; in mrp_pdu_append_msg_hdr() 366 if (skb_tailroom(app->pdu) < sizeof(*mh)) in mrp_pdu_append_msg_hdr() 368 mh = __skb_put(app->pdu, sizeof(*mh)); in mrp_pdu_append_msg_hdr() 369 mh->attrtype = attrtype; in mrp_pdu_append_msg_hdr() 370 mh->attrlen = attrlen; in mrp_pdu_append_msg_hdr() 371 mrp_cb(app->pdu)->mh = mh; in mrp_pdu_append_msg_hdr() 408 if (!mrp_cb(app->pdu)->mh || in mrp_pdu_append_vecattr_event() [all …]
|
/Linux-v5.4/net/ipv6/ |
D | mip6.c | 77 const struct ip6_mh *mh; in mip6_mh_filter() local 79 mh = skb_header_pointer(skb, skb_transport_offset(skb), in mip6_mh_filter() 81 if (!mh) in mip6_mh_filter() 84 if (((mh->ip6mh_hdrlen + 1) << 3) > skb->len) in mip6_mh_filter() 87 if (mh->ip6mh_hdrlen < mip6_mh_len(mh->ip6mh_type)) { in mip6_mh_filter() 89 mh->ip6mh_hdrlen, in mip6_mh_filter() 90 mip6_mh_len(mh->ip6mh_type)); in mip6_mh_filter() 96 if (mh->ip6mh_proto != IPPROTO_NONE) { in mip6_mh_filter() 98 mh->ip6mh_proto); in mip6_mh_filter()
|
/Linux-v5.4/drivers/crypto/bcm/ |
D | spu.c | 45 if (spuh->mh.flags & MH_SCTX_PRES) in spum_dump_msg_hdr() 47 if (spuh->mh.flags & MH_BDESC_PRES) in spum_dump_msg_hdr() 49 if (spuh->mh.flags & MH_MFM_PRES) in spum_dump_msg_hdr() 51 if (spuh->mh.flags & MH_BD_PRES) in spum_dump_msg_hdr() 53 if (spuh->mh.flags & MH_HASH_PRES) in spum_dump_msg_hdr() 55 if (spuh->mh.flags & MH_SUPDT_PRES) in spum_dump_msg_hdr() 57 packet_log(" Opcode 0x%02x\n", spuh->mh.op_code); in spum_dump_msg_hdr() 59 ptr += sizeof(spuh->mh) + sizeof(spuh->emh); /* skip emh. unused */ in spum_dump_msg_hdr() 62 if (spuh->mh.flags & MH_SCTX_PRES) { in spum_dump_msg_hdr() 279 if (spuh->mh.flags & MH_BDESC_PRES) { in spum_dump_msg_hdr() [all …]
|
/Linux-v5.4/arch/sh/kernel/cpu/sh2a/ |
D | fpu.c | 153 static inline long long rshift64(unsigned long long mh, in rshift64() argument 157 return mh >> (n - 64); in rshift64() 158 return (mh << (64 - n)) | (ml >> n); in rshift64() 164 unsigned long long mh, ml, nh, nl; in denormal_muld() local 175 mult64(ix, iy, &mh, &ml); in denormal_muld() 176 nh = mh; in denormal_muld() 188 ix = (rshift64(mh, ml, w - 52) & 0x000fffffffffffffLL) in denormal_muld() 191 ix = rshift64(mh, ml, w - 51 - exp) & 0x000fffffffffffffLL; in denormal_muld()
|
/Linux-v5.4/arch/h8300/ |
D | Makefile | 13 cflags-$(CONFIG_CPU_H8300H) := -mh 14 aflags-$(CONFIG_CPU_H8300H) := -mh -Wa,--mach=h8300h
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 124 struct mlx5e_mod_hdr_entry *mh; /* attached mod header instance */ member 311 struct mlx5e_mod_hdr_entry *mh, *found = NULL; in mlx5e_mod_hdr_get() local 313 hash_for_each_possible(tbl->hlist, mh, mod_hdr_hlist, hash_key) { in mlx5e_mod_hdr_get() 314 if (!cmp_mod_hdr_info(&mh->key, key)) { in mlx5e_mod_hdr_get() 315 refcount_inc(&mh->refcnt); in mlx5e_mod_hdr_get() 316 found = mh; in mlx5e_mod_hdr_get() 325 struct mlx5e_mod_hdr_entry *mh, in mlx5e_mod_hdr_put() argument 330 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_put() 332 hash_del(&mh->mod_hdr_hlist); in mlx5e_mod_hdr_put() 335 WARN_ON(!list_empty(&mh->flows)); in mlx5e_mod_hdr_put() [all …]
|