Searched defs:event (Results 1 - 25 of 54) sorted by relevance

123

/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_evd_post_se.c52 * Post a software event to the Event Dispatcher event queue.
56 * event
69 const DAT_EVENT *event)
87 if (!event) {
91 if (event->event_number != DAT_SOFTWARE_EVENT) {
100 event->event_data.software_event_data.pointer);
67 dapl_evd_post_se( DAT_EVD_HANDLE evd_handle, const DAT_EVENT *event) argument
H A Ddapl_evd_dequeue.c52 * Remove first element from an event dispatcher
58 * event
70 OUT DAT_EVENT *event)
79 event);
89 if (event == NULL) {
122 *event = *local_event;
135 dat_status = dapls_evd_cq_poll_to_event(evd_ptr, event);
152 *event = *local_event;
68 dapl_evd_dequeue( IN DAT_EVD_HANDLE evd_handle, OUT DAT_EVENT *event) argument
H A Ddapl_evd_resize.c55 * Modify the size fo the event queue of an Event Dispatcher
79 DAT_EVENT *event; local
121 /* allocate free event queue */
127 /* allocate pending event queue */
141 /* add events to free event queue */
147 * copy pending events from evd to the new pending event queue
149 while (event = (DAT_EVENT *)
153 (void) dapl_os_memcpy(new_event, event, sizeof (DAT_EVENT));
156 dat_status = dapls_rbuf_add(&evd_ptr->free_event_queue, event);
H A Ddapl_evd_wait.c53 * Wait, up to specified timeout, for notification event on EVD.
54 * Then return first available event.
61 * event
72 OUT DAT_EVENT *event,
87 event,
102 if (!event) {
172 *event = *local_event;
68 dapl_evd_wait( IN DAT_EVD_HANDLE evd_handle, IN DAT_TIMEOUT time_out, IN DAT_COUNT threshold, OUT DAT_EVENT *event, OUT DAT_COUNT *nmore) argument
/osnet-11/usr/src/lib/libcontract/common/
H A Dlibcontract_impl.h46 ct_event_t event; member in struct:ctlib_event_info
/osnet-11/usr/src/lib/sun_fc/common/
H A DAdapterAddEventListener.cc39 * callback routine when and event comes in.
51 * @memo Send the event to this listener
52 * @param event The event to send to the listener
57 void AdapterAddEventListener::dispatch(Event &event) { argument
59 AdapterAddEvent *e = static_cast<AdapterAddEvent*> (&event);
66 log.internalError("Unexpected event type.");
H A DAdapterDeviceEventListener.cc40 * callback routine when and event comes in.
53 * @memo Send the event to this listener
54 * @param event The event to send to the listener
59 void AdapterDeviceEventListener::dispatch(Event &event) { argument
61 AdapterDeviceEvent *e = static_cast<AdapterDeviceEvent*> (&event);
71 log.internalError("Unexpected event type.");
H A DAdapterEventListener.cc40 * callback routine when and event comes in.
53 * @memo Send the event to this listener
54 * @param event The event to send to the listener
59 void AdapterEventListener::dispatch(Event &event) { argument
61 AdapterEvent *e = static_cast<AdapterEvent*> (&event);
72 log.internalError("Unexpected event type.");
H A DAdapterPortEventListener.cc40 * callback routine when and event comes in.
53 * @memo Send the event to this listener
54 * @param event The event to send to the listener
59 void AdapterPortEventListener::dispatch(Event &event) { argument
61 AdapterPortEvent *e = static_cast<AdapterPortEvent*> (&event);
72 log.internalError("Unexpected event type.");
H A DAdapterPortStatEventListener.cc40 * callback routine when and event comes in.
53 * @memo Send the event to this listener
54 * @param event The event to send to the listener
59 void AdapterPortStatEventListener::dispatch(Event &event) { argument
61 AdapterPortStatEvent *e = static_cast<AdapterPortStatEvent*> (&event);
68 log.internalError("Unexpected event type.");
H A DLinkEventListener.cc40 * callback routine when and event comes in.
53 * @memo Send the event to this listener
54 * @param event The event to send to the listener
59 void LinkEventListener::dispatch(Event &event) { argument
61 LinkEvent *e = static_cast<LinkEvent*> (&event);
68 log.internalError("Unexpected event type.");
H A DTargetEventListener.cc41 * callback routine when and event comes in.
55 * @memo Send the event to this listener
56 * @param event The event to send to the listener
61 void TargetEventListener::dispatch(Event &event) { argument
63 TargetEvent *e = static_cast<TargetEvent*> (&event);
83 log.internalError("Unexpected event type.");
/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_look.c107 * writeable, return T_GODATA or T_GOEXDATA event.
177 int event = T_DATA; local
189 event = T_EXDATA;
191 return (event);
218 int event = T_DATA; local
228 event = T_EXDATA;
230 return (event);
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_kadmind.c94 au_event_t event, /* audit event */
132 aug_save_event(event);
93 common_audit( au_event_t event, SVCXPRT *xprt, in_port_t l_port, char *op, char *prime_arg, char *clnt_name, int sorf) argument
H A Daudit_krb5kdc.c58 au_event_t event, /* audit event */
91 aug_save_event(event);
57 common_audit( au_event_t event, struct in_addr *r_addr, in_port_t r_port, in_port_t l_port, char *cname, char *sname, int sorf) argument
H A Daudit_rexecd.c49 static au_event_t event; variable
53 selected(uid, user, event, sf)
56 au_event_t event;
78 return (au_preselect(event, &mask, sorf, AU_PRS_REREAD));
86 event = AUE_rexecd;
176 if (!selected(uid, user, event, -1))
232 if (au_close(rd, AU_TO_WRITE, event, PAD_FAILURE) < 0) {
287 if (!selected(uid, user, event, 0))
339 if (au_close(rd, AU_TO_WRITE, event, 0) < 0) {
H A Daudit_rshd.c43 static au_event_t rshd_event; /* audit event number */
175 selected(uid_t uid, char *locuser, au_event_t event, int sf) argument
196 return (au_preselect(event, &mask, sorf, AU_PRS_REREAD));
H A Dau_preselect.c48 au_event_t event; /* audit event number */ member in struct:event_map
49 au_class_t class; /* audit event class mask */
61 * Keep a dynamic array of event<-->class mappings.
64 * 0: event is not preselected.
65 * 1: event is normal preselected.
66 * 2: event is forced preselected.
69 * Couldn't find event.
118 if (event_map[i].event == au_event) {
123 /* force this event */
[all...]
H A Daudit_crontab.c60 au_event_t event; local
112 event = (create) ? AUE_crontab_create : AUE_crontab_mod;
113 aug_save_event(event);
H A Daudit_rexd.c52 static au_event_t event; variable
82 selected(uid, user, event, sf)
85 au_event_t event;
107 return (au_preselect(event, &mask, sorf, AU_PRS_REREAD));
115 event = AUE_rexd;
190 if (!selected(uid, user, event, -1))
261 if (au_close(rd, AU_TO_WRITE, event, PAD_FAILURE) < 0) {
316 if (!selected(uid, user, event, 0))
379 if (au_close(rd, AU_TO_WRITE, event, 0) < 0) {
/osnet-11/usr/src/cmd/powertop/common/
H A Devents.c46 static event_info_t *event; variable
76 (void) snprintf((char *)(event->offender_name),
78 (void) snprintf((char *)(event->offense_name),
85 (void) snprintf((char *)(event->offender_name),
112 (void) snprintf((char *)(event->offense_name),
116 (void) snprintf((char *)(event->offense_name),
125 (void) snprintf((char *)(event->offender_name),
127 (void) snprintf((char *)(event->offense_name),
135 (void) snprintf((char *)(event->offender_name),
156 (void) snprintf((char *)(event
[all...]
/osnet-11/usr/src/lib/libnwam/common/
H A Dlibnwam_events.c46 * Implementation of event notification mechanism used by the GUI and
49 * and applications block waiting for a new event to be delivered in
51 * one per event client. The event mechanism has to be resilient to
52 * nwamd restarts so that clients do not lose the event connection.
81 nwam_event_free(nwam_event_t event) argument
83 if (event != NULL)
84 free(event);
88 * Get next event in queue.
94 nwam_event_t event; local
222 nwam_event_send(nwam_event_t event) argument
[all...]
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-zpool.c58 adt_event_data_t *event; local
64 if ((event = adt_alloc_event(ah, event_id)) == NULL) {
71 event->adt_pool_export.auth_used = (char *)auth_used;
72 event->adt_pool_export.pool = (char *)pool;
73 event->adt_pool_export.device = (char *)device;
76 event->adt_pool_import.auth_used = (char *)auth_used;
77 event->adt_pool_import.pool = (char *)pool;
78 event->adt_pool_import.device = (char *)device;
85 if (adt_put_event(event, ADT_SUCCESS, ADT_SUCCESS) != 0) {
89 if (adt_put_event(event, ADT_FAILUR
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dalarm.c162 static char *setdisc(Namval_t *np, const char *event, Namval_t* action, Namfun_t argument
166 if(!event)
168 if(strcmp(event,ALARM)!=0)
171 return(nv_setdisc(np, event, action, fp));
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netbios.c255 smb_netbios_event(netbios_event_t event) argument
275 if (event == NETBIOS_EVENT_DUMP) {
277 nbtd.nbs_last_event = event_msg[event];
283 nbtd.nbs_last_event = event_msg[event];
288 if (event == NETBIOS_EVENT_START)
293 switch (event) {
337 switch (event) {
371 smb_netbios_wait(netbios_event_t event) argument
378 switch (event) {
383 (event
[all...]

Completed in 84 milliseconds

123