Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/kernel/
Dwatch_queue.c214 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification()
465 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
483 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); in add_one_watch()
541 hlist_for_each_entry(watch, &wlist->watchers, list_node) { in remove_watch_from_object()
587 if (all && !hlist_empty(&wlist->watchers)) in remove_watch_from_object()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/include/linux/ceph/
Dosd_client.h563 struct ceph_watch_item **watchers,
/kernel/linux/linux-5.10/net/bridge/netfilter/
DKconfig220 # watchers
/kernel/linux/linux-5.10/net/ceph/
Dosd_client.c4968 struct ceph_watch_item **watchers, in decode_watchers() argument
4982 *watchers = kcalloc(*num_watchers, sizeof(**watchers), GFP_NOIO); in decode_watchers()
4983 if (!*watchers) in decode_watchers()
4987 ret = decode_watcher(p, end, *watchers + i); in decode_watchers()
4989 kfree(*watchers); in decode_watchers()
5005 struct ceph_watch_item **watchers, in ceph_osdc_list_watchers() argument
5041 ret = decode_watchers(&p, end, watchers, num_watchers); in ceph_osdc_list_watchers()
/kernel/linux/linux-5.10/lib/
DKconfig.kcsan151 bool "Interruptible watchers"
/kernel/linux/linux-5.10/drivers/block/
Drbd.c3946 struct ceph_watch_item *watchers; in find_watcher() local
3953 &rbd_dev->header_oloc, &watchers, in find_watcher()
3960 if (!memcmp(&watchers[i].addr, &locker->info.addr, in find_watcher()
3962 watchers[i].cookie == cookie) { in find_watcher()
3964 .gid = le64_to_cpu(watchers[i].name.num), in find_watcher()
3979 kfree(watchers); in find_watcher()
/kernel/linux/linux-5.10/Documentation/
Dwatch_queue.rst97 A "watch list" is a list of watchers that are subscribed to a source of