/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/ |
H A D | pcihp.c | 121 uint32_t event_mask; /* last event mask registered */ 203 * We process ENUM# event one device at a time ie. as soon as we detect 1826 * during a ENUM# event. 1930 * event handlers for all the hot plug slots on this bus.) 2035 /* setup event handler for all hardware events on the slot */ 2040 "pcihp (%s%d): install event handler failed" 2360 * This is the first part of the ENUM# event processing. 2367 /* this is the only event coming through in interrupt context */ 2391 * event and return. 2399 /* +++ HOOK for RCM to report this hotplug event 3616 pcihp_hs_csr_op(pcihp_t *pcihp_p, int pci_dev, int event) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 1352 enum rdma_cm_event_type event; local 1469 event = RDMA_CM_EVENT_CONNECT_REQUEST; 1482 event = RDMA_CM_EVENT_ESTABLISHED; 1490 event = RDMA_CM_EVENT_UNREACHABLE; 1508 /* Pass back the event to sol_cma consumer */ 1509 cma_generate_event(event_idp, event, evt_status, NULL, ud_paramp); 1523 enum rdma_cm_event_type *event, int *evt_status) 1563 *event = RDMA_CM_EVENT_CONNECT_REQUEST; 1746 enum rdma_cm_event_type *event, int *evt_status) 1752 /* Established event o 1521 ibcma_handle_req(struct rdma_cm_id *idp, struct rdma_cm_id **event_id_ptr, ibt_cm_event_t *eventp, struct rdma_conn_param *paramp, enum rdma_cm_event_type *event, int *evt_status) argument 1744 ibcma_handle_est(struct rdma_cm_id *idp, struct rdma_cm_id **event_id_ptr, ibt_cm_event_t *eventp, struct rdma_conn_param *paramp, enum rdma_cm_event_type *event, int *evt_status) argument 1814 ibcma_handle_closed(struct rdma_cm_id *idp, struct rdma_cm_id **event_id_ptr, ibt_cm_event_t *eventp, enum rdma_cm_event_type *event, int *evt_status) argument 1863 ibcma_handle_failed(struct rdma_cm_id *idp, struct rdma_cm_id **event_id_ptr, ibt_cm_event_t *eventp, struct rdma_conn_param *paramp, enum rdma_cm_event_type *event, int *evt_status) argument 2015 enum rdma_cm_event_type event; local 2129 enum rdma_cm_event_type event; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_impl.c | 812 * Called as an asynchronous event to notify CM of an attach of HCA. 913 * Called as an asynchronous event to notify CM of a detach of HCA. 1849 ibt_subnet_event_t event; local 1894 /* don't send the event if we're tearing down */ 1904 event.sm_notice_gid = saa_event_details->ie_gid; 1905 ibtl_cm_sm_notice_handler(portp->port_sgid0, code, &event); 2037 /* The assumption is that we're getting event notifications */ 2376 * shall not invoke ibcm_async_handler with another DR event for the same 2403 IBTF_DPRINTF_L2(cmlog, "ibcm_async_handler: ignoring event %x, "
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_hw_eth.h | 105 uint32_t event:1; member in struct:oce_nic_hdr_wqe::__anon7717::__anon7718 121 uint32_t event:1;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | kbd.c | 32 * ASCII or event format. 118 uchar_t key_station; /* Physical key station associated with event */ 119 Firm_event event; /* Event that sent out on down */ member in struct:key_event 2101 * if a function key event is not used 2143 * if a keypad key event is not used 2242 /* Adjust event id address for multiple keyboard/workstation support */ 2297 ke->event = *fe; 2323 ke->event.value = 0; 2324 kbdqueueevent(kbdd, &ke->event); 2400 * Pass a VUID "firm event" u [all...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 787 mac_flow_wait(flow_entry_t *flent, mac_flow_state_t event) argument 792 switch (event) {
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | schpc.c | 355 cmn_err(CE_WARN, " schpc: resetting event timeout to %ld\n", 361 cmn_err(CE_WARN, " schpc: resetting event timeout to %ld\n", 2283 pcimsg_t *event = (pcimsg_t *)arg; local 2286 * OK, we got an event message. Since the event message only tells 2291 slot = event->pcimsg_slot; 2292 expander = event->pcimsg_node; /* get expander */ 2293 board = event->pcimsg_board; /* get board */ 2307 kmem_free(event, sizeof (pcimsg_t)); 2316 kmem_free(event, sizeo [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ds_common.c | 148 /* event processing functions */ 149 static uint_t ds_ldc_cb(uint64_t event, caddr_t arg); 182 static char *decode_ldc_events(uint64_t event, char *buf); 228 decode_ldc_events(uint64_t event, char *buf) argument 231 if (event & LDC_EVT_DOWN) (void) strcat(buf, " DOWN"); 232 if (event & LDC_EVT_RESET) (void) strcat(buf, " RESET"); 233 if (event & LDC_EVT_UP) (void) strcat(buf, " UP"); 234 if (event & LDC_EVT_READ) (void) strcat(buf, " READ"); 235 if (event & LDC_EVT_WRITE) (void) strcat(buf, " WRITE"); 314 ds_ldc_cb(uint64_t event, caddr_ argument 659 ds_event_t *event = (ds_event_t *)arg; local [all...] |
H A D | ldc.c | 1029 uint64_t event; local 1052 status = i_ldc_rx_process_hvq(ldcp, ¬ify, &event); 1062 if ((event & LDC_EVT_READ) == 0) { 1073 rv = ldcp->cb(event, ldcp->cb_arg); 1121 uint64_t event; local 1123 return (i_ldc_rx_process_hvq(ldcp, ¬ify, &event)); 2204 * be invoked. The *event argument is set to contain the callback event. 3279 uint_t(*cb)(uint64_t event, caddr_t arg), caddr_t arg) 3278 ldc_reg_callback(ldc_handle_t handle, uint_t(*cb)(uint64_t event, caddr_t arg), caddr_t arg) argument
|
H A D | vsw_ldc.c | 1238 vsw_ldc_cb(uint64_t event, caddr_t arg) argument 1256 if (event & LDC_EVT_UP) { 1260 D2(vswp, "%s: id(%ld) event(%llx) UP: status(%ld)", 1261 __func__, ldcp->ldc_id, event, ldcp->ldc_status); 1265 ASSERT((event & (LDC_EVT_RESET | LDC_EVT_DOWN)) == 0); 1268 if (event & LDC_EVT_READ) { 1272 D2(vswp, "%s: id(ld) event(%llx) data READ", 1273 __func__, ldcp->ldc_id, event); 1277 ASSERT((event & (LDC_EVT_RESET | LDC_EVT_DOWN)) == 0); 1282 if (event [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 310 * Global to determine if an event needs to be sent 488 sbd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, char *event) argument 577 * Before any operations happen, reset the event flag 587 *event = send_event;
|
H A D | sysiosbus.c | 2375 * event names that each %pic supports. 2399 * We declare an array of event-names and event-masks. 2425 int event, pic; local 2461 * for each picN event we need to write a kstat record 2464 for (event = 0; event < SBUS_NUM_EVENTS; event ++) { 2467 sbus_pic_named_data[event].value.ui64 = 2468 sbus_events_arr[event] [all...] |
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | core_pcbe.c | 26 * This file contains preset event names from the Performance Application 94 static uint64_t core_pcbe_event_coverage(char *event); 96 static int core_pcbe_configure(uint_t picnum, char *event, uint64_t preset, 130 #define CORE_ANYTHR (1ULL << 21) /* Count event for any thread on core */ 142 #define CORE_FFC_ANYTHR (1ULL << 2) /* Count event for any thread on core */ 213 * Counting an event for all cores or all bus agents requires cpc_cpu privileges 263 /* Alphabetical order of event name */ 417 * check in configure_gpc() to find whether an event hard-coded as a number by 421 /* Alphabetical order of event name */ 433 /* Alphabetical order of event nam 1498 core_pcbe_event_coverage(char *event) argument 1583 configure_gpc(uint_t picnum, char *event, uint64_t preset, uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data) argument 1771 configure_ffc(uint_t picnum, char *event, uint64_t preset, uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data) argument 1829 core_pcbe_configure(uint_t picnum, char *event, uint64_t preset, uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) argument [all...] |
H A D | p4_pcbe.c | 26 * This file contains preset event names from the Performance Application 90 static uint64_t p4_pcbe_event_coverage(char *event); 92 static int p4_pcbe_configure(uint_t picnum, char *event, uint64_t preset, 338 char *pe_name; /* Name of event according to docs */ 339 uint64_t pe_escr_map; /* Bitmap of ESCRs capable of event */ 340 uint32_t pe_escr_mask; /* permissible ESCR event mask */ 341 uint8_t pe_ev; /* ESCR event select value */ 348 char *event; member in struct:_p4_generic_event 457 * Set up the event lists for each counter. 459 * First pass calculates the size of the event lis 580 p4_pcbe_event_coverage(char *event) argument [all...] |
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 58 uint32_t ls_count; /* cumulative event count */ 59 uint32_t ls_event; /* type of event */ 61 uint64_t ls_time; /* cumulative event duration */ 148 { 'C', "Lock", "Unknown event (type 8)", "units" }, 149 { 'C', "Lock", "Unknown event (type 9)", "units" }, 150 { 'C', "Lock", "Unknown event (type 10)", "units" }, 151 { 'C', "Lock", "Unknown event (type 11)", "units" }, 152 { 'C', "Lock", "Unknown event (type 12)", "units" }, 153 { 'C', "Lock", "Unknown event (type 13)", "units" }, 154 { 'C', "Lock", "Unknown event (typ 622 dprog_addevent(int event) argument 1031 uint32_t event; local 1621 uint32_t event = sort_buf[0]->ls_event; local [all...] |
/illumos-gate/usr/src/cmd/lp/include/ |
H A D | msgs.h | 322 short event; /* Event returned from poll */ member in struct:__anon805
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcmod.c | 1007 static int mir_svc_policy_notify(queue_t *q, int event); 1957 * Called to send an event code to nfsd/lockd so that it initiates 1961 mir_svc_policy_notify(queue_t *q, int event) argument 1971 * Create an M_DATA message with the event code and pass it to the 1979 RPCLOG(16, "mir_svc_policy_notify: could not allocate event " 1980 "%d\n", event); 1984 U32_TO_BE32(event, mp->b_rptr); 2178 * timer event and we notify kRPC. If mir_clntreq is 2727 * we were idle, or if an unusual event occurred.
|
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.c | 3955 * event - event (string) to log. 3961 skd_log_skdev(struct skd_device *skdev, const char *event) argument 3963 Dcmn_err(CE_NOTE, "log_skdev(%s) skdev=%p event='%s'", 3964 skdev->name, (void *)skdev, event); 3978 * Name: skd_log_skmsg, logs the skmsg event. 3982 * event - event string to log. 3989 struct skd_fitmsg_context *skmsg, const char *event) 3991 Dcmn_err(CE_NOTE, "log_skmsg:(%s) skmsg=%p event 3988 skd_log_skmsg(struct skd_device *skdev, struct skd_fitmsg_context *skmsg, const char *event) argument 4010 skd_log_skreq(struct skd_device *skdev, struct skd_request_context *skreq, const char *event) argument [all...] |
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 1138 adt_event_data_t *event; local 1162 event = adt_alloc_event(ah, ADT_zone_state); 1163 if (event == NULL) { 1168 event->adt_zone_state.zonename = zone_name; 1169 event->adt_zone_state.new_state = new_state; 1171 if (adt_put_event(event, pass_fail, fail_reason)) 1174 adt_free_event(event); 2075 * In all cases (parent, child, and in the event of an error) we
|
/illumos-gate/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 184 nvlist_t *event; member in struct:uurec 855 uurec_p->event = NULL; 856 (void) nvlist_dup(nvl, &uurec_p->event, 0); 1278 print_dict_info(srp->uurec->event);
|
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 30 * mechanism whereby event producers can define an event 32 * associated command line to be invoked for each matching event. 34 * generating arbitrary command line formats from event-associated 38 * sysevent.conf files contain event specifications and associated 41 * compared against the event specifications in the sysevent.conf 43 * is invoked for each matching event. 87 static int ev_nretries; /* retry count per event */ 88 static uint64_t ev_seq; /* current event sequencing number */ 89 static hrtime_t ev_ts; /* current event timestam 1792 transport_event(sysevent_t *event) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunndi.c | 169 * Post an event notification to nexus driver responsible for handling 170 * the event. The responsible nexus is defined in the cookie passed in as 177 * rdip - device driver posting the event 201 * post the event to the responsible ancestor 287 " by the NDI event framework.\nBUSO_REV_6 or " 856 * In the unlikely event that the dip was somehow attached by 1181 * ndi event handling support functions: 1182 * The NDI event support model is as follows: 1186 * The nexus driver allocates an event handle and binds the event se 2448 i_ddi_rootnex_add_eventcall(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t eventid, void (*handler)(dev_info_t *dip, ddi_eventcookie_t event, void *arg, void *impl_data), void *arg, ddi_callback_id_t *cb_id) argument [all...] |
H A D | log_sysevent.c | 55 * log_sysevent.c - Provides the interfaces for kernel event publication 56 * to the sysevent event daemon (syseventd). 73 /* queue of event buffers sent to syseventd */ 77 * Count of event buffers in the queue 81 /* queue of event buffers awaiting delivery to syseventd */ 87 /* log event delivery flag */ 88 #define LOGEVENT_DELIVERY_OK 0 /* OK to deliver event buffers */ 89 #define LOGEVENT_DELIVERY_CONT 1 /* Continue to deliver event buffers */ 90 #define LOGEVENT_DELIVERY_HOLD 2 /* Hold delivering of event buffers */ 93 * Tunable maximum event buffe 1868 sysevent_t *event; local [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit.c | 1255 * Now generate connection state machine event to existing connection 1293 /* Generate login state machine event */ 1304 /* Generate session state machine event */ 1315 /* Generate session state machine event */ 1385 /* Generate session state machine event */ 2702 iscsit_send_async_event(iscsit_conn_t *ict, uint8_t event) argument 2728 async_abt->async_event = event; 2735 switch (event) {
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 101 * Noise elimination in audit trails - this event will be discarded if: 122 * this event being audited or do we need path information 286 * this event being audited or do we need path information 356 * this event being audited or do we need path information 387 * Note In the event that an error occurs in pn_combine then 467 * This is a public object and a "public" event 499 * the event. 515 au_uwrite(au_to_text("event aborted")); 536 au_event_t event; local 554 /* get basic event fo [all...] |