Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dwatch_queue.h75 struct hlist_head watchers; member
98 INIT_HLIST_HEAD(&wlist->watchers); in init_watch_list()
A Dkey.h203 struct watch_list *watchers; /* Entities watching this key for changes */ member
/linux-6.3-rc2/kernel/
A Dwatch_queue.c214 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification()
463 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
481 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); in add_one_watch()
539 hlist_for_each_entry(watch, &wlist->watchers, list_node) { in remove_watch_from_object()
585 if (all && !hlist_empty(&wlist->watchers)) in remove_watch_from_object()
/linux-6.3-rc2/security/keys/
A Dgc.c135 remove_watch_list(key->watchers, key->serial); in key_gc_unused_keys()
136 key->watchers = NULL; in key_gc_unused_keys()
A 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()
A Dinternal.h197 post_watch_notification(key->watchers, &n.watch, current_cred(), in notify_key()
/linux-6.3-rc2/Documentation/core-api/
A 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
A Dwatch_queue.rst97 A "watch list" is a list of watchers that are subscribed to a source of
/linux-6.3-rc2/include/linux/ceph/
A Dosd_client.h559 struct ceph_watch_item **watchers,
/linux-6.3-rc2/net/bridge/netfilter/
A DKconfig218 # watchers
/linux-6.3-rc2/net/ceph/
A Dosd_client.c4976 struct ceph_watch_item **watchers, in decode_watchers() argument
4990 *watchers = kcalloc(*num_watchers, sizeof(**watchers), GFP_NOIO); in decode_watchers()
4991 if (!*watchers) in decode_watchers()
4995 ret = decode_watcher(p, end, *watchers + i); in decode_watchers()
4997 kfree(*watchers); in decode_watchers()
5013 struct ceph_watch_item **watchers, in ceph_osdc_list_watchers() argument
5049 ret = decode_watchers(&p, end, watchers, num_watchers); in ceph_osdc_list_watchers()
/linux-6.3-rc2/lib/
A DKconfig.kcsan143 bool "Interruptible watchers" if !KCSAN_STRICT
/linux-6.3-rc2/drivers/block/
A Drbd.c3881 struct ceph_watch_item *watchers; in find_watcher() local
3888 &rbd_dev->header_oloc, &watchers, in find_watcher()
3899 if (ceph_addr_equal_no_type(&watchers[i].addr, in find_watcher()
3901 watchers[i].cookie == cookie) { in find_watcher()
3903 .gid = le64_to_cpu(watchers[i].name.num), in find_watcher()
3918 kfree(watchers); in find_watcher()

Completed in 41 milliseconds