/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 34 * The nexus also exports events to an event manager 1328 * card insertion event to get CS running and the PC Card ultimately 1420 * It is here that events should get generated for the event manager if it 1444 pcm_adapter_callback(dev_info_t *dip, int adapter, int event, int socket) argument 1451 (void *)dip, adapter, event, socket); 1452 cmn_err(CE_CONT, "[%s]\n", cblist[event]); 1472 switch (event) { 1487 /* event = PCE_CARD_INSERT; */ 1491 /* event = PCE_CARD_REMOVAL; */ 1501 "\tevent %d, event mas 1530 pcm_event_manager(int event, int socket, void *arg) argument [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cs.h | 72 * the CS_EVENT_CLIENT_INFO event in the 123 #define CS_UNSUPPORTED_EVENT 0x84 /* Unsupported event in client */ 131 * Card Services event codes - these do NOT correspond to the PCMCIA 132 * standard event codes for CS since these events are encoded as 133 * bit flags, while the PCMCIA standard event codes are encoded 136 * event codes; these defines should be used. 138 * The numerical value of an event code determines in what order a client 139 * will receive the event if other events are also pending for that 172 * The CS_EVENT_SS_UPDATED event is generated when Socket Services 179 * The CS_EVENT_STATUS_CHANGE event i 643 event_t event; /* events */ member in struct:event2text_t [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/ |
H A D | daplt.c | 328 * async event handlers 341 ibt_subnet_event_t *event); 1010 /* unregister SM event notification */ 1060 /* unregister SM event notification */ 1872 D2("timer_thread: enqueue event(%p) evdp(%p)\n", 2045 * client will be notified with an event containing the appropriate error 2047 * the CONN_ESTABLISHED event. If the timer expires before either of the 2048 * above events (error or established), a TIMED_OUT event will be delivered 2053 * the timer thread gets to deliver an event, but not both. when the 2054 * CM callback is about to deliver an event, i 4479 ibt_async_event_t event; local 6554 daplka_cm_service_req(daplka_sp_resource_t *spp, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *pr_data, ibt_priv_data_len_t pr_len) argument 6709 daplka_cm_service_conn_closed(daplka_sp_resource_t *sp_rp, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 6781 daplka_cm_service_conn_est(daplka_sp_resource_t *sp_rp, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 6866 daplka_cm_service_event_failure(daplka_sp_resource_t *sp_rp, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 6984 daplka_cm_service_handler(void *cm_private, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 7055 daplka_cm_rc_rep_rcv(daplka_ep_resource_t *ep_rp, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 7105 daplka_cm_rc_conn_closed(daplka_ep_resource_t *ep_rp, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 7181 daplka_cm_rc_conn_est(daplka_ep_resource_t *ep_rp, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 7275 daplka_cm_rc_event_failure(daplka_ep_resource_t *ep_rp, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 7413 daplka_cm_rc_handler(void *cm_private, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 7734 daplka_async_event_create(ibt_async_code_t code, ibt_async_event_t *event, uint64_t cookie, daplka_ia_resource_t *ia_rp) argument 7788 daplka_rc_async_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument 7840 daplka_cq_async_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument 7891 daplka_un_async_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument 7938 daplka_handle_hca_detach_event(ibt_async_event_t *event) argument 7969 daplka_async_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument 8024 daplka_sm_notice_handler(void *arg, ib_gid_t gid, ibt_subnet_event_code_t code, ibt_subnet_event_t *event) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 172 * The softintr mechanism allows ibd to avoid event queue overflows if 1312 * for subnet trap and async event handling. Disallow requests before the 1330 * trap or event handling to complete to kill the async thread and deconstruct 2123 * pkey relocation event later on here, we may have to restart. 2150 * If this routine was called in response to a port down event, 2159 * If it's not a port down event we've received, try to get the port 2286 * state change event 2304 ibt_async_code_t code, ibt_async_event_t *event) 2325 if (state->id_port != event->ev_port) 2328 if ((event 2303 ibd_async_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument 4342 ibd_snet_notices_handler(void *arg, ib_gid_t gid, ibt_subnet_event_code_t code, ibt_subnet_event_t *event) argument 8694 ibdpd_async_handler(void *arg, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_ti.c | 1816 ibcm_local_cm_handler(void *priv, ibt_cm_ud_event_t *event, argument 1821 IBTF_DPRINTF_L4(cmlog, "ibcm_local_cm_handler: event %d", 1822 event->cm_type); 1826 switch (event->cm_type) { 1828 /* Update QPN & QKey from event into destination handle. */ 1831 event->cm_event.sidr_rep.srep_remote_qpn; 1833 event->cm_event.sidr_rep.srep_remote_qkey; 1838 handler_priv->actual_cm_private, event, ret_args, priv_data, 2208 * the event, and we ourselves call the actual client's 2296 * to extend its response time to a CM event 3866 ibt_ofuvcm_proceed(ibt_cm_event_type_t event, void *session_id, ibt_cm_status_t status, ibt_cm_proceed_reply_t *cm_event_data, void *priv_data, ibt_priv_data_len_t priv_data_len) argument 3909 ibt_cm_proceed(ibt_cm_event_type_t event, void *session_id, ibt_cm_status_t status, ibt_cm_proceed_reply_t *cm_event_data, void *priv_data, ibt_priv_data_len_t priv_data_len) argument 6812 ibcm_dummy_ud_handler(void *priv, ibt_cm_ud_event_t *event, ibt_cm_ud_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument 6838 ibcm_dummy_rc_handler(void *priv, ibt_cm_event_t *event, ibt_cm_return_args_t *ret_args, void *priv_data, ibt_priv_data_len_t len) argument [all...] |
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 493 static rsmhash_table_t rsm_event_queues; /* list of event queues */ 5053 * a send queue. This event is used as a hint that an earlier failed 7132 /* free the temp 32-bit event list */ 7221 if (evlist32) { /* free the temp 32-bit event list */ 7229 /* event list on the heap and needs to be freed here */ 7248 /* event list on the heap and needs to be freed here */ 7286 /* consume the event */ 9393 rsm_process_exp_seg(rsmresource_t *resp, int event) argument 9395 if (event == RSM_DR_QUIESCE) 9402 rsm_process_imp_seg(rsmresource_t *resp, int event) argument 9411 rsm_dr_process_local_segments(int event) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | ib_verbs.h | 287 enum ib_event_type event; member in struct:ib_event 718 * completion event occurs on the CQ. 720 * asynchronous event not associated with a completion occurs on the CQ. 722 * the associated completion and event handlers. 755 * @cq: The CQ to generate an event for. 758 * to request an event on the next solicited event or next work 767 * were missed and it is safe to wait for another event. In 770 * notification event. 773 * make sure it is empty to avoid missing an event becaus [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 171 static uint_t vdc_handle_cb(uint64_t event, caddr_t arg); 242 * server if vdc receives a LDC reset event during the initiation of the 244 * retry a connexion before it has received the LDC reset event. 3748 * event - Type of event (LDC_EVT_xxx) that triggered the callback 3755 vdc_handle_cb(uint64_t event, caddr_t arg) argument 3764 DMSG(vdc, 1, "evt=%lx seqID=%ld\n", event, vdc->seq_num); 3770 DMSG(vdc, 0, "[%d] Ignoring event 0x%lx for port@%ld\n", 3771 vdc->instance, event, srvr->id); 3777 * Depending on the type of event tha [all...] |
H A D | vnet_gen.c | 136 static uint_t vgen_ldc_cb(uint64_t event, caddr_t arg); 567 /* register with MD event generator */ 586 /* Unregister with MD event generator */ 1709 /* register with MD event generator */ 1779 /* unregister with MD event generator */ 2998 vgen_ldc_cb(uint64_t event, caddr_t arg) argument 3000 _NOTE(ARGUNUSED(event)) 3023 * NOTE: not using switch() as event could be triggered by 3025 * check for the event types is deliberate. 3027 if (event [all...] |
H A D | vds.c | 5293 vd_handle_ldc_events(uint64_t event, caddr_t arg) argument 5303 if (event & LDC_EVT_DOWN) { 5315 if (event & LDC_EVT_RESET) { 5337 if (event & LDC_EVT_UP) { 5350 if (event & LDC_EVT_READ) { 7388 * registering with the MD event-generation framework. If the "reg"
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcib.c | 408 rib_async_handler, /* async event handler */ 1458 * Handles DR event of IBT_HCA_DETACH_EVENT. 1463 ibt_async_code_t code, ibt_async_event_t *event) 1705 rib_clnt_cm_handler(void *clnt_hdl, ibt_cm_event_t *event, argument 1713 switch (event->cm_type) { 1715 /* got a connection close event */ 1722 switch (event->cm_event.closed) { 1735 * Reason for CONN_CLOSED event must be one of 1742 qp = ibt_get_chan_private(event->cm_channel); 2931 rib_srv_cm_handler(void *any, ibt_cm_event_t *event, argument 1462 rib_async_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 466 uint_t event; local 476 ses_ct_print("start contract event thread"); 492 /* poll until an event arrives */ 499 /* read the event */ 501 ses_ct_print("read contract event"); 507 /* see if it is an event we are expecting */ 510 "got contract event ctid=%d", ctid); 512 event = ct_event_get_type(ev); 513 if (event != CT_DEV_EV_OFFLINE && event ! [all...] |
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 4191 * log the MFI AEN event to the sysevent queue so that 4198 "mr_sas%d: Failed to log AEN event", instance_no)); 4678 /* see if got an event notification */ 6415 * Previously issued event registration includes 7744 mrsas_service_evt(struct mrsas_instance *instance, int tgt, int lun, int event, argument 7750 "mrsas_service_evt called for t%dl%d event = %d", 7751 tgt, lun, event)); 7761 mrevt->event = event; 7768 "mr_sas: Event task failed for t%dl%d event [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 92 iu_event_id_t vrt_eid; /* event ID */ 500 rtm_event2str(uchar_t event) argument 502 switch (event) { 1426 vrrp_log(VRRP_DBG0, "vrrpd_rtsock_handler(): recv %s event",
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | getline.c | 274 * event handlers, but only on systems that have the select() system call. 293 GlFdEvent event); 511 GlFdNode *fd_nodes; /* The list of fd event descriptions */ 1178 static int _gl_watch_fd(GetLine *gl, int fd, GlFdEvent event, 2284 * with the event that caused this to happen is recorded in 2447 * with the event that caused this to happen is recorded in 3235 * In normal I/O mode, we call the event handler before attempting 3245 * and only if this fails, call the event handler to wait for a any 8692 * whenever a specified event is seen on a file descriptor. 8698 * event GlFdEven 8712 gl_watch_fd(GetLine *gl, int fd, GlFdEvent event, GlFdEventFn *callback, void *data) argument 8750 _gl_watch_fd(GetLine *gl, int fd, GlFdEvent event, GlFdEventFn *callback, void *data) argument 9078 gl_call_fd_handler(GetLine *gl, GlFdHandler *gfh, int fd, GlFdEvent event) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_io.h | 725 int event; member in struct:__anon4513
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 834 cv_init(&softs->event, NULL, CV_DRIVER, NULL); 915 /* Create event thread */ 952 cv_destroy(&softs->event); 1014 /* Destroy event thread */ 1025 cv_destroy(&softs->event); 1290 cv_broadcast(&softs->event); 2032 * may wait on softs->event, so use cv_broadcast() instead 3452 enum aac_cfg_event event = AAC_CFG_NULL_NOEXIST; local 3471 event = AAC_CFG_DELETE; 3478 event 3539 enum aac_cfg_event event = aac_probe_container(softs, i); local 3568 aac_probe_jbod(struct aac_softstate *softs, int tgt, int event) argument 6459 enum aac_cfg_event event = AAC_CFG_NULL_EXIST; local 7212 enum aac_cfg_event event; local 7494 aac_handle_dr(struct aac_softstate *softs, int tgt, int lun, int event) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | strsubr.c | 931 str_sendsig(vnode_t *vp, int event, uchar_t band, int error) argument 939 if (stp->sd_sigflags & event) 940 strsendsig(stp->sd_siglist, event, band, error); 1025 panic("strsendsig: unknown event(s) %x", sevent); 1047 strsendsig(strsig_t *siglist, int event, uchar_t band, int error) argument 1059 sevent = ssp->ss_events & event; 1064 /* pid was released but still on event list */ 2986 * This function waits for a read or write event to happen on a stream. 6165 * Run the events on the syncq event list (sq_evhead). 6208 * Messages from the event queu [all...] |
H A D | sunpm.c | 355 * either the polling implementation, or the event based dispatcher driven 467 void (*srn_signal)(int type, int event); 2634 psc_entry(ushort_t event, psce_t *psce, dev_info_t *dip, int comp, int new, argument 2683 p->event = event; 8352 * upon detach. In any event, we need an exact hit on the path or we return
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_hw.h | 366 uint32_t event:1; member in struct:cq_db_u::__anon7622 370 uint32_t event:1; 388 uint32_t event:1; member in struct:eq_db_u::__anon7623 394 uint32_t event:1; 902 /* event queue context structure */
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_impl.h | 169 * Defines for the CM event types/MAD attribute IDs 198 * CM message attribute IDs begin at this "base ID". The first 11 event types 200 * adding the "base_id" to the respective event type value. By subtracting 767 * async event is supposed to occur, at which point we mark all of 1033 ibt_cm_event_type_t event; member in struct:ibcm_proceed_targs_s 1890 uint64_t ibcm_generate_tranid(uint8_t event, uint32_t id,
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | rmc_comm_hproto.h | 898 * event data structures 953 dp_event_t event; member in struct:dp_event_notification 954 rsci32 event_seqno; /* event sequence number */ 955 rsci32 timestamp; /* timestamp of the event */ 956 dp_event_info_t event_info; /* event information */ 962 rsci32 event_seqno; /* event sequence number */ 1003 rsci64 start_seq; /* sequence number of first log event */ 1009 rsci64 next_seq; /* sequence number of next log event */
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spd.c | 5016 ipsec_prov_update_callback(uint32_t event, void *event_arg) argument 5023 ipsec_prov_update_callback_stack(event, event_arg, ns); 5030 ipsec_prov_update_callback_stack(uint32_t event, void *event_arg, argument 5043 if (event != CRYPTO_EVENT_MECHS_CHANGED) { 5044 ip1dbg(("ipsec_prov_update_callback: unexpected event 0x%x " 5045 " received from crypto framework\n", event));
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 336 #define CFLAG_CMDACK 0x8000000 /* cmd for event ack */ 488 * Structure to hold command and packets for event ack 495 * event member record the failure event and eventcntx 496 * event member would be used in send ack pending process 510 * A pool of MAX_IOC_COMMANDS is maintained for event ack commands. 511 * A new event ack command requests mptsas_cmd and scsi_pkt structures 534 uint_t event; member in struct:mptsas_topo_change_list 547 _NOTE(DATA_READABLE_WITHOUT_LOCK(mptsas_topo_change_list_t::event)) 564 * mpt hotplug event define [all...] |
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 733 * On the first HBA instance attach the sata event thread is initialized. 984 * When the last HBA instance is detached, the event daemon is terminated. 1086 * Disable sata event daemon processing for this HBA 1091 * Remove event daemon thread, if it is last HBA instance. 1389 /* Block event processing for this port */ 1540 /* Is the port locked by event processing daemon ? */ 1549 /* Block event processing for this port */ 2786 * the return. HBA should report reset event for the device. 3412 inq->inq_aenc = 0; /* Async event notification cap. */ 3599 * asynchronous event processin 17623 sata_hba_event_notify(dev_info_t *dip, sata_device_t *sata_device, int event) argument [all...] |