Home
last modified time | relevance | path

Searched refs:watchers (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/include/linux/
Dwatch_queue.h75 struct hlist_head watchers; member
98 INIT_HLIST_HEAD(&wlist->watchers); in init_watch_list()
Dkey.h197 struct watch_list *watchers; /* Entities watching this key for changes */ member
/linux-5.19.10/kernel/
Dwatch_queue.c214 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification()
462 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
480 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); in add_one_watch()
538 hlist_for_each_entry(watch, &wlist->watchers, list_node) { in remove_watch_from_object()
584 if (all && !hlist_empty(&wlist->watchers)) in remove_watch_from_object()
/linux-5.19.10/security/keys/
Dgc.c135 remove_watch_list(key->watchers, key->serial); in key_gc_unused_keys()
136 key->watchers = NULL; in key_gc_unused_keys()
Dkeyctl.c1793 if (!key->watchers) { in keyctl_watch_key()
1813 if (!key->watchers) { in keyctl_watch_key()
1814 key->watchers = wlist; in keyctl_watch_key()
1818 ret = add_watch_to_object(watch, key->watchers); in keyctl_watch_key()
1825 if (key->watchers) { in keyctl_watch_key()
1827 ret = remove_watch_from_object(key->watchers, in keyctl_watch_key()
Dinternal.h199 post_watch_notification(key->watchers, &n.watch, current_cred(), in notify_key()
/linux-5.19.10/Documentation/core-api/
Derrseq.rst34 The general idea is for "watchers" to sample an errseq_t value and keep
38 record errors in one place, and then have a number of "watchers" that
Dwatch_queue.rst97 A "watch list" is a list of watchers that are subscribed to a source of
/linux-5.19.10/include/linux/ceph/
Dosd_client.h560 struct ceph_watch_item **watchers,
/linux-5.19.10/net/bridge/netfilter/
DKconfig218 # watchers
/linux-5.19.10/net/ceph/
Dosd_client.c4979 struct ceph_watch_item **watchers, in decode_watchers() argument
4993 *watchers = kcalloc(*num_watchers, sizeof(**watchers), GFP_NOIO); in decode_watchers()
4994 if (!*watchers) in decode_watchers()
4998 ret = decode_watcher(p, end, *watchers + i); in decode_watchers()
5000 kfree(*watchers); in decode_watchers()
5016 struct ceph_watch_item **watchers, in ceph_osdc_list_watchers() argument
5052 ret = decode_watchers(&p, end, watchers, num_watchers); in ceph_osdc_list_watchers()
/linux-5.19.10/lib/
DKconfig.kcsan142 bool "Interruptible watchers" if !KCSAN_STRICT
/linux-5.19.10/drivers/block/
Drbd.c3882 struct ceph_watch_item *watchers; in find_watcher() local
3889 &rbd_dev->header_oloc, &watchers, in find_watcher()
3900 if (ceph_addr_equal_no_type(&watchers[i].addr, in find_watcher()
3902 watchers[i].cookie == cookie) { in find_watcher()
3904 .gid = le64_to_cpu(watchers[i].name.num), in find_watcher()
3919 kfree(watchers); in find_watcher()