/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | mod_hdr.c | 63 found = mh; in mod_hdr_get() 92 if (mh) { in mlx5e_mod_hdr_attach() 103 mh = kzalloc(sizeof(*mh) + actions_size, GFP_KERNEL); in mlx5e_mod_hdr_attach() 104 if (!mh) { in mlx5e_mod_hdr_attach() 109 mh->key.actions = (void *)mh + sizeof(*mh); in mlx5e_mod_hdr_attach() 120 mh->key.actions); in mlx5e_mod_hdr_attach() 123 mh->compl_result = err; in mlx5e_mod_hdr_attach() 126 mh->compl_result = 1; in mlx5e_mod_hdr_attach() 130 return mh; in mlx5e_mod_hdr_attach() 151 kfree(mh); in mlx5e_mod_hdr_detach() [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfi_ms.h | 100 struct bfi_mhdr_s mh; 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 179 struct bfi_mhdr_s mh; /* common msg header */ member 236 struct bfi_mhdr_s mh; /* msg header */ member 270 struct bfi_mhdr_s mh; /* msg header */ member 279 struct bfi_mhdr_s mh; /* common msg header */ member [all …]
|
H A D | bfi.h | 170 struct bfi_mhdr_s mh; member 257 struct bfi_mhdr_s mh; member 447 struct bfi_mhdr_s mh; member 591 struct bfi_mhdr_s mh; member 598 struct bfi_mhdr_s mh; member 606 struct bfi_mhdr_s mh; member 613 struct bfi_mhdr_s mh; member 709 struct bfi_mhdr_s mh; member 715 struct bfi_mhdr_s mh; member 726 struct bfi_mhdr_s mh; member [all …]
|
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfi_cna.h | 33 struct bfi_mhdr mh; /*!< 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 133 struct bfi_mhdr mh; member 140 struct bfi_mhdr mh; member [all …]
|
H A D | bfi.h | 87 struct bfi_mhdr mh; member 175 struct bfi_mhdr mh; member 334 struct bfi_mhdr mh; 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 433 struct bfi_mhdr mh; member 442 struct bfi_mhdr mh; member 453 struct bfi_mhdr mh; member [all …]
|
H A D | bfi_enet.h | 347 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 488 struct bfi_msgq_mhdr mh; member 505 struct bfi_msgq_mhdr mh; member 526 struct bfi_msgq_mhdr mh; member 552 struct bfi_msgq_mhdr mh; member 565 struct bfi_msgq_mhdr mh; member [all …]
|
H A 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() 412 admin_up_req->mh.num_entries = htons( in bna_bfi_ethport_admin_up() 429 admin_down_req->mh.num_entries = htons( in bna_bfi_ethport_admin_down() 446 lpbk_up_req->mh.num_entries = htons( in bna_bfi_ethport_lpbk_up() 467 lpbk_down_req->mh.num_entries = htons( in bna_bfi_ethport_lpbk_down() 1162 bfi_msgq_mhdr_set(pause_req->mh, BFI_MC_ENET, in bna_bfi_pause_set() 1164 pause_req->mh.num_entries = htons( in bna_bfi_pause_set() 1624 bfi_msgq_mhdr_set(attr_req->mh, BFI_MC_ENET, in bna_bfi_attr_get() 1626 attr_req->mh.num_entries = htons( in bna_bfi_attr_get() [all …]
|
H A 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() 283 bfi_h2i_set(rsp->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_CMDQ_COPY_RSP, 0); in bfa_msgq_cmdq_copy_rsp() 284 rsp->mh.mtag.i2htok = htons(cmdq->token); in bfa_msgq_cmdq_copy_rsp() 447 bfi_h2i_set(dbell->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_DOORBELL_CI, 0); in bfa_msgq_rspq_dbell() 448 dbell->mh.mtag.i2htok = 0; in bfa_msgq_rspq_dbell() 512 bfi_h2i_set(msgq_cfg->mh, BFI_MC_MSGQ, BFI_MSGQ_H2I_INIT_REQ, 0); in bfa_msgq_init() 513 msgq_cfg->mh.mtag.i2htok = 0; in bfa_msgq_init() 528 switch (msg->mh.msg_id) { in bfa_msgq_isr()
|
/openbmc/linux/fs/dlm/ |
H A D | midcomms.c | 433 if (!mh) in dlm_send_fin() 973 list_add_tail_rcu(&mh->list, &mh->node->send_queue); in midcomms_new_msg_cb() 976 mh->seq = atomic_fetch_inc(&mh->node->seq_send); in midcomms_new_msg_cb() 991 mh->opts = opts; in dlm_midcomms_get_msg_3_2() 1022 if (!mh) in dlm_midcomms_get_mhandle() 1027 mh->idx = idx; in dlm_midcomms_get_mhandle() 1057 mh->msg = msg; in dlm_midcomms_get_mhandle() 1064 return mh; in dlm_midcomms_get_mhandle() 1077 trace_dlm_send_message(mh->node->nodeid, mh->seq, in dlm_midcomms_commit_msg_3_2_trace() 1082 trace_dlm_send_rcom(mh->node->nodeid, mh->seq, in dlm_midcomms_commit_msg_3_2_trace() [all …]
|
H A D | rcom.c | 55 struct dlm_mhandle *mh; in create_rcom() local 59 if (!mh) { in create_rcom() 66 *mh_ret = mh; in create_rcom() 319 &rc, &mh, seq); in dlm_rcom_names() 327 send_rcom(mh, rc); in dlm_rcom_names() 358 send_rcom(mh, rc); in receive_rcom_names() 375 send_rcom(mh, rc); in dlm_send_rcom_lookup() 409 send_rcom(mh, rc); in receive_rcom_lookup() 468 send_rcom(mh, rc); in dlm_send_rcom_lock() 499 send_rcom(mh, rc); in receive_rcom_lock() [all …]
|
/openbmc/linux/drivers/mtd/ |
H A D | inftlmount.c | 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() 139 mh->NoOfBDTLPartitions, in find_boot_record() 140 mh->BlockMultiplierBits, mh->FormatFlags, in find_boot_record() 141 mh->OsakVersion, mh->PercentUsed); in find_boot_record() [all …]
|
H A 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() 163 nftl->nb_boot_blocks = le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record() 171 nftl->numvunits = le32_to_cpu(mh->FormattedSize) / nftl->EraseSize; in find_boot_record() [all …]
|
/openbmc/linux/net/ipv6/netfilter/ |
H A 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()
|
/openbmc/linux/arch/arm/vfp/ |
H A D | vfp.h | 51 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in add128() 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() 117 if (mh << 32 <= nh) { in vfp_estimate_div128to64() 121 do_div(z, mh); in vfp_estimate_div128to64() 132 if (mh << 32 <= remh) { in vfp_estimate_div128to64() [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/icu/icu/ |
H A D | 0001-Disable-LDFLAGSICUDT-for-Linux.patch | 10 config/mh-linux | 2 +- 13 diff --git a/config/mh-linux b/config/mh-linux 15 --- a/config/mh-linux 16 +++ b/config/mh-linux
|
/openbmc/qemu/host/include/aarch64/host/ |
H A D | store-insert-al16.h | 27 uint64_t tl, th, vl, vh, ml, mh; in store_atom_insert_al16() local 34 mh = int128_gethi(msk); in store_atom_insert_al16() 44 : [vl] "r"(vl), [vh] "r"(vh), [ml] "r"(ml), [mh] "r"(mh)); in store_atom_insert_al16()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | diskonchip.c | 912 struct NFTLMediaHeader *mh; in nftl_partscan() local 937 mh->DataOrgID, mh->NumEraseUnits, in nftl_partscan() 938 mh->FirstPhysicalEUN, mh->FormattedSize, in nftl_partscan() 939 mh->UnitSizeFactor); in nftl_partscan() 950 mh->UnitSizeFactor = 0xff; in nftl_partscan() 954 mh->UnitSizeFactor--; in nftl_partscan() 1053 mh->bootRecordID, mh->NoOfBootImageBlocks, in inftl_partscan() 1054 mh->NoOfBinaryPartitions, in inftl_partscan() 1055 mh->NoOfBDTLPartitions, in inftl_partscan() 1056 mh->BlockMultiplierBits, mh->FormatFlags, in inftl_partscan() [all …]
|
/openbmc/linux/fs/gfs2/ |
H A D | util.h | 101 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_meta_check() local 102 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_meta_check() 122 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_check_i() local 123 u32 magic = be32_to_cpu(mh->mh_magic); in gfs2_metatype_check_i() 124 u16 t = be32_to_cpu(mh->mh_type); in gfs2_metatype_check_i() 140 struct gfs2_meta_header *mh; in gfs2_metatype_set() local 141 mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_set() 142 mh->mh_type = cpu_to_be32(type); in gfs2_metatype_set() 143 mh->mh_format = cpu_to_be32(format); in gfs2_metatype_set()
|
/openbmc/linux/net/802/ |
H A D | mrp.c | 347 if (mrp_cb(app->pdu)->mh) in mrp_pdu_queue() 370 struct mrp_msg_hdr *mh; in mrp_pdu_append_msg_hdr() local 372 if (mrp_cb(app->pdu)->mh) { in mrp_pdu_append_msg_hdr() 375 mrp_cb(app->pdu)->mh = NULL; in mrp_pdu_append_msg_hdr() 381 mh = __skb_put(app->pdu, sizeof(*mh)); in mrp_pdu_append_msg_hdr() 382 mh->attrtype = attrtype; in mrp_pdu_append_msg_hdr() 383 mh->attrlen = attrlen; in mrp_pdu_append_msg_hdr() 384 mrp_cb(app->pdu)->mh = mh; in mrp_pdu_append_msg_hdr() 421 if (!mrp_cb(app->pdu)->mh || in mrp_pdu_append_vecattr_event() 741 mrp_cb(skb)->mh->attrlen); in mrp_pdu_parse_vecattr() [all …]
|
/openbmc/linux/net/ipv6/ |
H A 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()
|
/openbmc/linux/net/mctp/ |
H A D | route.c | 44 struct mctp_hdr *mh; in mctp_lookup_bind() local 51 mh = mctp_hdr(skb); in mctp_lookup_bind() 101 struct mctp_hdr *mh; in mctp_lookup_key() local 104 mh = mctp_hdr(skb); in mctp_lookup_key() 329 struct mctp_hdr *mh; in mctp_route_input() local 347 mh = mctp_hdr(skb); in mctp_route_input() 350 if (mh->ver != 1) in mctp_route_input() 409 key = mctp_key_alloc(msk, mh->dest, mh->src, in mctp_route_input() 1122 mh = mctp_hdr(skb); in mctp_pkttype_receive() 1123 if (mh->ver < MCTP_VER_MIN || mh->ver > MCTP_VER_MAX) in mctp_pkttype_receive() [all …]
|
/openbmc/qemu/hw/hyperv/ |
H A D | hyperv.c | 545 MsgHandler *mh; in hyperv_set_msg_handler() local 548 QLIST_FOREACH(mh, &msg_handlers, link) { in hyperv_set_msg_handler() 549 if (mh->conn_id == conn_id) { in hyperv_set_msg_handler() 553 QLIST_REMOVE_RCU(mh, link); in hyperv_set_msg_handler() 554 g_free_rcu(mh, rcu); in hyperv_set_msg_handler() 562 mh = g_new(MsgHandler, 1); in hyperv_set_msg_handler() 563 mh->conn_id = conn_id; in hyperv_set_msg_handler() 564 mh->handler = handler; in hyperv_set_msg_handler() 565 mh->data = data; in hyperv_set_msg_handler() 580 MsgHandler *mh; in hyperv_hcall_post_message() local [all …]
|
/openbmc/linux/drivers/crypto/bcm/ |
H A 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() 62 if (spuh->mh.flags & MH_SCTX_PRES) { in spum_dump_msg_hdr() 275 if (spuh->mh.flags & MH_BDESC_PRES) { in spum_dump_msg_hdr() 298 if (spuh->mh.flags & MH_BD_PRES) { in spum_dump_msg_hdr() [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh2a/ |
H A 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()
|