Home
last modified time | relevance | path

Searched refs:wlist (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dwatch_queue.c195 void __post_watch_notification(struct watch_list *wlist, in __post_watch_notification() argument
211 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification()
455 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue) in add_one_watch() argument
460 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
473 rcu_assign_pointer(watch->watch_list, wlist); in add_one_watch()
478 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); in add_one_watch()
494 int add_watch_to_object(struct watch *watch, struct watch_list *wlist) in add_watch_to_object() argument
503 spin_lock(&wlist->lock); in add_watch_to_object()
504 ret = add_one_watch(watch, wlist, wqueue); in add_watch_to_object()
505 spin_unlock(&wlist->lock); in add_watch_to_object()
[all …]
Daudit_watch.c42 struct list_head wlist; /* entry in parent->watches list */ member
117 list_del(&watch->wlist); in audit_remove_watch()
256 list_for_each_entry_safe(owatch, nextw, &parent->watches, wlist) { in audit_update_watch()
316 list_add(&nwatch->wlist, &parent->watches); in audit_update_watch()
329 list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { in audit_remove_parent_watches()
373 list_for_each_entry(w, &parent->watches, wlist) { in audit_add_to_parent()
393 list_add(&watch->wlist, &parent->watches); in audit_add_to_parent()
/kernel/locking/
Drwsem.c425 struct list_head wlist; in rwsem_mark_wake() local
517 INIT_LIST_HEAD(&wlist); in rwsem_mark_wake()
523 list_move_tail(&waiter->list, &wlist); in rwsem_mark_wake()
557 list_for_each_entry_safe(waiter, tmp, &wlist, list) { in rwsem_mark_wake()