Searched refs:event (Results 1 - 25 of 97) sorted by relevance

1234

/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
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Devents.c42 nvlist_t *event; member in struct:event_list
52 * When we add a controller we get an add event for each drive on the
56 * do a single walk. If an add event comes in after we start the walk, we
63 * While running (state 2), if event comes in, go back to waiting (state 1)
79 static void add_event_to_queue(nvlist_t *event);
91 nvlist_t *event = NULL; local
95 /* wait until there is an event in the queue */
116 event = events->event;
124 if (*errp != 0 || event !
180 nvlist_t *event = NULL; local
261 add_event_to_queue(nvlist_t *event) argument
309 nvlist_t *event; local
[all...]
/osnet-11/usr/src/lib/libbsm/common/
H A Dadt_token.c93 adt_token_open(struct adt_event_state *event) argument
97 event->ae_event_handle = au_open();
98 if (event->ae_event_handle < 0) {
116 struct adt_event_state *event)
120 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
139 if (au_close(event->ae_event_handle, AU_TO_WRITE,
140 event->ae_internal_id, event
115 adt_generate_token(struct entry *p_entry, void *p_data, struct adt_event_state *event) argument
160 adt_to_return(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
184 adt_to_cmd(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
210 adt_to_cmd1(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
242 adt_to_tid(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
287 adt_to_frmi(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
312 adt_to_label(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
341 adt_to_newgroups(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
364 adt_to_path(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
389 adt_to_pathlist(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
430 adt_to_priv(datadef *def, void *p_data, int required, struct adt_event_state *event, const char *priv_type) argument
455 adt_to_priv_limit(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
467 adt_to_priv_inherit(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
475 adt_to_priv_effective(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
510 adt_to_process(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
584 adt_to_subject(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
643 adt_to_text(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument
855 adt_to_uauth(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument
881 adt_to_user(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument
911 adt_to_xclient(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument
933 adt_to_zonename(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
958 adt_to_in_peer(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
1051 adt_to_in_remote(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
1093 adt_to_iport(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
1119 adt_to_attr(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
1139 adt_to_arg(datadef *def, void *p_data, int required, struct adt_event_state *event, char *notUsed) argument
[all...]
/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/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 DAdapterAddEventListener.h41 * @memo Encapsulates the callback routine for event dispatch
43 * @doc This class encapsulates the event callback routine
50 virtual void dispatch(Event &event);
H A DAdapterDeviceEventListener.h42 * @memo Encapsulates the callback routine for event dispatch
44 * @doc This class encapsulates the event callback routine
53 virtual void dispatch(Event &event);
H A DAdapterEventListener.h43 * @memo Encapsulates the callback routine for event dispatch
45 * @doc This class encapsulates the event callback routine
52 virtual void dispatch(Event &event);
H A DAdapterPortEventListener.h44 * @memo Encapsulates the callback routine for event dispatch
46 * @doc This class encapsulates the event callback routine
54 virtual void dispatch(Event &event);
H A DAdapterPortStatEventListener.h42 * @memo Encapsulates the callback routine for event dispatch
44 * @doc This class encapsulates the event callback routine
52 virtual void dispatch(Event &event);
H A DListener.h36 * @memo Generic listener super-class for event dispatch
44 virtual void dispatch(Event &event) = 0;
H A DFCSyseventBridge.cc222 log.debug("Null event.");
227 log.debug("Empty event.");
238 // Now that we know what type of event it is, handle it accordingly
247 "Improperly formed event: no instance field.");
257 "Improperly formed event: no port-wwn field.");
265 // Create event instance
266 AdapterPortEvent event(
277 (*tmp)->dispatch(event);
288 // Create event instance
289 AdapterPortEvent event(
[all...]
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/cmd/hal/hald/solaris/
H A Dhotplug.h33 /** Data structure representing a hotplug event; also used for
38 HotplugActionType action; /**< Whether the event is add or remove */
39 HotplugEventType type; /**< Type of hotplug event */
52 void hotplug_event_enqueue (HotplugEvent *event, int front);
/osnet-11/usr/src/lib/libcontract/common/
H A Dlibcontract.c208 ct_ctl_ack(int fd, ctevid_t event) argument
210 if (ioctl(fd, CT_CACK, &event) == -1)
216 ct_ctl_nack(int fd, ctevid_t event) argument
218 if (ioctl(fd, CT_CNACK, &event) == -1)
224 ct_ctl_qack(int fd, ctevid_t event) argument
226 if (ioctl(fd, CT_CQREQ, &event) == -1)
391 * Common event routines
419 ct_event_t *event; local
426 event = &info->event;
[all...]
H A Dprocess.c102 * Process contract event routines
109 if (info->event.ctev_cttype != CTT_PROCESS)
120 if (info->event.ctev_cttype != CTT_PROCESS)
122 if (info->event.ctev_type != CT_PR_EV_FORK)
133 if (info->event.ctev_cttype != CTT_PROCESS)
135 if (info->event.ctev_type != CT_PR_EV_SIGNAL)
146 if (info->event.ctev_cttype != CTT_PROCESS)
148 if (info->event.ctev_type != CT_PR_EV_SIGNAL)
159 if (info->event.ctev_cttype != CTT_PROCESS)
161 if (info->event
[all...]
/osnet-11/usr/src/lib/libcpc/common/
H A Dlibcpc.h90 extern int cpc_set_add_request(cpc_t *cpc, cpc_set_t *set, const char *event,
160 void (*action)(void *arg, int index, const char *event, uint64_t preset,
164 void (*action)(void *arg, const char *event));
166 void (*action)(void *arg, const char *event));
168 void (*action)(void *arg, uint_t picno, const char *event));
170 void (*action)(void *arg, uint_t picno, const char *event));
199 extern int cpc_strtoevent(int cpuver, const char *spec, cpc_event_t *event);
200 extern char *cpc_eventtostr(cpc_event_t *event);
201 extern void cpc_event_accum(cpc_event_t *accum, cpc_event_t *event);
204 extern int cpc_bind_event(cpc_event_t *event, in
[all...]
/osnet-11/usr/src/lib/libcpc/sparc/
H A Devent_ultra.c27 * Routines to capture processor-dependencies in event specification.
57 * By default, user event counting is enabled, system event counting
61 * the string, if no errors are encountered, the event handle is
111 "event '%s' on this cpu\n"), regno, value);
150 "pic0", /* takes a valid event name */
152 "pic1", /* takes a valid event name */
204 cpc_strtoevent(int cpuver, const char *spec, cpc_event_t *event) argument
218 bzero(event, sizeof (*event));
382 cpc_eventtostr(cpc_event_t *event) argument
426 cpc_event_accum(cpc_event_t *accum, cpc_event_t *event) argument
451 __cpc_eventtoset(cpc_t *cpc, cpc_event_t *event, int iflags) argument
[all...]
/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);

Completed in 270 milliseconds

1234