Home
last modified time | relevance | path

Searched full:watch (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/freebsd/sys/ddb/
H A Ddb_watch.c61 static void db_watchpoint_free(db_watchpoint_t watch);
74 db_watchpoint_t watch; in db_watchpoint_alloc() local
76 if ((watch = db_free_watchpoints) != 0) { in db_watchpoint_alloc()
77 db_free_watchpoints = watch->link; in db_watchpoint_alloc()
78 return (watch); in db_watchpoint_alloc()
84 watch = db_next_free_watchpoint; in db_watchpoint_alloc()
87 return (watch); in db_watchpoint_alloc()
91 db_watchpoint_free(db_watchpoint_t watch) in db_watchpoint_free() argument
93 watch->link = db_free_watchpoints; in db_watchpoint_free()
94 db_free_watchpoints = watch; in db_watchpoint_free()
[all …]
/freebsd/sys/dev/xen/xenstore/
H A Dxenstore_dev.c62 struct xs_watch watch; member
184 struct xs_dev_watch *watch; in xs_dev_find_watch() local
186 LIST_FOREACH(watch, &u->watches, list) in xs_dev_find_watch()
187 if (strcmp(watch->token, token) == 0) in xs_dev_find_watch()
188 return (watch); in xs_dev_find_watch()
194 xs_dev_watch_cb(struct xs_watch *watch, const char **vec, unsigned int len) in xs_dev_watch_cb() argument
200 dwatch = (struct xs_dev_watch *)watch->callback_data; in xs_dev_watch_cb()
262 struct xs_dev_watch *watch; in xs_dev_write() local
332 watch = malloc(sizeof(*watch), M_XENSTORE, M_WAITOK); in xs_dev_write()
333 watch->watch.node = strdup(wpath, M_XENSTORE); in xs_dev_write()
[all …]
H A Dxenstore.c131 /* Queued watch events. */
136 } watch; member
192 * List of pending watch callback events.
196 /** Lock protecting the watch calback list. */
206 * watch event callbacks.
211 * callbacks of the just unregistered watch are pending
648 msg->u.watch.vec = split(body, msg->hdr.len, in xs_process_msg()
649 &msg->u.watch.vec_size); in xs_process_msg()
652 msg->u.watch.handle = find_watch( in xs_process_msg()
653 msg->u.watch.vec[XS_WATCH_TOKEN]); in xs_process_msg()
[all …]
/freebsd/sys/kern/
H A Dvfs_inotify.c168 int nextwatch; /* next watch ID to try */
366 inotify_unlink_watch_locked(struct inotify_softc *sc, struct inotify_watch *watch) in inotify_unlink_watch_locked() argument
370 vp = watch->vp; in inotify_unlink_watch_locked()
376 TAILQ_REMOVE(&vp->v_pollinfo->vpi_inotify, watch, vlink); in inotify_unlink_watch_locked()
382 inotify_free_watch(struct inotify_watch *watch) in inotify_free_watch() argument
384 vrele(watch->vp); in inotify_free_watch()
385 free(watch, M_INOTIFY); in inotify_free_watch()
389 * Assumes that the watch has already been removed from its softc.
392 inotify_remove_watch(struct inotify_watch *watch) in inotify_remove_watch() argument
397 sc = watch->sc; in inotify_remove_watch()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_common.c59 DBusWatch *watch, eloop_event_type type) in process_watch() argument
66 dbus_watch_handle(watch, DBUS_WATCH_READABLE); in process_watch()
68 dbus_watch_handle(watch, DBUS_WATCH_WRITABLE); in process_watch()
70 dbus_watch_handle(watch, DBUS_WATCH_ERROR); in process_watch()
99 static dbus_bool_t add_watch(DBusWatch *watch, void *data) in add_watch() argument
105 if (!dbus_watch_get_enabled(watch)) in add_watch()
108 flags = dbus_watch_get_flags(watch); in add_watch()
109 fd = dbus_watch_get_unix_fd(watch); in add_watch()
112 process_watch_exception, priv, watch) < 0) in add_watch()
117 priv, watch) < 0) in add_watch()
[all …]
/freebsd/lib/libsys/
H A Dinotify.247 int wd; /* Watch descriptor */
98 To watch a file or directory, the
103 They take a path and a mask of events to watch for, and return a
104 .Dq watch descriptor ,
110 system call removes a watch from an inotify descriptor.
179 When a watch is removed from a file, for example because it was created with the
181 flag, the file was deleted, or the watch was explicitly removed with
183 an event with this mask is generated to indicate that the watch will not
185 Once this event is generated, the watch is automatically removed, and in
214 When adding a watch to an object, and that object is already watched by the
[all …]
/freebsd/cddl/usr.sbin/dwatch/
H A Ddwatch.130 .Nd watch processes as they trigger a particular DTrace probe
471 Watch processes entering system CPU scheduler.
499 Watch all functions named
505 Watch all probe traversal.
510 Watch syscall probe traversal.
540 Watch syscall traversal by ruby processes.
545 Watch syscall traversal by processes containing
552 Watch signals being passed to
558 Watch signals being passed between
588 Watch paths being removed by
[all …]
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupWatchpoint.cpp23 "Watch for read",
28 "Watch for write",
33 "Watch for modifications",
38 "Watch for read/write",
43 {LLDB_OPT_SET_1, false, "watch", 'w', OptionParser::eRequiredArgument,
48 "Number of bytes to use to watch a region."},
/freebsd/lib/libsys/i386/
H A Di386_set_watch.348 will disable the indicated watch point within the specified debug
58 argument specifies which watch register is used, 0, 1, 2, 3, or \-1.
61 is \-1, a free watch register is found and used.
63 watch registers, an error code of \-1 is returned.
67 specifies the watch address,
72 specifies the type of watch point:
76 DBREG_DR7_WRONLY Break only when the watch area is written to.
77 DBREG_DR7_RDWR Break when the watch area is read from or written
/freebsd/sys/xen/xenstore/
H A Dxenstorevar.h57 /* Register callback to watch subtree (node) in the XenStore. */
68 /* Callback client data untouched by the XenStore watch mechanism. */
71 /* Maximum number of pending watch events to be delivered. */
327 * Register a XenStore watch.
330 * within the watch object) of changes to an object in the XenStore.
332 * \param watch An xs_watch struct with it's node and callback fields
338 * xenbus_watch objects, to watch the same path in the XenStore.
340 int xs_register_watch(struct xs_watch *watch);
343 * Unregister a XenStore watch.
345 * \param watch An xs_watch object previously used in a successful call
[all …]
/freebsd/sys/xen/xenbus/
H A Dxenbusb.c116 * XenBus watch callback registered against the "state" XenStore
122 * \param watch The xs_watch object used to register this callback
125 * watch event data. The vector should be indexed via the
130 xenbusb_otherend_watch_cb(struct xs_watch *watch, const char **vec, in xenbusb_otherend_watch_cb() argument
139 ivars = (struct xenbus_device_ivars *)watch->callback_data; in xenbusb_otherend_watch_cb()
153 * XenBus watch callback registered against the XenStore sub-tree
159 * \param watch The xs_watch object used to register this callback
162 * watch event data. The vector should be indexed via the
168 xenbusb_local_watch_cb(struct xs_watch *watch, const char **vec, in xenbusb_local_watch_cb() argument
176 ivars = (struct xenbus_device_ivars *)watch->callback_data; in xenbusb_local_watch_cb()
[all …]
H A Dxenbusb.h60 * XenStore watch used to monitor the subtree of the
123 * XenStore watch used to monitor the subtree of the
130 * XenStore watch used to monitor the XenStore sub-tree
131 * associated with this device. This watch will fire
199 * a XenStore watch so we are notified when the bus topology changes.
/freebsd/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DWatchpointAlgorithms.h30 /// The number of bytes the user wants to watch.
57 /// target can watch at once; if all resources cannot be set, the
71 /// that can watch power-of-2 size & aligned memory regions.
74 /// most watchpoint implementations can be assumed to be able to watch up
89 /// watch a minimum of 8 bytes (although Byte Address Select watchpoints
90 /// can watch 1 to pointer-size bytes in a pointer-size aligned granule).
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DWatchpointAlgorithms.cpp37 // As a fallback, assume we can watch any power-of-2 in AtomizeWatchpointRequest()
72 /// into hardware watchpoints, for a target that can watch a power-of-2
76 /// If a user asks to watch 4 bytes at address 0x1002 (0x1002-0x1005
81 /// If a user asks to watch 16 bytes at 0x1000, and this target supports
97 // Can't watch zero bytes. in PowerOf2Watchpoints()
110 // hardware can watch, completely cover the requested region. in PowerOf2Watchpoints()
115 // If the maximum region we can watch is larger than the aligned in PowerOf2Watchpoints()
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.150 allows you to specify which events to watch (for example, spin on adaptive
100 Watch all lock events.
105 Watch contention events.
107 Watch error events.
109 Only watch the specified events.
116 Watch hold events.
118 Watch profiling interrupt events.
151 Only watch events longer than
154 Only watch events generated by
160 Only watch
/freebsd/contrib/libpcap/
H A Dpcap-dbus.c242 * Apparently, you have to register "add watch", "remove watch", in dbus_activate()
243 * and "toggle watch" functions with in dbus_activate()
245 * keep a *set* of FDs, add to that set in the "add watch" in dbus_activate()
246 * function, subtract from it in the "remove watch" function, in dbus_activate()
248 * watch" function, and do the wait on *all* of the FDs in the in dbus_activate()
249 * set. (Yes, you need the "toggle watch" function, so that in dbus_activate()
251 * a given watch is enabled or disabled - most libpcap programs in dbus_activate()
/freebsd/tests/sys/kqueue/libkqueue/
H A Dvnode.c232 /* Add the watch and immediately disable it */ in test_kevent_vnode_disable_and_enable()
240 /* Confirm that the watch is disabled */ in test_kevent_vnode_disable_and_enable()
291 /* Confirm that the watch is disabled automatically */ in test_kevent_vnode_dispatch()
292 puts("-- checking that watch is disabled"); in test_kevent_vnode_dispatch()
297 /* Delete the watch */ in test_kevent_vnode_dispatch()
300 err(1, "remove watch failed: %s", test_id); in test_kevent_vnode_dispatch()
/freebsd/usr.sbin/watch/
H A DMakefile1 PROG= watch
2 MAN= watch.8
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.js150 function watch(rootSelector, targetSelector, targetToID, data) { function
157 watch('#code', '.c', {
164 watch('#cfg', '.bb', {
170 watch('#timeline', '.entry', {
176 watch('#bb-elements', 'tr', {
180 watch('#iterations', '.chooser', {
/freebsd/contrib/tcsh/nls/C/
H A Dset263 1 cannot stat %s. Please "unset watch".\n
4 2 %s cannot be opened. Please "unset watch".\n
/freebsd/contrib/tcsh/nls/et/
H A Dset263 1 Ei saa lugeda %s atribuute. Anna käsk "unset watch".\n
4 2 %s ei saa avada. Anna käsk "unset watch".\n
/freebsd/contrib/tcsh/nls/german/
H A Dset263 1 Kein Zugriff auf %s. Bitte "unset watch" eingeben.\n
4 2 %s kann nicht geöffnet werden. Bitte "unset watch" eingeben.\n
/freebsd/contrib/tcsh/nls/ukrainian/
H A Dset263 1 cannot stat %s. Please "unset watch".\n
4 2 %s cannot be opened. Please "unset watch".\n
/freebsd/contrib/tcsh/nls/finnish/
H A Dset263 1 Testaaminen ei onnistu: stat(%s). Ole hyvä ja suorita "unset watch".\n
4 2 %s ei avaudu. Ole hyvä ja suorita "unset watch".\n
/freebsd/contrib/tcsh/nls/russian/
H A Dset263 1 не могу выполнить stat на %s. Пожалуйста, выполните "unset watch".\n
4 2 %s не может быть открыт. Пожалуйста, выполните "unset watch".\n

12345678910>>...15