Searched refs:watch_list (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dwatch_queue.h61 struct watch_list __rcu *watch_list; member in struct:watch
62 struct hlist_node list_node; /* Link in watch_list->watchers */
72 struct watch_list { struct
79 extern void __post_watch_notification(struct watch_list *,
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,
102 static inline void post_watch_notification(struct watch_list *wlist,
111 static inline void remove_watch_list(struct watch_list *wlis
[all...]
H A Dkey.h203 struct watch_list *watchers; /* Entities watching this key for changes */
/linux-master/kernel/
H A Dwatch_queue.c194 void __post_watch_notification(struct watch_list *wlist,
454 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue)
472 rcu_assign_pointer(watch->watch_list, wlist);
493 int add_watch_to_object(struct watch *watch, struct watch_list *wlist)
523 int remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq,
546 rcu_assign_pointer(watch->watch_list, NULL);
596 struct watch_list *wlist;
620 wlist = rcu_dereference(watch->watch_list);
629 rcu_assign_pointer(watch->watch_list, NULL);
/linux-master/security/keys/
H A Dkeyctl.c1775 struct watch_list *wlist = NULL;

Completed in 107 milliseconds