Home
last modified time | relevance | path

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

/linux/include/linux/
A Dwatch_queue.h94 static inline void init_watch_list(struct watch_list *wlist, in init_watch_list() argument
97 INIT_HLIST_HEAD(&wlist->watchers); in init_watch_list()
98 spin_lock_init(&wlist->lock); in init_watch_list()
99 wlist->release_watch = release_watch; in init_watch_list()
102 static inline void post_watch_notification(struct watch_list *wlist, in post_watch_notification() argument
107 if (unlikely(wlist)) in post_watch_notification()
108 __post_watch_notification(wlist, n, cred, id); in post_watch_notification()
111 static inline void remove_watch_list(struct watch_list *wlist, u64 id) in remove_watch_list() argument
113 if (wlist) { in remove_watch_list()
114 remove_watch_from_object(wlist, NULL, id, true); in remove_watch_list()
[all …]
/linux/kernel/
A Dwatch_queue.c495 spin_lock(&wlist->lock); in remove_watch_from_object()
501 spin_unlock(&wlist->lock); in remove_watch_from_object()
508 spin_unlock(&wlist->lock); in remove_watch_from_object()
537 if (wlist->release_watch) { in remove_watch_from_object()
540 release_watch = wlist->release_watch; in remove_watch_from_object()
547 if (all && !hlist_empty(&wlist->watchers)) in remove_watch_from_object()
562 struct watch_list *wlist; in watch_queue_clear() local
584 if (wlist) { in watch_queue_clear()
587 spin_lock(&wlist->lock); in watch_queue_clear()
597 release_watch = wlist->release_watch; in watch_queue_clear()
[all …]
A 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()
/linux/drivers/staging/greybus/
A Daudio_topology.c385 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_mixer_dapm_ctl_get() local
386 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get()
434 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_mixer_dapm_ctl_put() local
435 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_put()
470 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_mixer_dapm_ctl_put()
471 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
713 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_enum_dapm_ctl_get() local
714 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_get()
762 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_put()
838 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_enum_dapm_ctl_put()
[all …]
/linux/Documentation/
A Dwatch_queue.rst108 void init_watch_list(struct watch_list *wlist,
109 void (*release_watch)(struct watch *wlist));
116 * ``void remove_watch_list(struct watch_list *wlist);``
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);``
210 void post_watch_notification(struct watch_list *wlist,
/linux/security/keys/
A Dkeyctl.c1771 struct watch_list *wlist = NULL; in keyctl_watch_key() local
1794 wlist = kzalloc(sizeof(*wlist), GFP_KERNEL); in keyctl_watch_key()
1795 if (!wlist) in keyctl_watch_key()
1797 init_watch_list(wlist, NULL); in keyctl_watch_key()
1814 key->watchers = wlist; in keyctl_watch_key()
1815 wlist = NULL; in keyctl_watch_key()
1837 kfree(wlist); in keyctl_watch_key()
/linux/kernel/locking/
A Drwsem.c410 struct list_head wlist; in rwsem_mark_wake() local
500 INIT_LIST_HEAD(&wlist); in rwsem_mark_wake()
506 list_move_tail(&waiter->list, &wlist); in rwsem_mark_wake()
540 list_for_each_entry_safe(waiter, tmp, &wlist, list) { in rwsem_mark_wake()
/linux/sound/soc/
A Dsoc-dapm.c347 struct snd_soc_dapm_widget_list *wlist; member
465 kfree(data->wlist); in dapm_kcontrol_free()
474 return data->wlist; in dapm_kcontrol_get_wlist()
484 if (data->wlist) in dapm_kcontrol_add_widget()
485 n = data->wlist->num_widgets + 1; in dapm_kcontrol_add_widget()
489 new_wlist = krealloc(data->wlist, in dapm_kcontrol_add_widget()
498 data->wlist = new_wlist; in dapm_kcontrol_add_widget()
659 list_for_each_entry_from(w, wlist, list) { in dapm_wcache_lookup()
1747 struct snd_soc_dapm_widget_list *wlist; in dapm_widget_update() local
1757 for_each_dapm_widgets(wlist, wi, w) { in dapm_widget_update()
[all …]

Completed in 25 milliseconds