Home
last modified time | relevance | path

Searched refs:srpt_ctxt (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_mod.c87 srpt_ctxt_t *srpt_ctxt; variable
173 srpt_ctxt = kmem_zalloc(sizeof (srpt_ctxt_t), KM_SLEEP); in _init()
174 ASSERT(srpt_ctxt != NULL); in _init()
175 rw_init(&srpt_ctxt->sc_rwlock, NULL, RW_DRIVER, NULL); in _init()
178 srpt_ctxt->sc_svc_state = SRPT_SVC_DISABLED; in _init()
179 list_create(&srpt_ctxt->sc_ioc_list, sizeof (srpt_ioc_t), in _init()
182 list_create(&srpt_ctxt->sc_ioc_list, sizeof (srpt_ioc_t), in _init()
188 rw_destroy(&srpt_ctxt->sc_rwlock); in _init()
189 kmem_free(srpt_ctxt, sizeof (srpt_ctxt_t)); in _init()
190 srpt_ctxt = NULL; in _init()
[all …]
H A Dsrpt_ioc.c150 ASSERT(srpt_ctxt != NULL); in srpt_ioc_attach()
156 status = ibt_attach(&srpt_ibt_modinfo, srpt_ctxt->sc_dip, in srpt_ioc_attach()
157 srpt_ctxt, &srpt_ctxt->sc_ibt_hdl); in srpt_ioc_attach()
182 srpt_ctxt->sc_num_iocs); in srpt_ioc_attach()
245 list_insert_tail(&srpt_ctxt->sc_ioc_list, ioc); in srpt_ioc_attach_hca()
249 srpt_ctxt->sc_num_iocs++; in srpt_ioc_attach_hca()
271 if (srpt_ctxt->sc_cfg_hca_nv != NULL) { in srpt_check_hca_cfg_enabled()
272 status = nvlist_lookup_nvlist(srpt_ctxt->sc_cfg_hca_nv, in srpt_check_hca_cfg_enabled()
300 nvlist_t *cfg = srpt_ctxt->sc_cfg_hca_nv; in srpt_ioc_update()
350 while ((ioc = list_head(&srpt_ctxt->sc_ioc_list)) != NULL) { in srpt_ioc_detach()
[all …]
H A Dsrpt_stp.c58 extern srpt_ctxt_t *srpt_ctxt;
117 status = ibt_register_service(srpt_ctxt->sc_ibt_hdl, in srpt_stp_start_srp()
162 srpt_ctxt->sc_ibdma_ops.ibdma_register(ioc->ioc_guid, in srpt_stp_start_srp()
173 srpt_ctxt->sc_ibdma_ops.ibdma_update(ioc->ioc_ibdma_hdl, in srpt_stp_start_srp()
191 (void) ibt_deregister_service(srpt_ctxt->sc_ibt_hdl, in srpt_stp_start_srp()
237 srpt_ctxt->sc_ibdma_ops.ibdma_unregister( in srpt_stp_stop_srp()
241 dma_status = srpt_ctxt->sc_ibdma_ops.ibdma_update( in srpt_stp_stop_srp()
263 status = ibt_deregister_service(srpt_ctxt->sc_ibt_hdl, in srpt_stp_stop_srp()
357 lport->lport_pp = srpt_ctxt->sc_pp; in srpt_stp_alloc_port()
H A Dsrpt_cm.c55 extern srpt_ctxt_t *srpt_ctxt;
H A Dsrpt_impl.h466 extern srpt_ctxt_t *srpt_ctxt;
H A Dsrpt_ch.c55 extern srpt_ctxt_t *srpt_ctxt;