Searched refs:wlist (Results 1 - 7 of 7) sorted by relevance
/linux-master/include/linux/ |
H A D | watch_queue.h | 94 static inline void init_watch_list(struct watch_list *wlist, argument 97 INIT_HLIST_HEAD(&wlist->watchers); 98 spin_lock_init(&wlist->lock); 99 wlist->release_watch = release_watch; 102 static inline void post_watch_notification(struct watch_list *wlist, argument 107 if (unlikely(wlist)) 108 __post_watch_notification(wlist, n, cred, id); 111 static inline void remove_watch_list(struct watch_list *wlist, u64 id) argument 113 if (wlist) { 114 remove_watch_from_object(wlist, NUL [all...] |
/linux-master/kernel/ |
H A D | watch_queue.c | 183 * @wlist: The watch list to post the event to. 194 void __post_watch_notification(struct watch_list *wlist, argument 210 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { 454 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue) argument 459 hlist_for_each_entry(w, &wlist->watchers, list_node) { 472 rcu_assign_pointer(watch->watch_list, wlist); 477 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); 484 * @wlist: The watch list to add to 493 int add_watch_to_object(struct watch *watch, struct watch_list *wlist) argument 502 spin_lock(&wlist 523 remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, u64 id, bool all) argument 596 struct watch_list *wlist; local [all...] |
H A D | audit_watch.c | 42 struct list_head wlist; /* entry in parent->watches list */ member in struct:audit_watch 47 struct list_head watches; /* anchor for audit_watch->wlist */ 117 list_del(&watch->wlist); 202 * to an empty list and wlist is undefined. */ 256 list_for_each_entry_safe(owatch, nextw, &parent->watches, wlist) { 316 list_add(&nwatch->wlist, &parent->watches); 329 list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { 373 list_for_each_entry(w, &parent->watches, wlist) { 393 list_add(&watch->wlist, &parent->watches);
|
/linux-master/drivers/staging/greybus/ |
H A D | audio_topology.c | 387 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); local 388 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; 436 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); local 437 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; 472 for (wi = 0; wi < wlist->num_widgets; wi++) { 473 widget = wlist->widgets[wi]; 717 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); local 718 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; 764 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); local 765 struct snd_soc_dapm_widget *widget = wlist [all...] |
/linux-master/security/keys/ |
H A D | keyctl.c | 1775 struct watch_list *wlist = NULL; local 1798 wlist = kzalloc(sizeof(*wlist), GFP_KERNEL); 1799 if (!wlist) 1801 init_watch_list(wlist, NULL); 1818 key->watchers = wlist; 1819 wlist = NULL; 1841 kfree(wlist);
|
/linux-master/kernel/locking/ |
H A D | rwsem.c | 417 struct list_head wlist; local 509 INIT_LIST_HEAD(&wlist); 515 list_move_tail(&waiter->list, &wlist); 549 list_for_each_entry_safe(waiter, tmp, &wlist, list) {
|
/linux-master/sound/soc/ |
H A D | soc-dapm.c | 356 struct snd_soc_dapm_widget_list *wlist; member in struct:dapm_kcontrol_data 477 kfree(data->wlist); 486 return data->wlist; 496 if (data->wlist) 497 n = data->wlist->num_widgets + 1; 501 new_wlist = krealloc(data->wlist, 510 data->wlist = new_wlist; 665 struct list_head *wlist = &w->dapm->card->widgets; local 669 list_for_each_entry_from(w, wlist, list) { 1749 struct snd_soc_dapm_widget_list *wlist; local [all...] |
Completed in 169 milliseconds