Home
last modified time | relevance | path

Searched refs:list_mutex (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/platform/x86/dell/
H A Ddell-wmi-descriptor.c26 static DEFINE_MUTEX(list_mutex);
42 mutex_lock(&list_mutex); in dell_wmi_get_interface_version()
50 mutex_unlock(&list_mutex); in dell_wmi_get_interface_version()
60 mutex_lock(&list_mutex); in dell_wmi_get_size()
68 mutex_unlock(&list_mutex); in dell_wmi_get_size()
78 mutex_lock(&list_mutex); in dell_wmi_get_hotfix()
86 mutex_unlock(&list_mutex); in dell_wmi_get_hotfix()
163 mutex_lock(&list_mutex); in dell_wmi_descriptor_probe()
165 mutex_unlock(&list_mutex); in dell_wmi_descriptor_probe()
181 mutex_lock(&list_mutex); in dell_wmi_descriptor_remove()
[all...]
H A Ddell-smbios-wmi.c23 static DEFINE_MUTEX(list_mutex);
273 mutex_lock(&list_mutex); in dell_smbios_wmi_probe()
275 mutex_unlock(&list_mutex); in dell_smbios_wmi_probe()
285 mutex_lock(&list_mutex); in dell_smbios_wmi_remove()
287 mutex_unlock(&list_mutex); in dell_smbios_wmi_remove()
/linux/drivers/w1/
H A Dw1_int.c58 mutex_init(&dev->list_mutex); in w1_alloc_dev()
182 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
184 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
186 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
189 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
199 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
201 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
203 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
205 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
H A Dw1.c366 mutex_lock(&md->list_mutex); in w1_master_attribute_show_slaves()
376 mutex_unlock(&md->list_mutex); in w1_master_attribute_show_slaves()
430 * Note: must not hold list_mutex
436 mutex_lock(&dev->list_mutex); in w1_slave_search_device()
441 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()
445 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()
704 mutex_lock(&sl->master->list_mutex); in __w1_attach_slave_device()
706 mutex_unlock(&sl->master->list_mutex); in __w1_attach_slave_device()
781 mutex_lock(&dev->list_mutex); in w1_unref_slave()
804 mutex_unlock(&dev->list_mutex); in w1_unref_slave()
[all...]
/linux/net/netfilter/
H A Dxt_IDLETIMER.c46 static DEFINE_MUTEX(list_mutex);
71 mutex_lock(&list_mutex); in idletimer_tg_show()
85 mutex_unlock(&list_mutex); in idletimer_tg_show()
317 mutex_lock(&list_mutex); in idletimer_tg_checkentry()
331 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
336 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
362 mutex_lock(&list_mutex); in idletimer_tg_checkentry_v1()
368 mutex_unlock(&list_mutex); in idletimer_tg_checkentry_v1()
393 mutex_unlock(&list_mutex); in idletimer_tg_checkentry_v1()
398 mutex_unlock(&list_mutex); in idletimer_tg_checkentry_v1()
[all...]
/linux/arch/powerpc/platforms/cell/spufs/
H A Dsched.c145 * Take list_mutex to sync with find_victim(). in spu_update_sched_info()
147 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()
149 mutex_unlock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()
188 mutex_lock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
198 mutex_unlock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
245 * Must be used with the list_mutex held.
249 BUG_ON(!mutex_is_locked(&cbe_spu_info[spu->node].list_mutex)); in sched_spu()
316 mutex_lock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
324 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
331 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
[all...]
/linux/drivers/staging/greybus/
H A Dauthentication.c46 static DEFINE_MUTEX(list_mutex);
56 * All users of cap take a reference (from within list_mutex lock), before
70 mutex_lock(&list_mutex); in get_cap()
82 mutex_unlock(&list_mutex); in get_cap()
319 mutex_lock(&list_mutex); in gb_cap_connection_init()
321 mutex_unlock(&list_mutex); in gb_cap_connection_init()
358 mutex_lock(&list_mutex); in gb_cap_connection_init()
360 mutex_unlock(&list_mutex); in gb_cap_connection_init()
392 mutex_lock(&list_mutex); in gb_cap_connection_exit()
394 mutex_unlock(&list_mutex); in gb_cap_connection_exit()
[all...]
/linux/drivers/platform/x86/lenovo/
H A Dwmi-capdata01.c43 struct mutex list_mutex; /* list R/W mutex */ member
90 guard(mutex)(&list->list_mutex); in lwmi_cd01_get_data()
114 guard(mutex)(&priv->list->list_mutex); in lwmi_cd01_cache()
155 ret = devm_mutex_init(&priv->wdev->dev, &list->list_mutex); in lwmi_cd01_alloc()
/linux/arch/powerpc/platforms/cell/
H A Dspu_base.c587 mutex_lock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
590 mutex_unlock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
750 mutex_init(&cbe_spu_info[i].list_mutex); in init_spu_base()
/linux/include/linux/
H A Dw1.h176 * @list_mutex: protect slist and async_list
204 /* list_mutex protects just slist and async_list so slaves can be
207 * lock order w1_mlock, w1_master.mutex, w1_master.list_mutex
209 struct mutex list_mutex; member
/linux/sound/core/seq/
H A Dseq_clientmgr.c759 down_read_nested(&grp->list_mutex, hop); in __deliver_to_subscribers()
783 up_read(&grp->list_mutex); in __deliver_to_subscribers()
2054 down_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
2076 up_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
2637 down_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
2639 up_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
2658 up_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
/linux/arch/powerpc/include/asm/
H A Dspu.h180 struct mutex list_mutex; member