Searched refs:watchers (Results 1 – 14 of 14) sorted by relevance
/linux/include/linux/ |
H A D | watch_queue.h | 74 struct hlist_head watchers; member 97 INIT_HLIST_HEAD(&wlist->watchers); in init_watch_list()
|
H A D | key.h | 203 struct watch_list *watchers; /* Entities watching this key for changes */ member
|
/linux/kernel/ |
H A D | watch_queue.c | 210 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 D | gc.c | 148 remove_watch_list(key->watchers, key->serial); in key_gc_unused_keys() 149 key->watchers = NULL; in key_gc_unused_keys()
|
H A D | keyctl.c | 1798 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 D | internal.h | 191 post_watch_notification(key->watchers, &n.watch, current_cred(), in notify_key()
|
/linux/Documentation/core-api/ |
H A D | errseq.rst | 34 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 D | watch_queue.rst | 97 A "watch list" is a list of watchers that are subscribed to a source of
|
/linux/include/linux/ceph/ |
H A D | osd_client.h | 634 struct ceph_watch_item **watchers,
|
/linux/net/bridge/netfilter/ |
H A D | Kconfig | 225 # watchers
|
/linux/net/ceph/ |
H A D | osd_client.c | 5068 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 D | Kconfig.kcsan | 143 bool "Interruptible watchers" if !KCSAN_STRICT
|
/linux/drivers/block/ |
H A D | rbd.c | 3939 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 D | memcontrol.c | 3968 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()
|