Home
last modified time | relevance | path

Searched refs:wlist (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/include/linux/
H 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, NUL in remove_watch_list()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dwatch_queue.h95 static inline void init_watch_list(struct watch_list *wlist, in init_watch_list() argument
98 INIT_HLIST_HEAD(&wlist->watchers); in init_watch_list()
99 spin_lock_init(&wlist->lock); in init_watch_list()
100 wlist->release_watch = release_watch; in init_watch_list()
103 static inline void post_watch_notification(struct watch_list *wlist, in post_watch_notification() argument
108 if (unlikely(wlist)) in post_watch_notification()
109 __post_watch_notification(wlist, n, cred, id); in post_watch_notification()
112 static inline void remove_watch_list(struct watch_list *wlist, u64 id) in remove_watch_list() argument
114 if (wlist) { in remove_watch_list()
115 remove_watch_from_object(wlist, NUL in remove_watch_list()
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dwatch_queue.c187 * @wlist: The watch list to post the event to.
198 void __post_watch_notification(struct watch_list *wlist, in __post_watch_notification() argument
214 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification()
461 static int add_one_watch(struct watch *watch, struct watch_list *wlist, struct watch_queue *wqueue) in add_one_watch() argument
466 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
479 rcu_assign_pointer(watch->watch_list, wlist); in add_one_watch()
484 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); in add_one_watch()
491 * @wlist: The watch list to add to
500 int add_watch_to_object(struct watch *watch, struct watch_list *wlist) in add_watch_to_object() argument
509 spin_lock(&wlist in add_watch_to_object()
530 remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, u64 id, bool all) remove_watch_from_object() argument
603 struct watch_list *wlist; watch_queue_clear() local
[all...]
H A Daudit_watch.c42 struct list_head wlist; /* entry in parent->watches list */ member
47 struct list_head watches; /* anchor for audit_watch->wlist */
117 list_del(&watch->wlist); in audit_remove_watch()
201 * to an empty list and wlist is undefined. */
255 list_for_each_entry_safe(owatch, nextw, &parent->watches, wlist) { in audit_update_watch()
315 list_add(&nwatch->wlist, &parent->watches); in audit_update_watch()
328 list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { in audit_remove_parent_watches()
372 list_for_each_entry(w, &parent->watches, wlist) { in audit_add_to_parent()
392 list_add(&watch->wlist, &parent->watches); in audit_add_to_parent()
/kernel/linux/linux-6.6/kernel/
H A Dwatch_queue.c183 * @wlist: The watch list to post the event to.
194 void __post_watch_notification(struct watch_list *wlist, in __post_watch_notification() argument
210 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { 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() argument
459 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
472 rcu_assign_pointer(watch->watch_list, wlist); in add_one_watch()
477 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); in add_one_watch()
484 * @wlist: The watch list to add to
493 int add_watch_to_object(struct watch *watch, struct watch_list *wlist) in add_watch_to_object() argument
502 spin_lock(&wlist in add_watch_to_object()
523 remove_watch_from_object(struct watch_list *wlist, struct watch_queue *wq, u64 id, bool all) remove_watch_from_object() argument
596 struct watch_list *wlist; watch_queue_clear() local
[all...]
H A Daudit_watch.c42 struct list_head wlist; /* entry in parent->watches list */ member
47 struct list_head watches; /* anchor for audit_watch->wlist */
117 list_del(&watch->wlist); in audit_remove_watch()
202 * to an empty list and wlist is undefined. */
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/linux/linux-5.10/security/keys/
H A Dkeyctl.c1776 struct watch_list *wlist = NULL; in keyctl_watch_key() local
1799 wlist = kzalloc(sizeof(*wlist), GFP_KERNEL); in keyctl_watch_key()
1800 if (!wlist) in keyctl_watch_key()
1802 init_watch_list(wlist, NULL); in keyctl_watch_key()
1819 key->watchers = wlist; in keyctl_watch_key()
1820 wlist = NULL; in keyctl_watch_key()
1842 kfree(wlist); in keyctl_watch_key()
/kernel/linux/linux-6.6/security/keys/
H A Dkeyctl.c1776 struct watch_list *wlist = NULL; in keyctl_watch_key() local
1799 wlist = kzalloc(sizeof(*wlist), GFP_KERNEL); in keyctl_watch_key()
1800 if (!wlist) in keyctl_watch_key()
1802 init_watch_list(wlist, NULL); in keyctl_watch_key()
1819 key->watchers = wlist; in keyctl_watch_key()
1820 wlist = NULL; in keyctl_watch_key()
1842 kfree(wlist); in keyctl_watch_key()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Daudio_topology.c388 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_mixer_dapm_ctl_get() local
389 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get()
437 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_mixer_dapm_ctl_put() local
438 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_put()
473 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_mixer_dapm_ctl_put()
474 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
718 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_enum_dapm_ctl_get() local
719 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_get()
766 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_enum_dapm_ctl_put() local
767 struct snd_soc_dapm_widget *widget = wlist in gbcodec_enum_dapm_ctl_put()
[all...]
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Daudio_topology.c387 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_mixer_dapm_ctl_get() local
388 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_get()
436 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_mixer_dapm_ctl_put() local
437 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_mixer_dapm_ctl_put()
472 for (wi = 0; wi < wlist->num_widgets; wi++) { in gbcodec_mixer_dapm_ctl_put()
473 widget = wlist->widgets[wi]; in gbcodec_mixer_dapm_ctl_put()
717 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_enum_dapm_ctl_get() local
718 struct snd_soc_dapm_widget *widget = wlist->widgets[0]; in gbcodec_enum_dapm_ctl_get()
765 struct snd_soc_dapm_widget_list *wlist = snd_kcontrol_chip(kcontrol); in gbcodec_enum_dapm_ctl_put() local
766 struct snd_soc_dapm_widget *widget = wlist in gbcodec_enum_dapm_ctl_put()
[all...]
/kernel/linux/linux-5.10/kernel/locking/
H A Drwsem.c406 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()
533 list_for_each_entry_safe(waiter, tmp, &wlist, list) { in rwsem_mark_wake()
/kernel/linux/linux-6.6/kernel/locking/
H A Drwsem.c417 struct list_head wlist; in rwsem_mark_wake() local
509 INIT_LIST_HEAD(&wlist); in rwsem_mark_wake()
515 list_move_tail(&waiter->list, &wlist); in rwsem_mark_wake()
549 list_for_each_entry_safe(waiter, tmp, &wlist, list) { in rwsem_mark_wake()
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-dapm.c349 struct snd_soc_dapm_widget_list *wlist; member
470 kfree(data->wlist); in dapm_kcontrol_free()
479 return data->wlist; in dapm_kcontrol_get_wlist()
489 if (data->wlist) in dapm_kcontrol_add_widget()
490 n = data->wlist->num_widgets + 1; in dapm_kcontrol_add_widget()
494 new_wlist = krealloc(data->wlist, in dapm_kcontrol_add_widget()
503 data->wlist = new_wlist; in dapm_kcontrol_add_widget()
658 struct list_head *wlist; in dapm_wcache_lookup() local
663 wlist = &w->dapm->card->widgets; in dapm_wcache_lookup()
665 list_for_each_entry_from(w, wlist, lis in dapm_wcache_lookup()
1746 struct snd_soc_dapm_widget_list *wlist; dapm_widget_update() local
[all...]
/kernel/linux/linux-6.6/sound/soc/
H A Dsoc-dapm.c349 struct snd_soc_dapm_widget_list *wlist; member
470 kfree(data->wlist); in dapm_kcontrol_free()
479 return data->wlist; in dapm_kcontrol_get_wlist()
489 if (data->wlist) in dapm_kcontrol_add_widget()
490 n = data->wlist->num_widgets + 1; in dapm_kcontrol_add_widget()
494 new_wlist = krealloc(data->wlist, in dapm_kcontrol_add_widget()
503 data->wlist = new_wlist; in dapm_kcontrol_add_widget()
658 struct list_head *wlist = &w->dapm->card->widgets; in dapm_wcache_lookup() local
662 list_for_each_entry_from(w, wlist, list) { in dapm_wcache_lookup()
1742 struct snd_soc_dapm_widget_list *wlist; in dapm_widget_update() local
[all...]

Completed in 22 milliseconds