/illumos-gate/usr/src/uts/sun/io/ |
H A D | zs_hdlc.c | 267 static void zsh_setmstat(struct zscom *zs, int event); 2056 * we should always be able to send up the event and allocate a message 2060 zsh_setmstat(struct zscom *zs, int event) argument 2071 mstat->status = event;
|
/illumos-gate/usr/src/uts/sun4u/pcbe/ |
H A D | opl_pcbe.c | 27 * This file contains preset event names from the Performance Application 86 static uint64_t opl_pcbe_event_coverage(char *event); 88 static int opl_pcbe_configure(uint_t picnum, char *event, uint64_t preset, 121 uint32_t opl_bits; /* %pcr event code unshifted */ 133 char *event; member in struct:_opl_generic_event 542 * to copy the strings. Need room for event, comma, and NULL terminator. 629 opl_pcbe_event_coverage(char *event) argument 635 if ((find_event(i, event) != NULL) || 636 (find_generic_event(i, event) != NULL)) 659 opl_pcbe_configure(uint_t picnum, char *event, uint64_ argument [all...] |
H A D | us234_pcbe.c | 27 * This file contains preset event names from the Performance Application 87 static uint64_t us_pcbe_event_coverage(char *event); 89 static int us_pcbe_configure(uint_t picnum, char *event, uint64_t preset, 122 uint32_t us_bits; /* %pcr event code unshifted */ 134 char *event; member in struct:_us_generic_event 651 * to copy the strings. Need room for event, comma, and NULL terminator. 738 us_pcbe_event_coverage(char *event) argument 742 if ((find_event(0, event) != NULL) || 743 (find_generic_event(0, event) != NULL)) 745 if ((find_event(1, event) ! 764 us_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/intel/pcbe/ |
H A D | opteron_pcbe.c | 27 * This file contains preset event names from the Performance Application 95 static uint64_t opt_pcbe_event_coverage(char *event); 97 static int opt_pcbe_configure(uint_t picnum, char *event, uint64_t preset, 170 char *event; member in struct:_amd_generic_event 459 * event configuration. 500 * Construct event list. 592 opt_pcbe_event_coverage(char *event) argument 595 * Check whether counter event is supported 597 if (find_event(event) == NULL && find_generic_event(event) 618 opt_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 | p123_pcbe.c | 26 * This file contains preset event names from the Performance Application 93 static uint64_t ptm_pcbe_event_coverage(char *event); 96 static int ptm_pcbe_configure(uint_t picnum, char *event, uint64_t preset, 151 char *event; member in struct:_ptm_generic_events 582 * to copy the strings. Need room for event, comma, and NULL terminator. 676 ptm_pcbe_event_coverage(char *event) argument 680 if ((find_event(0, event) != NULL) || 681 (find_generic_event(0, event) != NULL)) 683 if ((find_event(1, event) != NULL) || 684 (find_generic_event(1, event) ! [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_video.c | 225 hotkey_drv_gen_sysevent(dev_info_t *dip, char *event) argument 231 event, NULL, NULL, DDI_NOSLEEP); 244 cmn_err(CE_NOTE, "!acpi_video_switch_notify: got event 0x%x.\n", 264 "!acpi_video_switch_notify: unknown event 0x%x.\n", 279 "!acpi_video_brightness_notify: got event 0x%x.\n", 316 "unknown event 0x%x.\n", notify);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_server.c | 1977 smb_event_t *event; local 1982 event = kmem_cache_alloc(smb_cache_event, KM_SLEEP); 1984 bzero(event, sizeof (smb_event_t)); 1985 mutex_init(&event->se_mutex, NULL, MUTEX_DEFAULT, NULL); 1986 cv_init(&event->se_cv, NULL, CV_DEFAULT, NULL); 1987 event->se_magic = SMB_EVENT_MAGIC; 1988 event->se_txid = smb_event_alloc_txid(); 1989 event->se_server = sv; 1990 event->se_timeout = timeout; 1993 smb_llist_insert_tail(&sv->sv_event_list, event); 2000 smb_event_destroy(smb_event_t *event) argument 2027 smb_event_txid(smb_event_t *event) argument 2042 smb_event_wait(smb_event_t *event) argument 2091 smb_event_t *event; local 2127 smb_event_t *event; local [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vcc.c | 82 static uint_t vcc_ldc_cb(uint64_t event, caddr_t arg); 627 vcc_ldc_cb(uint64_t event, caddr_t arg) argument 638 vport->number, event); 640 /* check event from ldc */ 641 if (event & LDC_EVT_WRITE) { 649 if (event & LDC_EVT_READ) { 663 if (event & LDC_EVT_DOWN) { 1082 /* unregister from MD event generator */ 1421 /* turn off event flag if there is no more change */ 1423 i_vcc_turn_off_event(vcc_t *vccp, uint32_t port_status, uint32_t event) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_login.c | 311 iscsit_login_sm_event(iscsit_conn_t *ict, iscsit_login_event_t event, argument 325 iscsit_login_sm_event_locked(ict, event, pdu); 329 iscsit_login_sm_event_locked(iscsit_conn_t *ict, iscsit_login_event_t event, argument 338 ctx->le_ctx_event = event; 414 IDM_SM_LOG(CE_NOTE, "login_sm_event_dispatch: ict %p event %s(%d)",
|
H A D | iscsit_tgt.c | 172 iscsit_tgt_sm_event(iscsit_tgt_t *tgt, iscsit_tgt_event_t event) argument 175 tgt_sm_event_locked(tgt, event); 180 tgt_sm_event_locked(iscsit_tgt_t *tgt, iscsit_tgt_event_t event) argument 188 ctx->te_ctx_event = event; 222 IDM_SM_LOG(CE_NOTE, "tgt_sm_event_dispatch: tgt %p event %s(%d)", 649 * we will queue a task on the taskq to send the retry event. 730 /* Async callback generates completion event */ 775 * 4. "delete" event to target state machine
|
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 113 * The hardware has a limit for outstanding asynchronous event requests. Before 115 * asynchronous request. Later when the limit is known more asynchronous event 117 * asynchronous event is posted by the hardware the driver will parse the error 119 * severity of the asynchronous event. The asynchronous event request is then 127 * asynchronous event requests. If a command times out and the hardware appears 154 * - async-event-limit: the maximum number of asynchronous event requests to be 764 * try again. This can happen for long running commands like async event 949 * detailed error information is returned as async event, 1280 nvme_async_event_t event; local [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adt.c | 401 * loads the event translation table into the audit session. 1799 * need to return a valid event pointer even if audit is 1833 * adt_getXlateTable -- look up translation table address for event id 1870 * event type. 1874 * adt_calcOffsets is only called once per event type, but it uses 1875 * the address alignment of memory allocated for that event as if it 1926 * generate event record from external struct. The order is based on 1968 * adt_put_event -- main event generation function. 1969 * The input "event" is the address of the struct containing 1970 * event 1977 adt_put_event(const adt_event_data_t *event, int status, int return_val) argument 2023 adt_free_event(adt_event_data_t *event) argument 2068 adt_selected(struct adt_event_state *event, au_event_t actual_id, int status) argument [all...] |
/illumos-gate/usr/src/head/ |
H A D | thread_db.h | 80 * The libc_db event facility. 121 TD_ALL_EVENTS, /* pseudo-event number */ 143 * Ways that an event type can be reported. 156 * How an event type is reported. 167 * An event message. 170 td_event_e event; /* Event type being reported */ member in struct:td_event_msg 171 const td_thrhandle_t *th_p; /* Thread reporting the event */ 172 union { /* Type-dependent event data */ 174 uintptr_t data; /* valid, depending on event type */ 229 uchar_t ti_traceme; /* event reportin [all...] |
/illumos-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 185 static adt_event_data_t *event = NULL; /* event to be generated */ variable 376 if ((event = adt_alloc_event(ah, ADT_passwd)) == NULL) { 1543 if (event != NULL) { 1548 event->adt_passwd.username = usrname; 1551 event->adt_passwd.uid = pass->pw_uid; 1552 event->adt_passwd.username = pass->pw_name; 1555 if (adt_put_event(event, 1559 adt_free_event(event); 1564 adt_free_event(event); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 710 check_to_advertise(struct phyint *pi, enum adv_events event) argument 717 pi->pi_name, (int)event, (int)old_state); 719 delay = advertise_event(pi, event, 0); 721 /* Make sure the global next event is updated */ 727 pi->pi_name, (int)event, (int)old_state, 736 * For the ADV_TIMER event the caller passes in the number of milliseconds 737 * since the last timer event in the 'elapsed' parameter. 740 advertise_event(struct phyint *pi, enum adv_events event, uint_t elapsed) argument 746 pi->pi_name, (int)event, elapsed, (int)pi->pi_adv_state); 760 switch (event) { 886 check_to_solicit(struct phyint *pi, enum solicit_events event) argument 1001 solicit_event(struct phyint *pi, enum solicit_events event, uint_t elapsed) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd.c | 40 * descriptors, representing the following event types, and initiates 41 * any necessary event processing: 73 * when an event arrives. To serialize the processing of instances, these events 76 * end of the pipe in its read set, and processes the event appropriately. 77 * When the event has been processed (which may be delayed if the instance 78 * for which the event is for is in the process of executing one of its methods 80 * pipe the event was received on. The thread in restart_event_proxy() that 81 * wrote the event will read the acknowledgement it was blocked upon, and will 83 * event, and allowing another event t 511 restarter_event_proxy(restarter_event_t *event) argument 1693 handle_restarter_event(instance_t *instance, restarter_event_type_t event, boolean_t send_ack) argument 2051 restarter_event_t *event; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoec.c | 285 * Convert an internal PPPoE event code number into a printable 289 poe_event(int event) argument 296 if (event < 0 || event >= PCSME__MAX) { 299 return (poeevent[event]); 915 act_none(poesm_t *psm, poemsg_t *pmsg, int event, int nextst) argument 922 act_fail(poesm_t *psm, poemsg_t *pmsg, int event, int nextst) argument 931 act_spadi(poesm_t *psm, poemsg_t *pmsg, int event, int nextst) argument 953 act_add(poesm_t *psm, poemsg_t *pmsg, int event, int nextst) argument 968 act_spadr(poesm_t *psm, poemsg_t *pmsg, int event, in argument 1000 act_spadrp(poesm_t *psm, poemsg_t *pmsg, int event, int nextst) argument 1029 act_spadrn(poesm_t *psm, poemsg_t *pmsg, int event, int nextst) argument 1068 act_open(poesm_t *psm, poemsg_t *pmsg, int event, int nextst) argument 1204 handle_event(poesm_t *psm, int event, poemsg_t *pmsg) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 569 mdb_printf("There is no firmware event log.\n"); 578 mdb_warn("Unable to read firmware event log header\n"); 583 * Firmware event log is little-endian 597 mdb_warn("Invalid firmware event log signature\n"); 621 mdb_warn("Unable to read event log entry\n"); 818 mdb_printf(" event recovery"); 891 mdb_printf("SSP event 0x%x", wp->ssp_event); 1274 iomb_event(uint8_t event) argument 1276 switch (event) { 2760 mdb_warn("Firmware event lo [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_asru.c | 168 fmd_asru_replacement_state(nvlist_t *event, int hc_only) argument 190 if (nvlist_lookup_nvlist(event, FM_FAULT_ASRU, &asru) == 0 && 195 if (nvlist_lookup_nvlist(event, FM_FAULT_RESOURCE, 211 if (nvlist_lookup_nvlist(event, FM_FAULT_FRU, &fru) == 0 && 460 * Extract the most recent values of 'faulty' from the event log. 465 "invalid event log record\n", lp->log_name); 471 "invalid event log record\n", lp->log_name); 493 * ASRU event to insert a suspect into the partially-restored case. 677 * event that caused it be marked faulty. This will cause the agent 692 "replaying fault event fo [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vnops.c | 800 * In the event that we got an access error while 2047 * emit a create event. 4752 nfs_delmap_callback(struct as *as, void *arg, uint_t event) argument
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_fil_solaris.c | 1992 /* Parameters: event(I) - pointer to event */ 2011 /* Parameters: event(I) - pointer to event */ 2031 /* Parameters: event(I) - pointer to event */ 2050 /* Parameters: event(I) - pointer to event */ 2169 /* Parameters: event(I) - pointer to event */ 2175 ipf_nic_event_v4(hook_event_token_t event, hook_data_t info, void *arg) argument 2269 ipf_nic_event_v6(hook_event_token_t event, hook_data_t info, void *arg) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | aio.c | 1147 * Allocate an event port structure (port_alloc_event()) and store the 1156 aio_req_t *reqp, int event) 1171 pkevp->portkev_events = event; 1228 int event; local 1430 event = (mode == LIO_READ)? AIOAREAD : AIOAWRITE; 1463 lpkevp->portkev_events = event; 2198 int event = (run_mode == AIO_LARGEFILE)? local 2201 error = aio_req_assoc_port_rw(&pntfy, aiocb_arg, reqp, event); 2722 * unmap event happened first. 2933 int event; local 1155 aio_req_assoc_port_rw(port_notify_t *pntfy, aiocb_t *cbp, aio_req_t *reqp, int event) argument 3416 int event; local [all...] |
H A D | driver_lyr.c | 170 * Initialize the LDI event subsystem 464 * LDI event manipulation functions 1689 * Any event handlers should have been unregistered by the 1699 * the event handlers) and then complain about having to do the 1710 "failed to unregister layered event handlers before " 1721 * Search the event callback list for callbacks with this 2850 "event callback", "ldi_add_event_handler")); 2858 LDI_EVENTCB((CE_NOTE, "%s: dip=0x%p, event=0x%p, " 2881 "event callback", "ldi_remove_event_handler")); 2897 * "new" LDI event framewor 3319 ldi_invoke_notify(dev_info_t *dip, dev_t dev, int spec_type, char *event, void *ev_data) argument 3551 ldi_invoke_finalize(dev_info_t *dip, dev_t dev, int spec_type, char *event, int ldi_result, void *ev_data) argument [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/cs/ |
H A D | cs.c | 108 * event handling functions 282 * Setup the client type structure - this is used in the socket event 369 * don't get any more event callbacks. 422 * Tell the event handler thread that we want it to exit, then 1942 * when they call us for their event handler. 1955 * the client's event handler high priority mutex. 1961 * Set up the global event mask information; we copy this directly 1990 * a registration complete event. Since we don't differentiate 1992 * event notification, we modify the definition of the share/excl 1998 * socket) and a registration complete event 2450 cs_event(event_t event, uint32_t sn, uint32_t arg) argument 2643 cs_card_insertion(cs_socket_t *sp, event_t event) argument 3018 ss_to_cs_events(cs_socket_t *sp, event_t event) argument 3429 event_t event; local 7545 event_t event; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 1402 * Disable fast reboot if CPU/MEM/IOH hotplug event happens. 1408 * power-on. When CPU/MEM/IOH hotplug event happens, those 1417 * CPU/MEM/IOH hotplug event happens. This solution should be 1698 int event, code; local 1731 /* Get the event type. */ 1743 event = ACPI_NOTIFY_BUS_CHECK; 1746 event = ACPI_NOTIFY_DEVICE_CHECK; 1749 event = ACPI_NOTIFY_DEVICE_CHECK_LIGHT; 1752 event = ACPI_NOTIFY_EJECT_REQUEST; 1760 (void) acpidev_eval_ost(hdl, event, cod [all...] |