Searched refs:event (Results 1 - 25 of 905) sorted by path

1234567891011>>

/freebsd-11-stable/bin/pwait/
H A Dpwait.c38 #include <sys/event.h>
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/
H A Dtst.platformevent.ksh30 # specific event.
46 if (/(\s+)event\[*[0-9]-*[0-9]*\]*:/ && !/PAPI/) {
48 \$event = \$a[\$#a-1];
53 print "\$event\n";
76 event=$(get_event)
77 script $event
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c74 uint32_t ls_count; /* cumulative event count */
75 uint32_t ls_event; /* type of event */
77 uint64_t ls_time; /* cumulative event duration */
180 { 'C', "Lock", "Unknown event (type 16)", "units" },
181 { 'C', "Lock", "Unknown event (type 17)", "units" },
182 { 'C', "Lock", "Unknown event (type 18)", "units" },
183 { 'C', "Lock", "Unknown event (type 19)", "units" },
184 { 'C', "Lock", "Unknown event (type 20)", "units" },
185 { 'C', "Lock", "Unknown event (type 21)", "units" },
186 { 'C', "Lock", "Unknown event (typ
694 dprog_addevent(int event) argument
1121 uint32_t event; local
1748 uint32_t event = sort_buf[0]->ls_event; local
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_proc.c74 * such an event occurs, the dt_proc_t itself is enqueued on a notification
251 * process reached a particular event (why) rather than continuing the victim.
296 dt_dprintf("pid %d: failed to get %s event message: %s\n",
301 dt_dprintf("pid %d: rtld event %s type=%d state %d\n",
327 dt_proc_rdwatch(dt_proc_t *dpr, rd_event_e event, const char *evname) argument
332 if ((err = rd_event_addr(dpr->dpr_rtld, event, &rdn)) != RD_OK) {
333 dt_dprintf("pid %d: failed to get event address for %s: %s\n",
339 dt_dprintf("pid %d: event %s has unexpected type %d\n",
492 * the process to stop on an event or die. We process any events by calling
584 * process the event, an
[all...]
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dcallout.cc53 #include <devdctl/event.h>
127 * inserted event and those that follow.
H A Dcase_file.cc61 #include <devdctl/event.h>
142 CaseFile::ReEvaluateByGuid(Guid poolGUID, const ZfsEvent &event) argument
149 (*casefile)->ReEvaluate(event);
251 * event.
261 * Since this event was not used to close this
358 CaseFile::ReEvaluate(const ZfsEvent &event) argument
362 if (event.Value("type") == "misc.fs.zfs.vdev_remove") {
370 } else if (event.Value("type") == "misc.fs.zfs.pool_destroy") {
375 } else if (event.Value("type") == "misc.fs.zfs.config_sync") {
382 if (event
588 RegisterCallout(const Event &event) argument
1136 IsChecksumEvent(const Event* const event) argument
1143 IsIOEvent(const Event* const event) argument
[all...]
H A Dcase_file.h116 * \param event Try to consume this event with the casefile
119 const ZfsEvent &event);
174 * \return True if this event was consumed by this CaseFile.
184 * \param event The ZfsEvent to evaluate.
186 * \return True if this event was consumed by this CaseFile.
188 virtual bool ReEvaluate(const ZfsEvent &event);
191 * \brief Register an itimer callout for the given event, if necessary
193 virtual void RegisterCallout(const DevdCtl::Event &event);
199 * will be discarded should a remove event occu
[all...]
H A Dvdev.cc57 #include <devdctl/event.h>
H A Dzfsd.cc36 * The ZFS daemon consumes kernel devdctl(4) event data via devd(8)'s
61 #include <devdctl/event.h>
228 Event *event; local
251 event = Event::CreateEvent(GetFactory(), string(evString));
252 if (event != NULL) {
253 event->Process();
254 delete event;
286 Event *event; local
289 event = Event::CreateEvent(GetFactory(),
291 if (event !
[all...]
H A Dzfsd_event.cc56 #include <devdctl/event.h>
115 /* Log the event since it is of interest. */
325 * evaluate the event.
356 msg << "ZfsEvent::Process: Unconsumed event for vdev(";
423 * It's possible to get a resilver_finish event with no
H A Dzfsd_main.cc51 #include <devdctl/event.h>
H A Dzpool_list.cc52 #include <devdctl/event.h>
/freebsd-11-stable/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc49 #include <devdctl/event.h>
157 MOCK_METHOD1(RegisterCallout, void(const Event &event));
159 MOCK_METHOD1(ReEvaluate, bool(const ZfsEvent &event));
161 bool RealReEvaluate(const ZfsEvent &event) argument
163 return (CaseFile::ReEvaluate(event));
167 * This splices the event lists, a procedure that would normally be done
472 * A Vdev with only one event should not be degraded or faulted
561 Event *event(Event::CreateEvent(*m_eventFactory,
563 ZfsEvent *zfs_event = static_cast<ZfsEvent*>(event);
565 delete event;
[all...]
/freebsd-11-stable/contrib/bmake/
H A Dtrace.c52 * Trace_Log Log an event about a particular make job.
90 Trace_Log(TrEvent event, Job *job) argument
102 evname[event], trpid, trwd);
/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dmain.c182 /* event context */
1697 evEvent event; local
1706 if (evGetNext(evctx, &event, EV_WAIT) == 0) {
1707 if (evDispatch(evctx, event))
/freebsd-11-stable/contrib/dialog/
H A Dmousewget.c41 MEVENT event; local
44 if (getmouse(&event) != ERR) {
45 if ((p = dlg_mouse_region(event.y, event.x)) != 0) {
47 } else if ((p = dlg_mouse_bigregion(event.y, event.x)) != 0) {
48 int x = event.x - p->x;
49 int y = event.y - p->y;
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb-events.c230 struct event struct
233 struct event *next;
247 struct event *pending_events;
248 struct event *delivering_events;
251 append (struct event *new_event)
253 struct event **event = &pending_events; local
254 while ((*event) != NULL)
255 event = &((*event)
263 struct event *event = XMALLOC (struct event); local
272 struct event *event = XMALLOC (struct event); local
281 struct event *event = XMALLOC (struct event); local
290 struct event *event = XMALLOC (struct event); local
299 struct event *event = XMALLOC (struct event); local
308 struct event *event = XMALLOC (struct event); local
317 struct event *event = XMALLOC (struct event); local
325 struct event *event = XMALLOC (struct event); local
333 struct event *event = XMALLOC (struct event); local
342 struct event *event = XMALLOC (struct event); local
354 struct event *event = delivering_events; local
366 struct event *event = delivering_events; local
[all...]
H A Dgdb-events.sh270 /* Clear event handlers */
411 # event type
430 # event data
448 # event queue
450 struct event
453 struct event *next;
472 struct event *pending_events;
473 struct event *delivering_events;
480 append (struct event *new_event)
482 struct event **even
[all...]
H A Dgdb_thread_db.h56 TD_NOMSG, /* No event available. */
59 TD_NOEVENT, /* Requested event is not supported. */
161 TD_ALL_EVENTS, /* Pseudo-event number. */
191 /* Description how event type is reported. */
194 td_notify_e type; /* Way the event is reported. */
212 /* Structure used to report event. */
215 td_event_e event; /* Event type being reported. */ member in struct:td_event_msg
216 const td_thrhandle_t *th_p; /* Thread reporting the event. */
226 /* Structure containing event data available in each thread structure. */
230 td_event_e eventnum; /* Number of last event
[all...]
H A Dinfttrace.c207 Similiarly, the initial setting of the event mask happens
255 Then there's the issue of waiting for an event. We do this by
358 int handled; /* 1 if a buffered event was handled. */
366 int have_state; /* 1 if the event state has been set */
367 ttstate_t last_stop_state; /* The most recently-waited event for this thread. */
438 * ttrace event being reported.
441 get_printable_name_of_ttrace_event (ttevents_t event)
444 switch (event)
474 return "?new event?";
1038 /* Note that this thread's current event ha
439 get_printable_name_of_ttrace_event(ttevents_t event) argument
[all...]
H A Dnto-procfs.c547 struct sigevent event; local
559 event.sigev_notify = SIGEV_SIGNAL_THREAD;
560 event.sigev_signo = SIGUSR1;
561 event.sigev_code = 0;
562 event.sigev_value.sival_ptr = NULL;
563 event.sigev_priority = -1;
564 devctl (ctl_fd, DCMD_PROC_EVENT, &event, sizeof (event), 0);
H A Dthread-db.c56 /* Pointer to the next function on the objfile event chain. */
95 td_event_e event, td_notify_t *ptr);
97 td_thr_events_t *event);
113 int event);
119 /* Location of the thread creation event breakpoint. The code at this
126 /* Location of the thread death event breakpoint. */
193 return "no event message for getmsg";
199 return "requested event is not supported";
475 enable_thread_event (td_thragent_t *thread_agent, int event, CORE_ADDR *bp)
481 err = td_ta_event_addr_p (thread_agent, event,
469 enable_thread_event(td_thragent_t *thread_agent, int event, CORE_ADDR *bp) argument
[all...]
H A Dwin32-nat.c59 /* The ui's event loop. */
121 static DEBUG_EVENT current_event; /* The current debug event from
684 LOAD_DLL_DEBUG_INFO *event = &current_event.u.LoadDll; local
691 if (!psapi_get_dll_name ((DWORD) (event->lpBaseOfDll), dll_buf))
697 dll_name = get_image_name (current_process_handle, event->lpImageName, event->fUnicode);
701 register_loaded_dll (dll_name, (DWORD) event->lpBaseOfDll + 0x1000);
1228 /* Get the next event from the child. Return 1 if the event requires
1255 DEBUG_EVENTS (("gdb: kernel event fo
[all...]
H A Dwince.c63 /* The ui's event loop. */
163 static DEBUG_EVENT current_event; /* The current debug event from
665 return getresult ("WaitForDebugEvent event", GDB_WAITFORDEBUGEVENT, ev, NULL);
1167 LOAD_DLL_DEBUG_INFO *event = &current_event.u.LoadDll; local
1173 if (!event->lpImageName)
1177 for (bufp = dll_buf, imgp = event->lpImageName;
1192 if (event->fUnicode)
1210 if (!event->fUnicode)
1233 printf_unfiltered ("%x:%s", event->lpBaseOfDll, dll_name);
1361 /* Get the next event fro
[all...]
/freebsd-11-stable/contrib/groff/src/devices/xditview/
H A DDvi.c331 Redisplay(Widget w, XEvent *event, Region region) argument
343 event = event; /* unused; suppress compiler warning */

Completed in 190 milliseconds

1234567891011>>