Home
last modified time | relevance | path

Searched full:watches (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/linux/arch/mips/kernel/
H A Dwatch.c20 struct mips3264_watch_reg_state *watches = &t->thread.watch.mips3264; in mips_install_watch_registers() local
28 write_c0_watchlo3(watches->watchlo[3]); in mips_install_watch_registers()
29 write_c0_watchhi3(watchhi | watches->watchhi[3]); in mips_install_watch_registers()
32 write_c0_watchlo2(watches->watchlo[2]); in mips_install_watch_registers()
33 write_c0_watchhi2(watchhi | watches->watchhi[2]); in mips_install_watch_registers()
36 write_c0_watchlo1(watches->watchlo[1]); in mips_install_watch_registers()
37 write_c0_watchhi1(watchhi | watches->watchhi[1]); in mips_install_watch_registers()
40 write_c0_watchlo0(watches->watchlo[0]); in mips_install_watch_registers()
41 write_c0_watchhi0(watchhi | watches->watchhi[0]); in mips_install_watch_registers()
52 struct mips3264_watch_reg_state *watches = in mips_read_watch_registers() local
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-xs-node.c69 g_hash_table_unref(s->watches); in xs_impl_delete()
497 GString *watches = g_string_new(NULL); in do_test_xs_node_tx() local
506 watch_cb, watches); in do_test_xs_node_tx()
508 g_assert(watches->len == strlen("somewatch")); in do_test_xs_node_tx()
509 g_assert(!strcmp(watches->str, "somewatch")); in do_test_xs_node_tx()
510 g_string_truncate(watches, 0); in do_test_xs_node_tx()
517 g_assert(!strcmp(watches->str, in do_test_xs_node_tx()
519 g_string_truncate(watches, 0); in do_test_xs_node_tx()
531 g_assert(!strcmp(watches->str, in do_test_xs_node_tx()
533 g_string_truncate(watches, 0); in do_test_xs_node_tx()
[all …]
/openbmc/qemu/util/
H A Dfilemonitor-inotify.c50 GArray *watches; /* QFileMonitorWatch elements */ member
140 for (i = 0; i < dir->watches->len; i++) { in qemu_file_monitor_watch()
141 QFileMonitorWatch *watch = &g_array_index(dir->watches, in qemu_file_monitor_watch()
166 for (i = 0; i < dir->watches->len; i++) { in qemu_file_monitor_dir_free()
167 QFileMonitorWatch *watch = &g_array_index(dir->watches, in qemu_file_monitor_dir_free()
171 g_array_unref(dir->watches); in qemu_file_monitor_dir_free()
279 dir->watches = g_array_new(FALSE, TRUE, sizeof(QFileMonitorWatch)); in qemu_file_monitor_add_watch()
294 g_array_append_val(dir->watches, watch); in qemu_file_monitor_add_watch()
324 for (i = 0; i < dir->watches->len; i++) { in qemu_file_monitor_remove_watch()
325 QFileMonitorWatch *watch = &g_array_index(dir->watches, in qemu_file_monitor_remove_watch()
[all …]
/openbmc/qemu/hw/i386/kvm/
H A Dxenstore_impl.c66 GHashTable *watches; member
267 GList *watches; member
303 l = op->watches; in fire_watches()
306 w = g_hash_table_lookup(op->s->watches, op->path); in fire_watches()
391 * Fire watches on *this* node but not the parents because they are in node_rm_recurse()
465 /* Fire watches for, and count, nodes in the subtree which get deleted */ in xs_node_rm()
598 watch = g_hash_table_lookup(op->s->watches, op->path); in xs_node_walk()
687 op->watches = g_list_append(op->watches, watch); in xs_node_walk()
697 op->watches = g_list_remove(op->watches, watch); in xs_node_walk()
746 assert(!op->watches); in xs_node_walk()
[all …]
H A Dxen_xenstore.c416 * watches in unprivileged domains.
418 * ---------- Watches ----------
427 * matched against all the watches currently set up, and each
445 * away, with <path> equal to <wpath>. Watches may be triggered
448 * Watches are supposed to be restricted by the permissions
476 * Reset all watches and transactions of the caller.
1501 GList *watches; member
1628 for (l = h->watches; l; l = l->next) { in be_watch_bh()
1673 h->watches = g_list_append(h->watches, w); in xs_be_watch()
1681 h->watches = g_list_remove(h->watches, w); in xs_be_unwatch()
[all …]
/openbmc/phosphor-dbus-monitor/src/
H A Dwatch.hpp15 * The start method is invoked by main() on all watches of any type
16 * at application startup, to allow watches to perform custom setup
20 * The callback method is invoked by main() on all watches of any
21 * type at application startup, after all watches have performed
H A Dsdbusplus.hpp29 static std::vector<sdbusplus::bus::match_t> watches; in getWatches() local
30 return watches; in getWatches()
/openbmc/linux/kernel/
H A Daudit_watch.c42 struct list_head wlist; /* entry in parent->watches list */
47 struct list_head watches; /* anchor for audit_watch->wlist */ member
60 WARN_ON(!list_empty(&parent->watches)); in audit_free_parent()
146 INIT_LIST_HEAD(&parent->watches); in audit_init_parent()
254 /* Run all of the watches on this parent looking for the one that in audit_update_watch()
256 list_for_each_entry_safe(owatch, nextw, &parent->watches, wlist) { in audit_update_watch()
316 list_add(&nwatch->wlist, &parent->watches); in audit_update_watch()
321 /* Remove all watches & rules associated with a parent that is going away. */
329 list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { in audit_remove_parent_watches()
347 /* Get path information necessary for adding watches. */
[all …]
H A Dwatch_queue.c476 hlist_add_head(&watch->queue_node, &wqueue->watches); in add_one_watch()
514 * remove_watch_from_object - Remove a watch or all watches from an object.
520 * Remove a specific watch or all watches from an object. A notification is
590 * Remove all the watches that are contributory to a queue. This has the
591 * potential to race with removal of the watches by the destruction of the
609 while (!hlist_empty(&wqueue->watches)) { in watch_queue_clear()
610 watch = hlist_entry(wqueue->watches.first, struct watch, queue_node); in watch_queue_clear()
696 INIT_HLIST_HEAD(&wqueue->watches); in watch_queue_init()
/openbmc/phosphor-dbus-monitor/src/test/templates/
H A Dpropertywatchgentest.mako.hpp13 const std::array<std::tuple<std::string, size_t>, ${len(watches)}> watches = {{ variable
14 % for w in watches:
/openbmc/linux/include/uapi/linux/
H A Dcounter.h86 * The queued watches will not be applied until COUNTER_ENABLE_EVENTS_IOCTL is
91 * Enables monitoring the events specified by the Counter watches that were
94 * If events are already enabled, the new set of watches replaces the old one.
95 * Calling this ioctl also has the effect of clearing the queue of watches added
/openbmc/linux/include/linux/
H A Dwatch_queue.h42 struct hlist_head watches; /* Contributory watches */ member
60 struct hlist_node queue_node; /* Link in queue->watches */
70 * List of watches on an object.
/openbmc/linux/Documentation/core-api/
H A Dwatch_queue.rst81 and 255. Multiple watches may share a queue, and this provides a means to
118 This removes all of the watches subscribed to a watch_list and frees them
171 The following functions are provided to manage watches:
197 Remove all the watches from a watch list. It is expected that this will be
199 inaccessible to new watches by this point. A notification
207 To post a notification to watch list so that the subscribed watches can see it,
225 Only watches that have the same ID set in them will see this notification.
/openbmc/linux/tools/counter/
H A Dcounter_example.c19 static struct counter_watch watches[2] = { variable
56 ret = ioctl(fd, COUNTER_ADD_WATCH_IOCTL, watches + i); in main()
58 fprintf(stderr, "Error adding watches[%d]: %s\n", i, in main()
/openbmc/openbmc/poky/scripts/
H A Dautobuilder-worker-prereq-tests51 WATCHES=$(PATH="/sbin:/usr/sbin:$PATH" sysctl fs.inotify.max_user_watches -n)
52 if (( $WATCHES < 65000 )); then
53 …echo 'Need to increase watches (echo fs.inotify.max_user_watches=65536 | sudo tee -a /etc/sysctl.c…
/openbmc/linux/Documentation/filesystems/
H A Dinotify.rst22 Watches are associated with an open inotify device, not an open file.
39 want: Users initialize inotify, once, and add n watches, requiring but one
85 Obtaining the fd and managing the watches could have been done either via a
/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c92 * the "transactions" and "watches" lists, and the partial
104 /* Active watches. */
105 struct list_head watches; member
326 list_for_each_entry_safe(watch, tmp_watch, &u->watches, list) { in xenbus_worker()
530 list_add(&watch->list, &u->watches); in xenbus_write_watch()
532 list_for_each_entry(watch, &u->watches, list) { in xenbus_write_watch()
665 INIT_LIST_HEAD(&u->watches); in xenbus_file_open()
H A Dxenbus_dev_backend.c38 * xenstore and set up watches. These watches will be restored by in xenbus_alloc()
H A Dxenbus_xs.c59 * New watch events happening in this time can be ignored by firing all watches
77 /* List of registered watches, and a lock to protect it. */
78 static LIST_HEAD(watches);
690 list_for_each_entry(i, &watches, list) in find_watch()
778 list_add(&watch->list, &watches); in register_xenbus_watch()
859 list_for_each_entry(watch, &watches, list) { in xs_resume()
952 /* shutdown watches for kexec boot */ in xs_init()
/openbmc/phosphor-dbus-monitor/src/test/
H A Dpropertywatchgentest.cpp66 ASSERT_EQ(sizeof(expectedWatches), sizeof(watches)); in TEST()
74 ASSERT_EQ(watches[i], expectedWatches[i]); in TEST()
/openbmc/linux/drivers/watchdog/
H A DKconfig1058 simply watches your kernel to make sure it doesn't freeze, and if
1160 processors. This watchdog watches your kernel to make sure
1173 This watchdog simply watches your kernel to make sure it doesn't
1219 watchdog simply watches your kernel to make sure it doesn't freeze,
1345 This watchdog simply watches your kernel to make sure it doesn't
1411 This watchdog simply watches your kernel to make sure it doesn't
1482 watchdog simply watches your kernel to make sure it doesn't freeze,
1517 This watchdog simply watches your kernel to make sure it doesn't
1576 This watchdog simply watches your kernel to make sure it doesn't
1591 watchdog simply watches your kernel to make sure it doesn't freeze,
[all …]
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py749 # auto_add is enabled. Manually add watches to the inner subtrees.
780 # The next loop renames all watches with src_path as base path.
783 for w in self._watch_manager.watches.values():
1387 It destroys all existing watches, pending events,...
1586 @param auto_add: Automatically add watches on new directories.
1681 WatchManager Exception. Raised on error encountered on watches
1689 same call for which watches were successfully added.
1737 several independant WatchManager must be instanciated or if all watches
1738 must be removed and no other watches need to be added.
1773 def watches(self): member in WatchManager
[all …]
/openbmc/phosphor-dbus-monitor/src/test/yaml/interfaceaddtest/
H A Done.yaml1 # Validate number of watches created for the object path
/openbmc/openbmc/meta-phosphor/recipes-phosphor/dbus/
H A Dphosphor-dbus-monitor_git.bb3 that watches DBus traffic for events and takes actions based on those events."
/openbmc/phosphor-dbus-monitor/src/templates/
H A Dgenerated.mako.hpp249 using PropertyWatches = std::array<std::unique_ptr<Watch>, ${len(watches)}>;
255 % for w in watches: in get()

123