/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 27 * Routines to capture processor-dependencies in event specification. 58 * By default, user event counting is enabled, system event counting 61 * Note that Pentium and Pentium Pro have different event specifications. 67 * the string, if no errors are encountered, the event handle is 216 "pic0", /* takes a valid event name */ 218 "pic1", /* takes a valid event name */ 368 cpc_strtoevent(int cpuver, const char *spec, cpc_event_t *event) argument 382 bzero(event, sizeof (*event)); 587 cpc_eventtostr(cpc_event_t *event) argument 666 cpc_event_accum(cpc_event_t *accum, cpc_event_t *event) argument 691 __cpc_eventtoset(cpc_t *cpc, cpc_event_t *event, int iflags) argument [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_proc.c | 78 * such an event occurs, the dt_proc_t itself is enqueued on a notification 229 * process reached a particular event (why) rather than continuing the victim. 274 dt_dprintf("pid %d: failed to get %s event message: %s\n", 279 dt_dprintf("pid %d: rtld event %s type=%d state %d\n", 305 dt_proc_rdwatch(dt_proc_t *dpr, rd_event_e event, const char *evname) argument 310 if ((err = rd_event_addr(dpr->dpr_rtld, event, &rdn)) != RD_OK) { 311 dt_dprintf("pid %d: failed to get event address for %s: %s\n", 317 dt_dprintf("pid %d: event %s has unexpected type %d\n", 452 * the process to stop on an event or die. We process any events by calling 536 * process the event, an [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adt_token.c | 93 adt_token_open(struct adt_event_state *event) argument 97 event->ae_event_handle = au_open(); 98 if (event->ae_event_handle < 0) { 115 struct adt_event_state *event) 119 assert((p_entry != NULL) && (p_data != NULL) && (event != NULL)); 130 (char *)p_data + p_entry->en_offset, p_entry->en_required, event, 137 adt_token_close(struct adt_event_state *event) argument 141 rc = au_close(event->ae_event_handle, AU_TO_WRITE, 142 event->ae_internal_id); 155 struct adt_event_state *event, cha 114 adt_generate_token(struct entry *p_entry, void *p_data, struct adt_event_state *event) argument 154 adt_to_return(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 178 adt_to_cmd(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 204 adt_to_cmd1(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 236 adt_to_tid(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 281 adt_to_frmi(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 306 adt_to_label(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 334 adt_to_newgroups(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 357 adt_to_path(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 382 adt_to_pathlist(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 422 adt_to_priv(datadef *def, void *p_data, int required, struct adt_event_state *event, const char *priv_type) argument 447 adt_to_priv_limit(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 459 adt_to_priv_inherit(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 467 adt_to_priv_effective(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 502 adt_to_process(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 576 adt_to_subject(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 638 adt_to_text(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument 826 adt_to_uauth(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument 852 adt_to_user(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument 882 adt_to_zonename(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 907 adt_to_in_peer(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 955 adt_to_in_remote(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument 997 adt_to_iport(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 567 au_event_ent_t *event; local 571 if (cacheauevent(&event, ctx.out.sf_eventid) < 0) 575 (void) strlcpy(event_name, event->ae_desc, 609 "syslog tossed (event=%hu) record %u " 615 "syslog tossed (event=%hu) buffer %llu\n", 623 * well as below for when the event is preselected. 659 au_event_ent_t *event; local 661 if (cacheauevent(&event, ctx.out.sf_eventid) < 0) 665 used = strlcpy(bp, event->ae_desc, remaining);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_rules.c | 508 adt_event_data_t *event; local 546 if ((event = adt_alloc_event(ah, flag)) == NULL) { 551 (void) memset((char *)event, 0, sizeof (adt_event_data_t)); 555 event->adt_ilb_delete_rule.auth_used = NET_ILB_CONFIG_AUTH; 556 event->adt_ilb_delete_rule.rule_name = (char *)audit_rule_name; 559 event->adt_ilb_enable_rule.auth_used = NET_ILB_ENABLE_AUTH; 560 event->adt_ilb_enable_rule.rule_name = (char *)audit_rule_name; 563 event->adt_ilb_disable_rule.auth_used = NET_ILB_ENABLE_AUTH; 564 event->adt_ilb_disable_rule.rule_name = (char *)audit_rule_name; 575 event [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa_supplicant.c | 484 * wpa_event_handler - report a driver event for wpa_supplicant 487 * @event: event type (defined above) 489 * Driver wrapper code should call this function whenever an event is received 493 wpa_event_handler(void *cookie, wpa_event_type event) argument 497 switch (event) { 499 wpa_printf(MSG_DEBUG, "\nAssociation event\n"); 500 /* async event */ 515 wpa_printf(MSG_DEBUG, "Disconnect event - remove keys"); 529 wpa_printf(MSG_INFO, "Unknown event 573 wpa_event_type event; local [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.lex.c | 973 int event; local 983 event = eventno; 996 event = lastev; 1060 event = 0; 1062 event = event * 10 + c - '0'; 1066 event = eventno + (alhistp == 0) - (event ? event : 0); 1072 if (hp->Hnum == event) { [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | events.c | 45 * events.c - contains routines which create/destroy event sources, 46 * handle the event queue and process events from that queue. 49 /* Add new event sources here. */ 61 /* Counter for event ids */ 107 * Now we can safely initialize event sources. 133 * event queue can be sorted by nearest time to present. 168 nwamd_event_t event; local 170 while ((event = uu_list_teardown(event_queue, &cookie)) != NULL) 171 nwamd_event_fini(event); 181 nwamd_event_t event; local 227 nwamd_event_do_not_send(nwamd_event_t event) argument 237 nwamd_event_fini(nwamd_event_t event) argument 250 nwamd_event_t event; local 279 nwamd_event_t event; local 300 nwamd_event_t event; local 316 nwamd_event_t event; local 344 nwamd_event_t event; local 373 nwamd_event_t event; local 420 nwamd_event_t event; local 486 nwamd_event_enqueue(nwamd_event_t event) argument 497 nwamd_event_enqueue_timed(nwamd_event_t event, int delta_seconds) argument 532 nwamd_event_t event; local 580 nwamd_event_t event; local 694 nwamd_event_run_method(nwamd_event_t event) argument 777 nwamd_event_t event; local [all...] |
H A D | ncu.c | 133 * or enable/disable action event. 141 nwamd_event_t event; local 268 /* Create periodic scan event */ 273 /* send "need choice" event */ 274 event = nwamd_event_init_wlan 278 if (event == NULL) 280 nwamd_event_enqueue(event); 286 * Send "need key" event. Set selected to true, connected 301 event = nwamd_event_init_wlan 304 if (event 1327 nwamd_ncu_handle_link_action_event(nwamd_event_t event) argument 1605 nwamd_ncu_handle_init_event(nwamd_event_t event) argument 1831 nwamd_ncu_handle_fini_event(nwamd_event_t event) argument 1864 nwamd_ncu_handle_action_event(nwamd_event_t event) argument 1940 nwamd_ncu_handle_state_event(nwamd_event_t event) argument [all...] |
H A D | ncu_ip.c | 101 "for link %s, cannot propogate %s event", linkname, 112 "propogate link %s event as IP NCU %s is being " 117 "link %s event to interface %s", 130 "link %s event to interface %s, IP NCU is disabled", 753 "could not create state event " 802 * This event tells us that an interface address has appeared or disappeared, 806 nwamd_ncu_handle_if_state_event(nwamd_event_t event) argument 815 event->event_object); 818 event->event_object); 819 nwamd_event_do_not_send(event); 1187 nwamd_ncu_handle_if_action_event(nwamd_event_t event) argument [all...] |
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/ |
H A D | addon-cpufreq.c | 600 adt_event_data_t *event; local 609 if ((event = adt_alloc_event (ah, event_id)) == NULL) { 617 event->adt_cpu_ondemand.auth_used = (char *)auth_used; 620 event->adt_cpu_performance.auth_used = (char *)auth_used; 623 event->adt_cpu_threshold.auth_used = (char *)auth_used; 624 event->adt_cpu_threshold.threshold = cpu_thr_value; 631 if (adt_put_event (event, ADT_SUCCESS, ADT_SUCCESS) != 0) { 636 if (adt_put_event (event, ADT_FAILURE, result) != 0) { 643 adt_free_event (event);
|
/illumos-gate/usr/src/cmd/lms/ |
H A D | LMEConnection.h | 395 Event *event; member in struct:LMEConnection::CompatConnection
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | main.c | 172 tnfctl_event_t event = TNFCTL_EVENT_EINTR; local 293 err = tnfctl_continue(g_hndl, &event, NULL); 309 if (event == TNFCTL_EVENT_EXEC) { 313 } else if (event == TNFCTL_EVENT_EXIT) { 319 } else if (event == TNFCTL_EVENT_TARGGONE) {
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dcpc.c | 56 * the probe specification and this includes the performance counter event 63 * overflowed and we therefore only allow such CPUs to configure one event at 69 * overflow interrupt are only allowed to program a single event at one time. 90 int64_t dcpc_umask; /* umask/emask for this event */ 91 int dcpc_picno; /* pic this event is programmed in */ 215 char event[CPC_MAX_EVENT_LEN]; local 240 * The first part of the string must be either a platform event 241 * name or a generic event name. 244 (void) strncpy(event, p, CPC_MAX_EVENT_LEN - 1); 245 event[CPC_MAX_EVENT_LE [all...] |
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_io.c | 180 * If not an async event, defer by queuing onto the tad until 192 * Save the time in the event header. If time is not specified (i.e., pointer 227 * If time of event is specified, use it in the record, otherwise use the 792 audit_async_start(label_t *jb, au_event_t event, int sorf) argument 805 * preselect asynchronous event 808 estate = kctx->auk_ets[event]; 826 * Complete auditing of an async event. The AU_DONTBLOCK flag to au_close will 866 * For the exit-prom event, use the current time instead of the
|
/illumos-gate/usr/src/uts/common/contract/ |
H A D | process.c | 198 * is set. EXCESS tells us if "value", a critical event set, requires 211 * event set may result in events being implicitly removed from to the 212 * critical event set and added to the informative event set. The 213 * (admittedly subtle) reason we implicitly change the critical event 214 * set when the parameter or fatal event set is modified but not the 215 * other way around is because a change to the critical event set only 284 * the critical event set and add them to the 285 * informative event set. 318 * event se 925 ct_kevent_t *event; local 1015 ct_kevent_t *event; local 1078 ct_kevent_t *event; local 1128 ct_kevent_t *event; local 1164 ct_kevent_t *event; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_miscapi.c | 46 * All event subscribers are put on a list. kcf_notify_list_lock 301 * . nf: Callback function to invoke when event occurs. 414 * code if we add a new event that happens often. 433 kcf_walk_ntfylist(uint32_t event, void *event_arg) argument 453 * event. 455 if (!(nep->kn_event_mask & event)) 471 (*nep->kn_func)(event, event_arg);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_hw_attn.c | 937 // and we should not hnalde it (e.g. CQ48990 - got link down event after loopback mode was set). 1087 // masks attentions, which means we won't get a link event from anywhere else. Therefore we need to 1096 // write to the event log! 1122 // on some cases PMF sends link event to himself as well if errors occured in the mac. 1228 // unknown event 1260 //acknoledge the MCP event 1270 //indicate link change to OS, since sync_link_status does not generate a link event for the PMF. 1412 static lm_status_t lm_oem_event(lm_device_t *pdev, u32_t event) argument 1418 DbgMessage(pdev, INFORM, "oem_event 0x%x\n", event); 1424 if (event [all...] |
/illumos-gate/usr/src/lib/udapl/libdat/common/ |
H A D | dat_api.c | 136 IN const DAT_EVENT *event) 142 event); 148 OUT DAT_EVENT *event) 154 event); 134 dat_evd_post_se( IN DAT_EVD_HANDLE evd_handle, IN const DAT_EVENT *event) argument 146 dat_evd_dequeue( IN DAT_EVD_HANDLE evd_handle, OUT DAT_EVENT *event) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cap_util.c | 214 * List of CPC event requests for capacity and utilization. 311 static int cu_cpc_req_add(char *event, kcpc_request_list_t *reqs, 387 * Setup CPC event request queue 408 * Reset list of counter event requests so its space can be 446 * for specified CPU and fill in list of CPC requests with each counter event 516 * event to measure capacity and and utilization for each of CPU's PG 866 * Add given counter event to list of CPC requests 869 cu_cpc_req_add(char *event, kcpc_request_list_t *reqs, int nreqs, argument 877 * Return error when no counter event specified, counter event no [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | hook.c | 70 * add hooks to the event or add notifiers for when the contents of the 94 * the removal of either the event or family. In practise, what this means 140 * a hook on an event through net_hook_register(), an implicit reference 148 * A more detailed picture that describes how the family/event structures 153 * For each of the hook stack, hook family and hook event, it is possible 156 * a network protocol and a hook event to IP packets on the input path. 176 * physical_in event to inet, the module looking to enforce a security 184 * actual hooks that are added or removed from an event. In practice, 211 static hook_event_int_t *hook_event_find(hook_family_int_t *hfi, char *event); 229 char *event, cha 1656 hook_event_find(hook_family_int_t *hfi, char *event) argument 1684 hook_event_notify_register(hook_family_int_t *hfi, char *event, hook_notify_fn_t callback, void *arg) argument 1756 hook_event_notify_unregister(hook_family_int_t *hfi, char *event, hook_notify_fn_t callback) argument 1841 hook_event_notify_run(hook_event_int_t *hei, hook_family_int_t *hfi, char *event, char *name, hook_notify_cmd_t cmd) argument 1859 hook_register(hook_family_int_t *hfi, char *event, hook_t *h) argument 2151 hook_unregister(hook_family_int_t *hfi, char *event, hook_t *h) argument 2557 hook_notify_run(hook_notify_head_t *head, char *family, char *event, char *name, hook_notify_cmd_t cmd) argument [all...] |
/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/ |
H A D | hpcsvc.c | 95 * bus_thread - kernel thread for running slot event handlers for 100 * event handlers 103 * for invoking the slot event handlers to exit 106 * of slot event handlers to be run 118 int event; member in struct:hpc_event_entry 176 * slot_event_handler_arg - argument to be passed to event handler 178 * slot_event_mask - the set of events for which the event handler 423 * unregister event handlers for all the slots on this bus. 495 * for running the slot event handlers. 497 DEBUG0("hpc_slot_register: creating event callbac 712 hpc_slot_event_notify(hpc_slot_t handle, uint_t event, uint_t flags) argument 843 int event; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cq.c | 879 * will not lose an event after writing this doorbell. 1035 * event queue - we might overflow our EQs and render the system 1076 /* Get the CQ handle from CQ number in event descriptor */ 1090 * should not deliver this event. 1093 * same as the CQ number in the event queue entry. This 1096 * handle the event queue processing. By constantly incrementing 1099 * that a stale event could be passed to the client's CQ 1103 * means that we've have either received this event before we 1131 ibc_async_event_t event; local 1153 /* Get the CQ handle from CQ number in event descripto [all...] |
H A D | tavor_event.c | 32 * handling all of the various event types that the Tavor hardware can 36 * events from each of the many event queues used by the Tavor device. 122 * and reserve a few of the other 32 for each specific class of event 130 * possible event class unmapping. 176 TAVOR_TNF_FAIL(status, "completion queue error event"); 194 TAVOR_TNF_FAIL(status, "port state change event"); 212 TAVOR_TNF_FAIL(status, "communication established event"); 232 TAVOR_TNF_FAIL(status, "command completion event"); 250 TAVOR_TNF_FAIL(status, "local WQ catastrophic error event"); 269 TAVOR_TNF_FAIL(status, "invalid req local WQ error event"); 813 ibc_async_event_t event; local 1332 ibc_async_event_t event; local 1418 ibc_async_event_t event; local 1489 ibc_async_event_t event; local 1560 ibc_async_event_t event; local 1631 ibc_async_event_t event; local 1702 ibc_async_event_t event; local 1789 ibc_async_event_t event; local 1860 ibc_async_event_t event; local 1931 ibc_async_event_t event; local 2006 ibc_async_event_t event; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_hdlrs.c | 55 * NDI event handle we need 104 * If the port is not active yet, wait for a port up event. The 105 * async handler, when it sees a port-up event, is expected to 341 * Async event handler registered with IBTF 346 ibt_async_code_t code, ibt_async_event_t *event) 354 ENX_DPRINTF_ERR("ibt ERROR event 0x%x received " 355 "(hca_guid=0x%llx)", code, event->ev_hca_guid); 359 ENX_DPRINTF_WARN("ibt PORT_DOWN event received " 361 event->ev_hca_guid, event 345 eibnx_async_handler(void *clnt_pvt, ibt_hca_hdl_t hca, ibt_async_code_t code, ibt_async_event_t *event) argument [all...] |