Searched refs:watch_list (Results 1 – 6 of 6) sorted by relevance
/linux/include/linux/ |
H A 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()
|
H A D | key.h | 203 struct watch_list *watchers; /* Entities watching this key for changes */
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | watch_queue.rst | 104 void init_watch_list(struct watch_list *wlist, 107 初始化一个观测列表。 如果 ``release_watch`` 不是NULL,那么这表示当watch_list对 110 * ``void remove_watch_list(struct watch_list *wlist);`` 112 这将删除订阅watch_list的所有观测,并释放它们,然后销毁watch_list对象本身。 152 ``private`` 字段是与watch_list相关联的驱动程序数据,并由 ``watch_list::release_watch()`` 163 * ``int add_watch_to_object(struct watch *watch, struct watch_list *wlist);`` 170 int remove_watch_from_object(struct watch_list *wlist, 178 * ``int remove_watch_from_object(struct watch_list *wlist, NULL, 0, true);`` 190 void post_watch_notification(struct watch_list *wlist,
|
/linux/kernel/ |
H A D | watch_queue.c | 194 void __post_watch_notification(struct watch_list *wlist, in __post_watch_notification() 454 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue) in add_one_watch() 472 rcu_assign_pointer(watch->watch_list, wlist); in add_one_watch() 493 int add_watch_to_object(struct watch *watch, struct watch_list *wlist) in add_watch_to_object() 523 int remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, in remove_watch_from_object() 546 rcu_assign_pointer(watch->watch_list, NULL); in remove_watch_from_object() 596 struct watch_list *wlist; in watch_queue_clear() 620 wlist = rcu_dereference(watch->watch_list); in watch_queue_clear() 629 rcu_assign_pointer(watch->watch_list, NULL); in watch_queue_clear()
|
/linux/Documentation/core-api/ |
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 …]
|
/linux/security/keys/ |
H A D | keyctl.c | 1776 struct watch_list *wlist = NULL; in keyctl_watch_key()
|