Searched refs:watch_list (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | watch_queue.h | 62 struct watch_list __rcu *watch_list; member 73 struct watch_list { struct 80 extern void __post_watch_notification(struct watch_list *, argument 87 extern int add_watch_to_object(struct watch *, struct watch_list *); 88 extern int remove_watch_from_object(struct watch_list *, struct watch_queue *, u64, bool); 95 static inline void init_watch_list(struct watch_list *wlist, in init_watch_list() 103 static inline void post_watch_notification(struct watch_list *wlist, in post_watch_notification() 112 static inline void remove_watch_list(struct watch_list *wlist, u64 id) in remove_watch_list()
|
| H A D | key.h | 197 struct watch_list *watchers; /* Entities watching this key for changes */
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | watch_queue.c | 198 void __post_watch_notification(struct watch_list *wlist, in __post_watch_notification() 460 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue) in add_one_watch() 478 rcu_assign_pointer(watch->watch_list, wlist); in add_one_watch() 499 int add_watch_to_object(struct watch *watch, struct watch_list *wlist) in add_watch_to_object() 529 int remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, in remove_watch_from_object() 552 rcu_assign_pointer(watch->watch_list, NULL); in remove_watch_from_object() 602 struct watch_list *wlist; in watch_queue_clear() 623 wlist = rcu_dereference(watch->watch_list); in watch_queue_clear() 632 rcu_assign_pointer(watch->watch_list, NULL); in watch_queue_clear()
|
| /OK3568_Linux_fs/kernel/Documentation/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/security/keys/ |
| H A D | keyctl.c | 1771 struct watch_list *wlist = NULL; in keyctl_watch_key()
|