Searched refs:watch_list (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/include/linux/ |
| D | watch_queue.h | 61 struct watch_list __rcu *watch_list; member 72 struct watch_list { struct 79 extern void __post_watch_notification(struct watch_list *, argument 86 extern int add_watch_to_object(struct watch *, struct watch_list *); 87 extern int remove_watch_from_object(struct watch_list *, struct watch_queue *, u64, bool); 94 static inline void init_watch_list(struct watch_list *wlist, in init_watch_list() 102 static inline void post_watch_notification(struct watch_list *wlist, in post_watch_notification() 111 static inline void remove_watch_list(struct watch_list *wlist, u64 id) in remove_watch_list()
|
| D | key.h | 197 struct watch_list *watchers; /* Entities watching this key for changes */
|
| /Linux-v5.10/kernel/ |
| D | watch_queue.c | 175 void __post_watch_notification(struct watch_list *wlist, in __post_watch_notification() 442 int add_watch_to_object(struct watch *watch, struct watch_list *wlist) in add_watch_to_object() 454 rcu_assign_pointer(watch->watch_list, wlist); in add_watch_to_object() 484 int remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, in remove_watch_from_object() 507 rcu_assign_pointer(watch->watch_list, NULL); in remove_watch_from_object() 562 struct watch_list *wlist; in watch_queue_clear() 583 wlist = rcu_dereference(watch->watch_list); in watch_queue_clear() 592 rcu_assign_pointer(watch->watch_list, NULL); in watch_queue_clear()
|
| /Linux-v5.10/Documentation/ |
| D | watch_queue.rst | 108 void init_watch_list(struct watch_list *wlist, 112 indicates a function that should be called when the watch_list object is 116 * ``void remove_watch_list(struct watch_list *wlist);`` 118 This removes all of the watches subscribed to a watch_list and frees them 119 and then destroys the watch_list object itself. 165 The ``private`` field is the driver's data associated with the watch_list and 166 is cleaned up by the ``watch_list::release_watch()`` method. 178 * ``int add_watch_to_object(struct watch *watch, struct watch_list *wlist);`` 186 int remove_watch_from_object(struct watch_list *wlist, 195 * ``int remove_watch_from_object(struct watch_list *wlist, NULL, 0, true);`` [all …]
|
| /Linux-v5.10/security/keys/ |
| D | keyctl.c | 1771 struct watch_list *wlist = NULL; in keyctl_watch_key()
|