/titanic_44/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_rmpp.c | 111 rmpp_hdr = (ibmf_rmpp_hdr_t *)(mad + sizeof (ib_mad_hdr_t)); in ibmf_i_rmpp_sender_active_flow() 384 rmpp_hdr = (ibmf_rmpp_hdr_t *)(mad + sizeof (ib_mad_hdr_t)); in ibmf_i_rmpp_sender_switch_flow() 456 ib_mad_hdr_t *mad_hdr; in ibmf_i_rmpp_recvr_flow_main() 471 rmpp_hdr = (ibmf_rmpp_hdr_t *)(mad + sizeof (ib_mad_hdr_t)); in ibmf_i_rmpp_recvr_flow_main() 536 mad_hdr = (ib_mad_hdr_t *)mad; in ibmf_i_rmpp_recvr_flow_main() 613 sizeof (ib_mad_hdr_t) - cl_hdr_off - cl_hdr_sz; in ibmf_i_rmpp_recvr_flow_main() 616 sizeof (ib_mad_hdr_t) - cl_hdr_off; in ibmf_i_rmpp_recvr_flow_main() 668 (ib_mad_hdr_t *)kmem_zalloc(sizeof (ib_mad_hdr_t) + in ibmf_i_rmpp_recvr_flow_main() 696 sizeof (ib_mad_hdr_t) + cl_hdr_off + cl_hdr_sz); in ibmf_i_rmpp_recvr_flow_main() 698 offset = sizeof (ib_mad_hdr_t) + cl_hdr_off; in ibmf_i_rmpp_recvr_flow_main() [all …]
|
H A D | ibmf_msg.c | 610 ib_mad_hdr_t *mad_hdr; in ibmf_setup_recvbuf_on_error() 620 (ib_mad_hdr_t *)kmem_zalloc(IBMF_MAD_SIZE, KM_NOSLEEP); in ibmf_setup_recvbuf_on_error() 636 mad_hdr = (ib_mad_hdr_t *)mad; in ibmf_setup_recvbuf_on_error() 646 sizeof (ib_mad_hdr_t) + cl_hdr_off + cl_hdr_sz); in ibmf_setup_recvbuf_on_error() 649 offset = sizeof (ib_mad_hdr_t) + cl_hdr_off; in ibmf_setup_recvbuf_on_error() 668 sizeof (ib_mad_hdr_t) - cl_hdr_off - cl_hdr_sz; in ibmf_setup_recvbuf_on_error()
|
H A D | ibmf_recv.c | 69 static int ibmf_i_get_class(ib_mad_hdr_t *madhdrp, 101 ib_mad_hdr_t *madhdrp; in ibmf_i_handle_recv_completion() 260 madhdrp = (ib_mad_hdr_t *)((uintptr_t)recv_wqep->recv_mem + in ibmf_i_handle_recv_completion() 438 ib_mad_hdr_t *mad_hdr; in ibmf_i_do_recv_cb() 486 mad_hdr = (ib_mad_hdr_t *)((uintptr_t)recv_wqep->recv_mem + in ibmf_i_do_recv_cb() 491 sizeof (ib_grh_t) + sizeof (ib_mad_hdr_t)); in ibmf_i_do_recv_cb() 1086 ib_mad_hdr_t *mad_hdr; in ibmf_i_handle_non_rmpp() 1100 mad_hdr = (ib_mad_hdr_t *)mad; in ibmf_i_handle_non_rmpp() 1109 (ib_mad_hdr_t *)kmem_zalloc(IBMF_MAD_SIZE, KM_NOSLEEP); in ibmf_i_handle_non_rmpp() 1135 offset = sizeof (ib_mad_hdr_t) + clhdroff; in ibmf_i_handle_non_rmpp() [all …]
|
H A D | ibmf_dr.c | 417 (ib_mad_hdr_t *)kmem_zalloc(IBMF_MAD_SIZE, KM_NOSLEEP); in ibmf_i_dr_loopback_filter() 439 sizeof (ib_mad_hdr_t)); in ibmf_i_dr_loopback_filter() 448 sizeof (ib_mad_hdr_t); in ibmf_i_dr_loopback_filter() 458 sizeof (ib_mad_hdr_t) + in ibmf_i_dr_loopback_filter()
|
H A D | ibmf_saa_events.c | 1059 ib_mad_hdr_t *req_mad_hdr, *resp_mad_hdr; in ibmf_saa_report_cb() 1193 resp_mad_hdr = kmem_zalloc(sizeof (ib_mad_hdr_t), KM_SLEEP); in ibmf_saa_report_cb() 1195 bcopy(req_mad_hdr, resp_mad_hdr, sizeof (ib_mad_hdr_t)); in ibmf_saa_report_cb()
|
H A D | ibmf_saa_impl.c | 1677 ib_mad_hdr_t *mad_hdr; in ibmf_saa_impl_init_msg() 1723 mad_hdr = kmem_zalloc(sizeof (ib_mad_hdr_t), km_sleep_flag); in ibmf_saa_impl_init_msg() 1743 bzero(mad_hdr, sizeof (ib_mad_hdr_t)); in ibmf_saa_impl_init_msg() 1785 kmem_free(mad_hdr, sizeof (ib_mad_hdr_t)); in ibmf_saa_impl_init_msg() 1867 kmem_free(mad_hdr, sizeof (ib_mad_hdr_t)); in ibmf_saa_impl_init_msg() 1889 + sizeof (ib_mad_hdr_t)) > IBMF_MAD_SIZE)) { in ibmf_saa_impl_init_msg() 1896 kmem_free(mad_hdr, sizeof (ib_mad_hdr_t)); in ibmf_saa_impl_init_msg() 3656 sizeof (ib_mad_hdr_t)); in ibmf_saa_impl_free_msg()
|
H A D | ibmf_wqe.c | 851 ib_mad_hdr_t *ibmadhdrp; in ibmf_i_init_send_wqe() 918 (void *)wqep->send_mem, sizeof (ib_mad_hdr_t)); in ibmf_i_init_send_wqe() 924 ibmadhdrp = (ib_mad_hdr_t *)wqep->send_mem; in ibmf_i_init_send_wqe() 929 offset = sizeof (ib_mad_hdr_t); in ibmf_i_init_send_wqe()
|
H A D | ibmf_impl.c | 1997 kmem_free(msgbufp->im_bufs_mad_hdr, sizeof (ib_mad_hdr_t) + in ibmf_i_free_msg() 2024 ib_mad_hdr_t *madhdrp; in ibmf_i_msg_transport() 2058 if ((sizeof (ib_mad_hdr_t) + cl_hdr_off + in ibmf_i_msg_transport() 2144 kmem_free(msgbufp->im_bufs_mad_hdr, sizeof (ib_mad_hdr_t) + in ibmf_i_msg_transport() 3478 (ib_mad_hdr_t *)kmem_zalloc(IBMF_MAD_SIZE, KM_NOSLEEP); in ibmf_setup_term_ctx() 3494 sizeof (ib_mad_hdr_t)); in ibmf_setup_term_ctx() 3496 offset = sizeof (ib_mad_hdr_t); in ibmf_setup_term_ctx()
|
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibmf/ |
H A D | ibmf_msg.h | 115 ib_mad_hdr_t *im_bufs_mad_hdr; /* mad hdr (24 bytes) */
|
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibdm/ |
H A D | ibdm_impl.h | 58 _NOTE(SCHEME_PROTECTS_DATA("unique per call", ib_mad_hdr_t)) 380 void ibdm_dump_mad_hdr(ib_mad_hdr_t *);
|
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_agents.c | 324 ib_mad_hdr_t *madhdrp; 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_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_agents.c | 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_44/usr/src/uts/common/io/ib/mgt/ibdma/ |
H A D | ibdma.c | 583 msgp->im_msgbufs_send.im_bufs_mad_hdr + sizeof (ib_mad_hdr_t); in ibdma_create_resp_mad() 589 IBDMA_MAD_SIZE - sizeof (ib_mad_hdr_t) - IBDMA_DM_MAD_HDR_SIZE; in ibdma_create_resp_mad() 635 ib_mad_hdr_t *in_mad; in ibdma_mad_recv_cb() 636 ib_mad_hdr_t *out_mad; in ibdma_mad_recv_cb()
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_sm.c | 518 ib_mad_hdr_t *in_mad_hdr; /* Incoming MAD's header */ in _NOTE() 1089 ((ib_mad_hdr_t *)(input_madp))->TransactionID; in ibcm_process_req_msg() 1283 ((ib_mad_hdr_t *)(input_madp))->TransactionID) && in ibcm_process_req_msg() 1481 ((ib_mad_hdr_t *)(input_madp))->TransactionID) { in ibcm_process_rep_msg() 1487 b2h64(((ib_mad_hdr_t *)(input_madp))->TransactionID)); in ibcm_process_rep_msg() 1910 ((ib_mad_hdr_t *)(input_madp))->TransactionID) { in ibcm_process_mra_msg() 1918 b2h64(((ib_mad_hdr_t *)(input_madp))->TransactionID), in ibcm_process_mra_msg() 2092 ((ib_mad_hdr_t *)(input_madp))->TransactionID) { in ibcm_process_rtu_msg() 2100 b2h64(((ib_mad_hdr_t *)(input_madp))->TransactionID), in ibcm_process_rtu_msg() 2500 ((ib_mad_hdr_t *)(input_madp))->TransactionID; in ibcm_process_dreq_msg() [all …]
|
H A D | ibcm_utils.c | 1320 ib_mad_hdr_t *output_mad_hdr; in ibcm_alloc_out_msg()
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibdm/ |
H A D | ibdm.c | 69 static int ibdm_verify_mad_status(ib_mad_hdr_t *); 153 static void ibdm_fill_srv_attr_mod(ib_mad_hdr_t *, ibdm_timeout_cb_args_t *); 2170 ib_mad_hdr_t *hdr; in ibdm_set_classportinfo() 2259 ib_mad_hdr_t *hdr; in ibdm_send_classportinfo() 2387 ib_mad_hdr_t *hdr; in ibdm_handle_classportinfo() 2520 ib_mad_hdr_t *hdr; in ibdm_send_iounitinfo() 2594 ib_mad_hdr_t *hdr; in ibdm_handle_iounitinfo() 2837 ib_mad_hdr_t *hdr; in ibdm_handle_ioc_profile() 3168 ib_mad_hdr_t *hdr; in ibdm_get_diagcode() 3477 ib_mad_hdr_t *hdr; in ibdm_process_incoming_mad() [all …]
|
/titanic_44/usr/src/uts/common/sys/ib/mgt/ |
H A D | ib_mad.h | 52 } ib_mad_hdr_t; typedef
|
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_impl.h | 107 ib_mad_hdr_t)) 272 #define IBCM_MAD_HDR_SIZE sizeof (ib_mad_hdr_t) /* size of MAD HDR */ 1219 #define IBCM_OUT_HDRP(msgp) ((ib_mad_hdr_t *)IBCM_OUT_MADP(msgp)) 1223 #define IBCM_IN_HDRP(msgp) ((ib_mad_hdr_t *)IBCM_IN_MADP(msgp))
|
/titanic_44/usr/src/uts/common/io/ib/clients/of/sol_umad/ |
H A D | sol_umad.c | 1694 ib_mad_hdr_t *ib_mad_hdr; in umad_read() 1754 ib_mad_hdr = (ib_mad_hdr_t *) in umad_read() 1899 ib_mad_hdr_t *ib_mad_hdr; /* outbound MAD hdrs */ in umad_write() 1962 ib_mad_hdr = (ib_mad_hdr_t *)user_mad->data; in umad_write() 2632 ib_mad_hdr_t *mad_hdr; in umad_unsolicited_cb()
|