Home
last modified time | relevance | path

Searched refs:im_bufs_mad_hdr (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_dr.c61 dr_hdr = (sm_dr_mad_hdr_t *)msgimplp->im_msgbufs_send.im_bufs_mad_hdr; in ibmf_i_check_for_loopback()
226 dr_hdr = (sm_dr_mad_hdr_t *)msgimplp->im_msgbufs_send.im_bufs_mad_hdr; in ibmf_i_dr_loopback_filter()
415 if (rmsgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_i_dr_loopback_filter()
416 rmsgimplp->im_msgbufs_recv.im_bufs_mad_hdr = in ibmf_i_dr_loopback_filter()
418 if (rmsgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_i_dr_loopback_filter()
437 bcopy((void *)msgimplp->im_msgbufs_send.im_bufs_mad_hdr, in ibmf_i_dr_loopback_filter()
438 (void *)rmsgimplp->im_msgbufs_recv.im_bufs_mad_hdr, in ibmf_i_dr_loopback_filter()
447 (uchar_t *)rmsgimplp->im_msgbufs_recv.im_bufs_mad_hdr + in ibmf_i_dr_loopback_filter()
457 (uchar_t *)rmsgimplp->im_msgbufs_recv.im_bufs_mad_hdr + in ibmf_i_dr_loopback_filter()
H A Dibmf_msg.c319 if (msgbufp->im_bufs_mad_hdr->R_Method == in ibmf_i_find_msg()
358 if ((msgbufp->im_bufs_mad_hdr->R_Method | in ibmf_i_find_msg()
417 if ((msgbufp->im_bufs_mad_hdr-> in ibmf_i_find_msg()
441 if (msgbufp->im_bufs_mad_hdr-> in ibmf_i_find_msg()
470 if (msgbufp->im_bufs_mad_hdr-> in ibmf_i_find_msg()
614 ASSERT(msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL); in ibmf_setup_recvbuf_on_error()
619 msgimplp->im_msgbufs_recv.im_bufs_mad_hdr = in ibmf_setup_recvbuf_on_error()
621 if (msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_setup_recvbuf_on_error()
642 msgbufp = (uchar_t *)msgimplp->im_msgbufs_recv.im_bufs_mad_hdr; in ibmf_setup_recvbuf_on_error()
H A Dibmf_rmpp.c499 if (msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_i_rmpp_recvr_flow_main()
554 if (msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_i_rmpp_recvr_flow_main()
664 ASSERT(msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL); in ibmf_i_rmpp_recvr_flow_main()
667 msgimplp->im_msgbufs_recv.im_bufs_mad_hdr = in ibmf_i_rmpp_recvr_flow_main()
671 if (msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_i_rmpp_recvr_flow_main()
692 msgbufp = (uchar_t *)msgimplp->im_msgbufs_recv.im_bufs_mad_hdr; in ibmf_i_rmpp_recvr_flow_main()
837 old_buf = msgimplp->im_msgbufs_recv.im_bufs_mad_hdr; in ibmf_i_rmpp_recvr_flow_main()
844 msgimplp->im_msgbufs_recv.im_bufs_mad_hdr = in ibmf_i_rmpp_recvr_flow_main()
848 if (msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_i_rmpp_recvr_flow_main()
872 msgbufp = (uchar_t *)msgimplp->im_msgbufs_recv.im_bufs_mad_hdr; in ibmf_i_rmpp_recvr_flow_main()
[all …]
H A Dibmf_saa_impl.c1531 ASSERT(msgp->im_msgbufs_recv.im_bufs_mad_hdr != NULL); in ibmf_saa_impl_send_request()
1534 im_bufs_mad_hdr->Status); in ibmf_saa_impl_send_request()
1771 req_mad->im_bufs_mad_hdr = mad_hdr; in ibmf_saa_impl_init_msg()
1998 _NOTE(ASSUMING_PROTECTED(*msgp->im_msgbufs_send.im_bufs_mad_hdr)) in ibmf_saa_impl_new_smlid_retry()
2041 msgp->im_msgbufs_send.im_bufs_mad_hdr->TransactionID = in ibmf_saa_impl_new_smlid_retry()
2144 _NOTE(ASSUMING_PROTECTED(*msgp->im_msgbufs_send.im_bufs_mad_hdr)) in ibmf_saa_impl_revert_to_qp1()
2186 msgp->im_msgbufs_send.im_bufs_mad_hdr->TransactionID = in ibmf_saa_impl_revert_to_qp1()
2899 ASSERT(msgp->im_msgbufs_recv.im_bufs_mad_hdr != NULL); in ibmf_saa_async_cb()
2901 if ((b2h16(msgp->im_msgbufs_recv.im_bufs_mad_hdr->Status) == in ibmf_saa_async_cb()
2932 } else if (b2h16(msgp->im_msgbufs_recv.im_bufs_mad_hdr->Status) in ibmf_saa_async_cb()
[all …]
H A Dibmf_impl.c1993 if (msgbufp->im_bufs_mad_hdr != NULL) { in ibmf_i_free_msg()
1995 msgbufp->im_bufs_mad_hdr->MgmtClass, in ibmf_i_free_msg()
1997 kmem_free(msgbufp->im_bufs_mad_hdr, sizeof (ib_mad_hdr_t) + in ibmf_i_free_msg()
2044 madhdrp = msgimplp->im_msgbufs_send.im_bufs_mad_hdr; in ibmf_i_msg_transport()
2055 smsgbufp->im_bufs_mad_hdr->MgmtClass, in ibmf_i_msg_transport()
2108 if ((madhdrp == msgbufp->im_bufs_mad_hdr) && in ibmf_i_msg_transport()
2130 if ((msgbufp->im_bufs_mad_hdr != NULL) && in ibmf_i_msg_transport()
2138 tnf_opaque, mad_hdr, msgbufp->im_bufs_mad_hdr); in ibmf_i_msg_transport()
2141 msgbufp->im_bufs_mad_hdr->MgmtClass, in ibmf_i_msg_transport()
2144 kmem_free(msgbufp->im_bufs_mad_hdr, sizeof (ib_mad_hdr_t) + in ibmf_i_msg_transport()
[all …]
H A Dibmf_timers.c327 msgimplp->im_msgbufs_recv.im_bufs_mad_hdr, in ibmf_i_recv_timeout()
762 msgimplp->im_msgbufs_recv.im_bufs_mad_hdr, in ibmf_i_err_terminate_timeout()
H A Dibmf_recv.c1106 if (msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_i_handle_non_rmpp()
1108 msgimplp->im_msgbufs_recv.im_bufs_mad_hdr = in ibmf_i_handle_non_rmpp()
1110 if (msgimplp->im_msgbufs_recv.im_bufs_mad_hdr == NULL) { in ibmf_i_handle_non_rmpp()
1129 msgbufp = (uchar_t *)msgimplp->im_msgbufs_recv.im_bufs_mad_hdr; in ibmf_i_handle_non_rmpp()
H A Dibmf_saa_events.c1110 req_mad_hdr = msgp->im_msgbufs_recv.im_bufs_mad_hdr; in ibmf_saa_report_cb()
1199 msgp->im_msgbufs_send.im_bufs_mad_hdr = resp_mad_hdr; in ibmf_saa_report_cb()
H A Dibmf.c960 if (msgimplp->im_msgbufs_send.im_bufs_mad_hdr == NULL) { in ibmf_msg_transport()
974 (msgimplp->im_msgbufs_send.im_bufs_mad_hdr == NULL)) { in ibmf_msg_transport()
1014 dr_hdr = (sm_dr_mad_hdr_t *)msgimplp->im_msgbufs_send.im_bufs_mad_hdr; in ibmf_msg_transport()
H A Dibmf_wqe.c917 bcopy((void *)hdr_ipbufs->im_bufs_mad_hdr, in ibmf_i_init_send_wqe()
991 hdr_ipbufs->im_bufs_mad_hdr->MgmtClass, in ibmf_i_init_send_wqe()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibdma/
H A Dibdma.c579 msgp->im_msgbufs_send.im_bufs_mad_hdr = in ibdma_create_resp_mad()
583 msgp->im_msgbufs_send.im_bufs_mad_hdr + sizeof (ib_mad_hdr_t); in ibdma_create_resp_mad()
590 (void) memcpy(msgp->im_msgbufs_send.im_bufs_mad_hdr, in ibdma_create_resp_mad()
591 msgp->im_msgbufs_recv.im_bufs_mad_hdr, IBDMA_MAD_SIZE); in ibdma_create_resp_mad()
618 if (msgp->im_msgbufs_send.im_bufs_mad_hdr != NULL) { in ibdma_mad_send_cb()
619 kmem_free(msgp->im_msgbufs_send.im_bufs_mad_hdr, in ibdma_mad_send_cb()
621 msgp->im_msgbufs_send.im_bufs_mad_hdr = NULL; in ibdma_mad_send_cb()
648 in_mad = msgp->im_msgbufs_recv.im_bufs_mad_hdr; in ibdma_mad_recv_cb()
658 out_mad = msgp->im_msgbufs_send.im_bufs_mad_hdr; in ibdma_mad_recv_cb()
764 slot = b2h32(msg->im_msgbufs_recv.im_bufs_mad_hdr->AttributeModifier); in ibdma_get_ioc_profile()
[all …]
/titanic_41/usr/src/uts/common/sys/ib/mgt/ibdm/
H A Dibdm_impl.h341 (msg->im_msgbufs_send.im_bufs_mad_hdr)
344 (msg->im_msgbufs_recv.im_bufs_mad_hdr)
347 b2h16(msg->im_msgbufs_recv.im_bufs_mad_hdr->Status)
350 b2h16(msg->im_msgbufs_recv.im_bufs_mad_hdr->AttributeID)
353 b2h32(msg->im_msgbufs_recv.im_bufs_mad_hdr->AttributeModifier)
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_agents.h104 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \
114 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \
/titanic_41/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_agents.h104 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \
114 ((((msgp)->im_msgbufs_recv.im_bufs_mad_hdr->R_Method & \
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_agents.c371 madhdrp = recv_msgbufp->im_bufs_mad_hdr; in hermon_agent_handle_req()
417 (uint32_t *)recv_msgbufp->im_bufs_mad_hdr, in hermon_agent_handle_req()
418 (uint32_t *)send_msgbufp->im_bufs_mad_hdr); in hermon_agent_handle_req()
789 ib_mad_hdr_t *rmadhdrp = msgp->im_msgbufs_recv.im_bufs_mad_hdr; in hermon_agent_mad_resp_handling()
790 ib_mad_hdr_t *smadhdrp = msgp->im_msgbufs_send.im_bufs_mad_hdr; in hermon_agent_mad_resp_handling()
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_agents.c310 (uint32_t *)recv_msgbufp->im_bufs_mad_hdr, in tavor_agent_handle_req()
311 (uint32_t *)send_msgbufp->im_bufs_mad_hdr); in tavor_agent_handle_req()
631 ib_mad_hdr_t *rmadhdrp = msgp->im_msgbufs_recv.im_bufs_mad_hdr; in tavor_agent_mad_resp_handling()
632 ib_mad_hdr_t *smadhdrp = msgp->im_msgbufs_send.im_bufs_mad_hdr; in tavor_agent_mad_resp_handling()
/titanic_41/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_msg.h115 ib_mad_hdr_t *im_bufs_mad_hdr; /* mad hdr (24 bytes) */ member
H A Dibmf_impl.h148 _ibmf_msg::im_msgbufs_send.im_bufs_mad_hdr
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_umad/
H A Dsol_umad.c1755 ibmf_msg->im_msgbufs_recv.im_bufs_mad_hdr; in umad_read()
1760 rc = uiomove(ibmf_msg->im_msgbufs_recv.im_bufs_mad_hdr, in umad_read()
1839 msgp->im_msgbufs_send.im_bufs_mad_hdr = NULL; in umad_solicited_cb()
2029 ibmf_msg->im_msgbufs_send.im_bufs_mad_hdr = ib_mad_hdr; in umad_write()
2639 ASSERT(msgp->im_msgbufs_send.im_bufs_mad_hdr == NULL); in umad_unsolicited_cb()
2644 mad_hdr = msgp->im_msgbufs_recv.im_bufs_mad_hdr; in umad_unsolicited_cb()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_utils.c1331 (*ibmf_msgpp)->im_msgbufs_send.im_bufs_mad_hdr = kmem_zalloc( in ibcm_alloc_out_msg()
1336 (uchar_t *)((*ibmf_msgpp)->im_msgbufs_send.im_bufs_mad_hdr) + in ibcm_alloc_out_msg()
1361 kmem_free((*ibmf_msgpp)->im_msgbufs_send.im_bufs_mad_hdr, in ibcm_free_out_msg()
H A Dibcm_sm.c578 in_mad_hdr = msgp->im_msgbufs_recv.im_bufs_mad_hdr; in _NOTE()
672 ASSERT(msgp->im_msgbufs_recv.im_bufs_mad_hdr != NULL); in _NOTE()
/titanic_41/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_impl.h1218 #define IBCM_OUT_MADP(msgp) (msgp->im_msgbufs_send.im_bufs_mad_hdr)
1222 #define IBCM_IN_MADP(msgp) (msgp->im_msgbufs_recv.im_bufs_mad_hdr)
/titanic_41/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c3824 msg->im_msgbufs_recv.im_bufs_mad_hdr->AttributeID; in ibdm_handle_redirection()
3826 msg->im_msgbufs_recv.im_bufs_mad_hdr->AttributeModifier; in ibdm_handle_redirection()
4195 msgp->im_msgbufs_send.im_bufs_mad_hdr = in ibdm_alloc_send_buffers()
4199 msgp->im_msgbufs_send.im_bufs_mad_hdr + sizeof (ib_mad_hdr_t); in ibdm_alloc_send_buffers()
4216 if (msgp->im_msgbufs_send.im_bufs_mad_hdr != NULL) in ibdm_free_send_buffers()
4217 kmem_free(msgp->im_msgbufs_send.im_bufs_mad_hdr, IBDM_MAD_SIZE); in ibdm_free_send_buffers()