Home
last modified time | relevance | path

Searched refs:h2b32 (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_stp.c725 h2b32(atomic_swap_32(&iu->iu_ch->ch_req_lim_delta, 0)); in srpt_stp_send_mgmt_response()
734 rsp->rsp_data_len = h2b32(sizeof (srp_rsp_data_t)); in srpt_stp_send_mgmt_response()
778 h2b32(atomic_swap_32(&iu->iu_ch->ch_req_lim_delta, 0)); in srpt_stp_send_response()
789 rsp->rsp_do_resid_cnt = h2b32(resid); in srpt_stp_send_response()
792 rsp->rsp_di_resid_cnt = h2b32(resid); in srpt_stp_send_response()
804 rsp->rsp_sense_data_len = h2b32(sense_length); in srpt_stp_send_response()
1630 rej->lrej_reason = h2b32(reason); in srpt_format_login_rej()
1644 rsp->lrsp_req_limit_delta = h2b32((uint32_t)srpt_send_msg_depth); in srpt_format_login_rsp()
H A Dsrpt_ioc.c1252 h2b32((uint32_t)(ioc->ioc_attr.hca_vendor_id << 8)); in srpt_ioc_init_profile()
1254 h2b32((uint32_t)ioc->ioc_attr.hca_device_id); in srpt_ioc_init_profile()
1258 h2b32((uint32_t)(ioc->ioc_attr.hca_vendor_id << 8)); in srpt_ioc_init_profile()
1259 ioc->ioc_profile.ioc_subsys_id = h2b32(0); in srpt_ioc_init_profile()
1267 ioc->ioc_profile.ioc_send_msg_sz = h2b32(srpt_iu_size); in srpt_ioc_init_profile()
1268 ioc->ioc_profile.ioc_rdma_xfer_sz = h2b32(SRPT_DEFAULT_MAX_RDMA_SIZE); in srpt_ioc_init_profile()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_sm.c3033 rej_msg->rej_local_comm_id = h2b32(statep->local_comid); in ibcm_post_rej_mad()
3113 rej_msg->rej_remote_comm_id = h2b32(remote_comid); in ibcm_build_n_post_rej_mad()
4708 h2b32(sidr_repp->sidr_rep_qpn_plus) >> 8); in ibcm_process_sidr_rep_msg()
4822 h2b32(sidr_repp->sidr_rep_qpn_plus) >> 8; in ibcm_process_sidr_rep_msg()
6604 rep_msgp->rep_local_qkey = h2b32( in ibcm_process_cep_req_cm_hdlr()
6609 h2b32(IBCM_QP_RC(qp_attrs).rc_rq_psn << 8); in ibcm_process_cep_req_cm_hdlr()
6613 h2b32(IBCM_QP_UC(qp_attrs).uc_sq_psn << 8); in ibcm_process_cep_req_cm_hdlr()
6623 h2b32(((uint32_t)eec_attrs.eec_eecn << 8)); in ibcm_process_cep_req_cm_hdlr()
7477 clp->RedirectQ_Key = h2b32(rinfo->rdi_qkey); in ibcm_init_clp_to_mad()
7724 h2b32(ud_clnt_info->ud_qkey); in ibcm_process_sidr_req_cm_hdlr()
[all …]
H A Dibcm_ti.c600 req_msgp->req_local_comm_id = h2b32(local_comid); in ibt_open_rc_channel()
603 req_msgp->req_local_qkey = h2b32(local_qkey); /* for EEC/RD */ in ibt_open_rc_channel()
620 req_msgp->req_remote_eecn_plus = h2b32( in ibt_open_rc_channel()
643 req_msgp->req_starting_psn_plus = h2b32(starting_psn << 8 | in ibt_open_rc_channel()
723 h2b32(((primary_grh == B_TRUE) ? in ibt_open_rc_channel()
784 req_msgp->req_alt_flow_label_plus = h2b32( in ibt_open_rc_channel()
2351 mra_msgp->mra_local_comm_id = h2b32(statep->local_comid); in ibt_cm_delay()
2352 mra_msgp->mra_remote_comm_id = h2b32(statep->remote_comid); in ibt_cm_delay()
4487 lap_msgp->lap_local_comm_id = h2b32(statep->local_comid); in ibt_set_alt_path()
4488 lap_msgp->lap_remote_comm_id = h2b32(statep->remote_comid); in ibt_set_alt_path()
[all …]
H A Dibcm_utils.c1543 *p32++ = h2b32(sb_data->s_data32[i]); in ibcm_swizzle_from_srv()
1568 sb_data->s_data32[i] = h2b32(*p32++); in ibcm_swizzle_to_srv()
H A Dibcm_impl.c540 h2b32(ibt_usec2ib(ibcm_local_processing_time) & 0x1f); in ibcm_init_classportinfo()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdma/
H A Dibdma.c736 cpip->RespTimeValue = h2b32(IBDMA_DM_RESP_TIME); in ibdma_get_class_portinfo()
1014 profile->ioc_vendorid |= h2b32(free_slot); in ibdma_ioc_register()
1195 profile->ioc_vendorid |= h2b32(ioc->ii_slot); in ibdma_ioc_update()
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/
H A Dibtl_types.h56 #define h2b32(x) (htonl(x)) macro
71 #define h2b32(x) (x)
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_wqe.c53 (hdrp)->rmpp_segnum = (h2b32(seg)); \
54 (hdrp)->rmpp_pyldlen_nwl = (h2b32(lennwl)); \
H A Dibmf_saa_impl.c1751 mad_hdr->AttributeModifier = h2b32(0xffffffff); in ibmf_saa_impl_init_msg()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c2220 cpi->TrapQP = h2b32((((ibmf_alt_qp_t *)gid_info->gl_qp_hdl)->isq_qpn)); in ibdm_set_classportinfo()
2221 cpi->TrapQ_Key = h2b32((((ibmf_alt_qp_t *) in ibdm_set_classportinfo()
2792 hdr->AttributeModifier = h2b32(ii + 1); in ibdm_handle_iounitinfo()
3218 hdr->AttributeModifier = h2b32(attr); in ibdm_get_diagcode()
4101 hdr->AttributeModifier = h2b32(cb_args->cb_ioc_num + 1); in ibdm_retry_command()
4119 hdr->AttributeModifier = h2b32(cb_args->cb_ioc_num + 1); in ibdm_retry_command()
5534 hdr->AttributeModifier = h2b32(ioc_no + 1); in ibdm_send_ioc_profile()
6997 hdr->AttributeModifier = h2b32(attr_mod); in ibdm_fill_srv_attr_mod()