/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | piclplatmod.c | 295 "Posting configure event for Chassis node")); 348 * event handler for watchdog state change event 364 /* if the event is not of watchdog-timer, return */ 387 /* post dr ap state change event */ 405 env_state_event_t event; local 418 syslog(LOG_ERR, gettext("SUNW_envmond: unknown event:%s\n"), 468 event = LOC_STATE_DISCONNECTED; 470 event = LOC_STATE_CONNECTED; 472 event [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | sys-suspend.c | 131 * Write audit event. Could be useful in the PM library, so it is 137 adt_event_data_t *event; local 140 if ((event = adt_alloc_event(ah, event_id)) == NULL) { 144 (void) adt_put_event(event, 148 adt_free_event(event); 272 adt_event_data_t *event = NULL; /* event to be generated */ local 332 /* set up audit session and event */ 334 if ((event = adt_alloc_event(ah, event_id)) != NULL) { 335 event [all...] |
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | display.c | 571 event_info_t *event = g_event_info; local 580 * calculate the actual total event number 582 for (i = 0; i < g_top_events; i++, event++) 583 event_sum += event->total_count; 589 * event report. Re-assign g_total_events to the actual event 609 event_info_t *event = g_event_info; local 618 * Sort the event report list 634 for (i = 0; i < g_top_events; i++, event++) { 636 if (g_total_events > 0 && event [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | tlx.c | 448 int event; local 451 switch (event = t_look(fd)) { 455 debug_msg("process_tlook: T_LISTEN event"); 482 debug_msg("process_tlook: T_DISCONNECT event"); 518 error_msg(gettext("do_tlook: unexpected t_look event: %d"), 519 event);
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | strtoset.c | 107 event_walker(void *arg, uint_t picno, const char *event) argument 109 if (strncmp(arg, event, CPC_MAX_EVENT_LEN) == 0) 114 event_valid(int picnum, char *event) argument 121 cpc_walk_events_pic(cpc, picnum, event, event_walker); 126 cpc_walk_generic_events_pic(cpc, picnum, event, event_walker); 132 * Before assuming this is an invalid event, see if we have been given 133 * a raw event code. 139 (void) strtol(event, &end_event, 0); 153 * An unknown token was encountered; check here if it is an implicit event 154 * name. We allow users to omit the "picn=" portion of the event spe 162 find_event(char *event) argument [all...] |
/illumos-gate/usr/src/cmd/ctrun/ |
H A D | ctrun.c | 237 * Reads and acknowledges an event. Returns the event type. 260 * If requested, display the event. 263 v_printf(gettext("event from contract %ld: "), 273 * We're done if this event is one of ours. 297 * leave the significant fatal event sitting in the queue so 660 uint_t event, errevent = 0; local 666 event = get_event(efd, ctfd, ctid); 667 if (event & eff_fatal) { 669 errevent = event; [all...] |
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/ |
H A D | cvcd.c | 137 int event; local 392 if ((event = poll(&cvcd_pfd[2], 1, -1)) == -1) { 429 switch ((event = t_look(cvcd_ssp))) { 473 "Illegal event %d for cvcd_ssp", event); 479 if ((event = poll(cvcd_pfd, 3, -1)) == -1) { 521 if (event != 0) {
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-shared.c | 707 adt_event_data_t *event; local 713 if ((event = adt_alloc_event(ah, event_id)) == NULL) { 720 event->adt_attach.auth_used = (char *)auth_used; 721 event->adt_attach.mount_point = (char *)mount_point; 722 event->adt_attach.device = (char *)device; 723 event->adt_attach.options = (char *)options; 726 event->adt_detach.auth_used = (char *)auth_used; 727 event->adt_detach.mount_point = (char *)mount_point; 728 event->adt_detach.device = (char *)device; 729 event [all...] |
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/ |
H A D | syseventconfd.c | 35 * and compares those events against event specs in the 36 * sysevent.conf files. For each matching event spec, the 237 * here. Queue each event for the main thread to invoke, and 243 event_handler(sysevent_t *event) argument 249 if (sysevent_get_attr_list(event, &nvlist) != 0) { 275 * the delivered event.
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | kssl.c | 429 kssl_event_callback(uint32_t event, void *event_arg) argument 446 if (event != CRYPTO_EVENT_MECHS_CHANGED) { 643 kssl_prov_evnt(uint32_t event, void *event_arg) argument 651 if (event != CRYPTO_EVENT_PROVIDER_UNREGISTERED && 652 event != CRYPTO_EVENT_PROVIDER_REGISTERED) 656 if (event == CRYPTO_EVENT_PROVIDER_REGISTERED) { 670 switch (event) {
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_evd_util.c | 120 * If we are dealing with event streams besides a CQ event stream, 285 /* allocate free event queue */ 291 /* allocate pending event queue */ 297 /* add events to free event queue */ 474 * Get an event struct from the evd. The caller should fill in the event 477 * If there are no events available, an overflow event is generated to the 487 * event 495 DAT_EVENT *event; local 843 DAT_EVENT *event; local 1223 DAT_EVENT *event; local 1594 dapls_evd_cq_poll_to_event( IN DAPL_EVD *evd_ptr, OUT DAT_EVENT *event) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_agents.c | 227 * for the Port Change event. 315 ibc_async_event_t event; local 387 * received in the MAD for PortChange event. 431 event.ev_port_flags = 0; 433 event.ev_port = (uint8_t)port; 440 * the MADs portinfo this is a REREG event 444 * signal PORT_CHANGE event with the proper 457 event.ev_port_flags = hermon_port_change_flags( 459 if (event.ev_port_flags & 464 event [all...] |
H A D | hermon_event.c | 31 * handling all of the various event types that the Hermon hardware can 35 * events from each of the many event queues used by the Hermon device. 91 uint32_t event_mask; /* used for multiple event types */ 113 * and reserved a few of the other 32 for each specific class of event 168 * possible event class unmapping. 238 * This event is affiliated with an Fexch QP. 240 * NOTE: When an event fires on this EQ, it will demux the type and 270 * event types. Since we are not doing any page fault handling (and 333 * hardcoded value that was used above (during the event queue 341 * For each of the event queue 618 ibc_async_event_t event; local 1129 ibc_async_event_t event; local 1197 ibc_async_event_t event; local 1247 ibc_async_event_t event; local 1297 ibc_async_event_t event; local 1347 ibc_async_event_t event; local 1397 ibc_async_event_t event; local 1463 ibc_async_event_t event; local 1513 ibc_async_event_t event; local 1563 ibc_async_event_t event; local 1623 ibc_async_event_t event; local 1668 ibc_async_event_t event; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_ibt.c | 479 ibt_async_code_t code, ibt_async_event_t *event) 491 eib_ibt_wakeup_sqd_waiters(ss, event->ev_chan_hdl); 495 if (event->ev_port == ss->ei_props->ep_port_num) { 503 if (event->ev_port == ss->ei_props->ep_port_num) { 511 if (event->ev_port == ss->ei_props->ep_port_num) { 519 if ((event->ev_port == ss->ei_props->ep_port_num) && 520 (event->ev_port_flags & IBT_PORT_CHANGE_PKEY)) { 525 } else if ((event->ev_port == ss->ei_props->ep_port_num) && 526 (event->ev_port_flags & IBT_PORT_CHANGE_SGID)) { 578 "no memory, could not handle event 478 eib_ibt_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/uts/common/io/ib/mgt/ibdma/ |
H A D | ibdma.c | 56 ibt_async_code_t code, ibt_async_event_t *event); 234 ibt_async_code_t code, ibt_async_event_t *event) 248 hca = ibdma_hca_init(event->ev_hca_guid); 260 hca = ibdma_find_hca(event->ev_hca_guid); 273 cmn_err(CE_NOTE, "ibt_async_handler, unhandled event(%d)", 233 ibdma_ibt_async_handler(void *clnt, ibt_hca_hdl_t hdl, ibt_async_code_t code, ibt_async_event_t *event) argument
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211.c | 142 * open door of wpa, send event to wpad service 154 ev.event = ic->ic_eventq[ic->ic_evq_head]; 159 ieee80211_dbg(IEEE80211_MSG_DEBUG, "ieee80211_event(%d)\n", ev.event); 189 * Notify state transition event message to WPA daemon 192 ieee80211_notify(ieee80211com_t *ic, wpa_event_type event) argument 197 ic->ic_eventq[ic->ic_evq_tail] = event;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | neti_impl.c | 473 * Returns: internal event pointer - NULL = Fail 475 * he(I) - event pointer 477 * Call hook_event_add to register event on specific family 478 * Internal event pointer is returned so caller can get 501 * he(I) - event pointer 503 * Call hook_event_remove to unregister event on specific family 535 * event(I) - event name 538 * Call hook_register to add hook on specific family/event 541 net_hook_register(net_handle_t info, char *event, hook_ argument 567 net_hook_unregister(net_handle_t info, char *event, hook_t *h) argument 631 net_event_notify_register(net_handle_t family, char *event, hook_notify_fn_t callback, void *arg) argument 646 net_event_notify_unregister(net_handle_t family, char *event, hook_notify_fn_t callback) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | niagara_perfctr.c | 43 * Data structure used to build array of event-names and pcr-mask values 345 /* create basic pic event/mask pair (only once) */ 385 /* create basic pic event/mask pair (only once) */ 421 /* create basic pic event/mask pair (only once) */ 457 /* create basic pic event/mask pair (only once) */ 605 int event; local 627 * Write event names and their associated pcr masks. The 631 for (event = 0; event < num_ev - 1; event [all...] |
/illumos-gate/usr/src/uts/sun4v/pcbe/ |
H A D | niagara_pcbe.c | 27 * This file contains preset event names from the Performance Application 86 static uint64_t ni_pcbe_event_coverage(char *event); 88 static int ni_pcbe_configure(uint_t picnum, char *event, uint64_t preset, 121 uint32_t pcbe_bits; /* %pcr event code unshifted */ 133 char *event; member in struct:_ni_generic_events 215 * to copy the strings. Need room for event, comma, and NULL terminator. 302 ni_pcbe_event_coverage(char *event) argument 306 if ((find_event(0, event) != NULL) || 307 (find_generic_event(0, event) != NULL)) 309 if ((find_event(1, event) ! 342 ni_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...] |
/illumos-gate/usr/src/uts/sun4/io/fpc/ |
H A D | fpc-kstats.c | 36 * CLEAR_PIC is needed by busstat to extract the current event type of a PIC. 45 * Data structure used to build array of event-names and pcr-mask values 77 * Below are event lists, which map an event name specified on the commandline 78 * with a value to program the event register with. 80 * The last entry will be the mask of the entire event field for the PIC and 330 /* Create basic pic event-type pair (only once) */ 404 int event; local 421 * Write event names and their associated pcr masks. 424 for (event 510 uint64_t event; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | oplkmdrv.c | 95 void okm_event_handler(scf_event_t event, void *arg); 221 * interrupt priority of the event handler. 222 * Assert that the event priority is not redefined to 942 * okm_event_handler - Mailbox event handler. 945 * events. For each event, it sets the appropriate state 946 * flag and wakes up the threads waiting for that event. 949 okm_event_handler(scf_event_t event, void *arg) argument 963 ("okm_event_handler: event=0x%X - mailbox not inited \n", 964 event)); 967 switch (event) { [all...] |
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | libcontract.c | 206 ct_ctl_ack(int fd, ctevid_t event) argument 208 if (ioctl(fd, CT_CACK, &event) == -1) 214 ct_ctl_nack(int fd, ctevid_t event) argument 216 if (ioctl(fd, CT_CNACK, &event) == -1) 222 ct_ctl_qack(int fd, ctevid_t event) argument 224 if (ioctl(fd, CT_CQREQ, &event) == -1) 389 * Common event routines 417 ct_event_t *event; local 424 event = &info->event; [all...] |
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_conn_sm.c | 169 * The thread that generated the event that got us here may still 179 idm_conn_event(idm_conn_t *ic, idm_conn_event_t event, uintptr_t event_info) argument 182 idm_conn_event_locked(ic, event, event_info, CT_NONE); 210 idm_conn_tx_pdu_event(idm_conn_t *ic, idm_conn_event_t event, argument 215 idm_conn_event_locked(ic, event, event_info, CT_TX_PDU); 219 idm_conn_rx_pdu_event(idm_conn_t *ic, idm_conn_event_t event, argument 224 idm_conn_event_locked(ic, event, event_info, CT_RX_PDU); 228 idm_conn_event_locked(idm_conn_t *ic, idm_conn_event_t event, argument 236 (int)ic->ic_state, (int)event, event_info); 241 * a CE_TRANSPORT_FAIL event whe [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_ev.c | 124 * On Huntington RX and TX event batching can only be requested 130 * So always enable RX and TX event batching, and enable cut through 131 * if RX event batching isn't supported (i.e. on low latency firmware). 276 * Set up the event queue 393 efx_qword_t event; local 395 EFX_POPULATE_QWORD_3(event, 400 (void) efx_mcdi_driver_event(enp, eep->ee_index, event); 516 /* Drop this event */ 544 * FIXME: add error checking to make sure this a batched event. 662 /* Drop this event */ [all...] |
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | libcpc.c | 269 cpc_set_add_request(cpc_t *cpc, cpc_set_t *set, const char *event, argument 283 if (cpc_valid_event(cpc, i, event)) 296 (void) strncpy(req->cr_event, event, CPC_MAX_EVENT_LEN); 316 * the pic can count the requested event. 782 void (*action)(void *arg, int index, const char *event, uint64_t preset, 813 void (*action)(void *arg, const char *event), int is_generic) 839 * event names. 873 void (*action)(void *arg, const char *event)) 882 void (*action)(void *arg, const char *event)) 890 void (*action)(void *arg, uint_t picno, const char *event), in 781 cpc_walk_requests(cpc_t *cpc, cpc_set_t *set, void *arg, void (*action)(void *arg, int index, const char *event, uint64_t preset, uint_t flags, int nattrs, const cpc_attr_t *attrs)) argument 812 cpc_walk_events_impl(cpc_t *cpc, void *arg, void (*action)(void *arg, const char *event), int is_generic) argument 872 cpc_walk_events_all(cpc_t *cpc, void *arg, void (*action)(void *arg, const char *event)) argument 881 cpc_walk_generic_events_all(cpc_t *cpc, void *arg, void (*action)(void *arg, const char *event)) argument 889 cpc_walk_events_pic_impl(cpc_t *cpc, uint_t picno, void *arg, void (*action)(void *arg, uint_t picno, const char *event), int is_generic) argument 936 cpc_walk_events_pic(cpc_t *cpc, uint_t picno, void *arg, void (*action)(void *arg, uint_t picno, const char *event)) argument 944 cpc_walk_generic_events_pic(cpc_t *cpc, uint_t picno, void *arg, void (*action)(void *arg, uint_t picno, const char *event)) argument [all...] |