Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dwatch_queue.h74 struct hlist_head watchers; member
97 INIT_HLIST_HEAD(&wlist->watchers); in init_watch_list()
H A Dkey.h203 struct watch_list *watchers; /* Entities watching this key for changes */ member
/linux/kernel/
H A Dwatch_queue.c210 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification()
459 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
477 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); in add_one_watch()
535 hlist_for_each_entry(watch, &wlist->watchers, list_node) { in remove_watch_from_object()
581 if (all && !hlist_empty(&wlist->watchers)) in remove_watch_from_object()
/linux/security/keys/
H A Dgc.c148 remove_watch_list(key->watchers, key->serial); in key_gc_unused_keys()
149 key->watchers = NULL; in key_gc_unused_keys()
H A Dkeyctl.c1798 if (!key->watchers) { in keyctl_watch_key()
1818 if (!key->watchers) { in keyctl_watch_key()
1819 key->watchers = wlist; in keyctl_watch_key()
1823 ret = add_watch_to_object(watch, key->watchers); in keyctl_watch_key()
1830 if (key->watchers) { in keyctl_watch_key()
1832 ret = remove_watch_from_object(key->watchers, in keyctl_watch_key()
H A Dinternal.h191 post_watch_notification(key->watchers, &n.watch, current_cred(), in notify_key()
/linux/Documentation/core-api/
H 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
H A Dwatch_queue.rst97 A "watch list" is a list of watchers that are subscribed to a source of
/linux/include/linux/ceph/
H A Dosd_client.h634 struct ceph_watch_item **watchers,
/linux/net/bridge/netfilter/
H A DKconfig225 # watchers
/linux/net/ceph/
H A Dosd_client.c5068 struct ceph_watch_item **watchers, in decode_watchers() argument
5082 *watchers = kcalloc(*num_watchers, sizeof(**watchers), GFP_NOIO); in decode_watchers()
5083 if (!*watchers) in decode_watchers()
5087 ret = decode_watcher(p, end, *watchers + i); in decode_watchers()
5089 kfree(*watchers); in decode_watchers()
5105 struct ceph_watch_item **watchers, in ceph_osdc_list_watchers() argument
5141 ret = decode_watchers(&p, end, watchers, num_watchers); in ceph_osdc_list_watchers()
/linux/lib/
H A DKconfig.kcsan143 bool "Interruptible watchers" if !KCSAN_STRICT
/linux/drivers/block/
H A Drbd.c3939 struct ceph_watch_item *watchers; in find_watcher() local
3946 &rbd_dev->header_oloc, &watchers, in find_watcher()
3959 if (ceph_addr_equal_no_type(&watchers[i].addr, in find_watcher()
3961 watchers[i].cookie == cookie) { in find_watcher()
3963 .gid = le64_to_cpu(watchers[i].name.num), in find_watcher()
3978 kfree(watchers); in find_watcher()
/linux/mm/
H A Dmemcontrol.c3968 struct list_head *watchers) in peak_write() argument
3980 list_for_each_entry(peer_ctx, watchers, list) in peak_write()
3986 list_add(&ofp->list, watchers); in peak_write()