Home
last modified time | relevance | path

Searched refs:eventp (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dddi_hp_ndi.c190 ddi_hp_cn_async_event_entry_t *eventp; in ndi_hp_state_change_req() local
236 eventp = kmem_zalloc(sizeof (ddi_hp_cn_async_event_entry_t), in ndi_hp_state_change_req()
238 if (eventp == NULL) in ndi_hp_state_change_req()
241 eventp->cn_name = ddi_strdup(cn_name, KM_NOSLEEP); in ndi_hp_state_change_req()
242 if (eventp->cn_name == NULL) { in ndi_hp_state_change_req()
243 kmem_free(eventp, sizeof (ddi_hp_cn_async_event_entry_t)); in ndi_hp_state_change_req()
246 eventp->dip = dip; in ndi_hp_state_change_req()
247 eventp->target_state = state; in ndi_hp_state_change_req()
255 if (!taskq_dispatch(system_taskq, ddihp_cn_run_event, eventp, in ndi_hp_state_change_req()
340 ddi_hp_cn_async_event_entry_t *eventp = in ddihp_cn_run_event() local
[all …]
/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_events.c71 nwam_event_alloc(nwam_event_t *eventp) in nwam_event_alloc() argument
73 assert(eventp != NULL); in nwam_event_alloc()
75 *eventp = calloc(1, NWAM_EVENT_MAX_SIZE); in nwam_event_alloc()
76 if (*eventp == NULL) in nwam_event_alloc()
92 nwam_event_wait(nwam_event_t *eventp) in nwam_event_wait() argument
97 assert(eventp != NULL); in nwam_event_wait()
122 if ((*eventp = realloc(event, event->nwe_size)) == NULL) in nwam_event_wait()
/titanic_41/usr/src/uts/common/io/hotplug/hpcsvc/
H A Dhpcsvc.c716 hpc_event_entry_t *eventp; in hpc_slot_event_notify() local
746 eventp = busp->bus_slot_event_list_head = in hpc_slot_event_notify()
749 for (eventp = busp->bus_slot_event_list_head; in hpc_slot_event_notify()
750 eventp->next != NULL; eventp = eventp->next) in hpc_slot_event_notify()
752 eventp->next = hpc_alloc_event_entry(); in hpc_slot_event_notify()
753 eventp = eventp->next; in hpc_slot_event_notify()
755 eventp->slotp = slotp; in hpc_slot_event_notify()
756 eventp->event = event; in hpc_slot_event_notify()
757 eventp->next = NULL; in hpc_slot_event_notify()
841 hpc_event_entry_t *eventp; in hpc_slot_event_dispatcher() local
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c1344 ibcma_ud_hdlr(void *inp, ibt_cm_ud_event_t *eventp, in ibcma_ud_hdlr() argument
1366 inp, eventp); in ibcma_ud_hdlr()
1369 cm_privlen = eventp->cm_priv_data_len; in ibcma_ud_hdlr()
1370 cm_priv = eventp->cm_priv_data; in ibcma_ud_hdlr()
1371 if (eventp->cm_type == IBT_CM_UD_EVENT_SIDR_REQ) { in ibcma_ud_hdlr()
1392 sidr_req = &((eventp->cm_event).sidr_req); in ibcma_ud_hdlr()
1425 event_chanp->chan_session_id = eventp->cm_session_id; in ibcma_ud_hdlr()
1471 } else if (eventp->cm_type == IBT_CM_UD_EVENT_SIDR_REP) { in ibcma_ud_hdlr()
1479 sidr_rep = &((eventp->cm_event).sidr_rep); in ibcma_ud_hdlr()
1514 if (eventp->cm_type == IBT_CM_UD_EVENT_SIDR_REQ) in ibcma_ud_hdlr()
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/iser/
H A Diser_cm.c59 iser_ib_cm_handler(void *cm_private, ibt_cm_event_t *eventp, in iser_ib_cm_handler() argument
65 switch (eventp->cm_type) { in iser_ib_cm_handler()
69 ret = iser_ib_handle_cm_req((idm_svc_t *)cm_private, eventp, in iser_ib_cm_handler()
76 eventp, ret_args, ret_priv_data, ret_len_max); in iser_ib_cm_handler()
81 ret = iser_handle_cm_conn_est(eventp); in iser_ib_cm_handler()
87 ret = iser_handle_cm_conn_closed(eventp); in iser_ib_cm_handler()
92 ret = iser_handle_cm_event_failure(eventp); in iser_ib_cm_handler()
112 eventp->cm_type); in iser_ib_cm_handler()
/titanic_41/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_evd_resize.c78 DAT_EVENT *eventp; in dapl_evd_resize() local
142 for (i = 0, eventp = event_ptr; i < evd_qlen; i++) { in dapl_evd_resize()
143 (void) dapls_rbuf_add(&free_event_queue, (void *)eventp); in dapl_evd_resize()
144 eventp++; in dapl_evd_resize()
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Ditree.h147 struct bubble *itree_next_bubble(struct event *eventp, struct bubble *last);
151 void itree_pevent_brief(int flags, struct event *eventp);
H A Ditree.c103 static struct bubble *itree_add_bubble(struct event *eventp,
1778 itree_add_bubble(struct event *eventp, enum bubbletype btype, int nork, int gen) in itree_add_bubble() argument
1785 for (curr = eventp->bubbles; in itree_add_bubble()
1807 newb->myevent = eventp; in itree_add_bubble()
1814 eventp->bubbles = newb; in itree_add_bubble()
1822 itree_next_bubble(struct event *eventp, struct bubble *last) in itree_next_bubble() argument
1830 next = eventp->bubbles; in itree_next_bubble()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_dump.c458 nd_poll(TIUSER *tiptr, int retry, int *eventp) in nd_poll() argument
466 *eventp = 0; in nd_poll()
468 while (!*eventp && ((ddi_get_lbolt() - start_bolt) < timout)) { in nd_poll()
476 if (error = t_kspoll(tiptr, 0, READWAIT, eventp)) { in nd_poll()
484 if (retry == RETRIES && !*eventp) { in nd_poll()
/titanic_41/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_cm.c702 rds_cm_handler(void *cm_private, ibt_cm_event_t *eventp, in rds_cm_handler() argument
708 RDS_DPRINTF2("rds_cm_handler", "Enter: event: %d", eventp->cm_type); in rds_cm_handler()
710 switch (eventp->cm_type) { in rds_cm_handler()
712 ret = rds_handle_cm_req((rds_state_t *)cm_private, eventp, in rds_cm_handler()
716 ret = rds_handle_cm_rep(eventp, ret_args, ret_priv_data, in rds_cm_handler()
723 ret = rds_handle_cm_conn_est(eventp); in rds_cm_handler()
726 ret = rds_handle_cm_conn_closed(eventp); in rds_cm_handler()
729 ret = rds_handle_cm_event_failure(eventp); in rds_cm_handler()
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ucma/
H A Dsol_ucma.c1621 sol_ucma_evt_hdlr(struct rdma_cm_id *idp, struct rdma_cm_event *eventp) argument
1629 "event %x, status %x", idp, eventp, eventp->event,
1630 eventp->status);
1664 if (eventp->event == RDMA_CM_EVENT_CONNECT_REQUEST) {
1696 } else if (eventp->event == RDMA_CM_EVENT_DISCONNECTED ||
1697 eventp->event == RDMA_CM_EVENT_REJECTED) {
1710 eventp->event == RDMA_CM_EVENT_DISCONNECTED) {
1719 } else if (eventp->event == RDMA_CM_EVENT_ESTABLISHED &&
1721 eventp->event = RDMA_CM_EVENT_CONNECT_RESPONSE;
1723 ucma_evt->event_resp.event = eventp->event;
[all …]
/titanic_41/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_cm.h41 ibt_cm_status_t srpt_cm_hdlr(void *cm_private, ibt_cm_event_t *eventp,
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_impl.c2299 ibcm_comm_est_handler(ibt_async_event_t *eventp) in ibcm_comm_est_handler() argument
2306 if (eventp->ev_chan_hdl == NULL) { in ibcm_comm_est_handler()
2313 IBCM_GET_CHAN_PRIVATE(eventp->ev_chan_hdl, statep); in ibcm_comm_est_handler()
2321 IBCM_RELEASE_CHAN_PRIVATE(eventp->ev_chan_hdl); in ibcm_comm_est_handler()
2382 ibt_async_code_t code, ibt_async_event_t *eventp) in ibcm_async_handler() argument
2389 clnt_hdl, code, eventp); in ibcm_async_handler()
2412 if ((eventp->ev_port_flags & IBT_PORT_CHANGE_SM_LID) == 0) in ibcm_async_handler()
2420 pup->pup_hca_guid = eventp->ev_hca_guid; in ibcm_async_handler()
2421 pup->pup_port = eventp->ev_port; in ibcm_async_handler()
2431 ibcm_hca_attach(eventp->ev_hca_guid); in ibcm_async_handler()
[all …]
/titanic_41/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_handlers.c625 ibt_async_event_t *eventp; in ibtl_do_hca_asyncs() local
710 eventp = &hca_devp->hd_async_event; in ibtl_do_hca_asyncs()
711 eventp->ev_hca_guid = in ibtl_do_hca_asyncs()
741 eventp->ev_port_flags & IBT_PORT_CHANGE_SM_LID) in ibtl_do_hca_asyncs()
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dtransport.h177 ddi_eventcookie_t *eventp);
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c239 ddi_eventcookie_t *eventp);
2896 ddi_eventcookie_t *eventp) in scsi_hba_get_eventcookie() argument
2903 child, name, eventp) == DDI_SUCCESS)) { in scsi_hba_get_eventcookie()
2907 return (ndi_busop_get_eventcookie(self, child, name, eventp)); in scsi_hba_get_eventcookie()