Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Ddell-wmi-descriptor.c34 static DEFINE_MUTEX(list_mutex);
50 mutex_lock(&list_mutex); in dell_wmi_get_interface_version()
58 mutex_unlock(&list_mutex); in dell_wmi_get_interface_version()
68 mutex_lock(&list_mutex); in dell_wmi_get_size()
76 mutex_unlock(&list_mutex); in dell_wmi_get_size()
86 mutex_lock(&list_mutex); in dell_wmi_get_hotfix()
94 mutex_unlock(&list_mutex); in dell_wmi_get_hotfix()
170 mutex_lock(&list_mutex); in dell_wmi_descriptor_probe()
172 mutex_unlock(&list_mutex); in dell_wmi_descriptor_probe()
188 mutex_lock(&list_mutex); in dell_wmi_descriptor_remove()
[all …]
Ddell-smbios-wmi.c22 static DEFINE_MUTEX(list_mutex);
200 mutex_lock(&list_mutex); in dell_smbios_wmi_probe()
202 mutex_unlock(&list_mutex); in dell_smbios_wmi_probe()
217 mutex_lock(&list_mutex); in dell_smbios_wmi_remove()
219 mutex_unlock(&list_mutex); in dell_smbios_wmi_remove()
/Linux-v4.19/drivers/w1/
Dw1_int.c72 mutex_init(&dev->list_mutex); in w1_alloc_dev()
196 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
198 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
200 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
203 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
213 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
215 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
217 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
219 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
Dw1.c383 mutex_lock(&md->list_mutex); in w1_master_attribute_show_slaves()
393 mutex_unlock(&md->list_mutex); in w1_master_attribute_show_slaves()
453 mutex_lock(&dev->list_mutex); in w1_slave_search_device()
458 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()
462 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()
720 mutex_lock(&sl->master->list_mutex); in __w1_attach_slave_device()
722 mutex_unlock(&sl->master->list_mutex); in __w1_attach_slave_device()
797 mutex_lock(&dev->list_mutex); in w1_unref_slave()
820 mutex_unlock(&dev->list_mutex); in w1_unref_slave()
828 mutex_lock(&sl->master->list_mutex); in w1_slave_detach()
[all …]
Dw1_netlink.c283 mutex_lock(&dev->list_mutex); in w1_get_slaves()
288 mutex_unlock(&dev->list_mutex); in w1_get_slaves()
500 mutex_lock(&dev->list_mutex); in w1_process_cb()
502 mutex_unlock(&dev->list_mutex); in w1_process_cb()
695 mutex_lock(&dev->list_mutex); in w1_cn_callback()
698 mutex_unlock(&dev->list_mutex); in w1_cn_callback()
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dsched.c160 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()
162 mutex_unlock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()
204 mutex_lock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
214 mutex_unlock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
266 BUG_ON(!mutex_is_locked(&cbe_spu_info[spu->node].list_mutex)); in sched_spu()
333 mutex_lock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
341 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
348 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
352 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
587 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_get_idle()
[all …]
/Linux-v4.19/net/netfilter/
Dxt_IDLETIMER.c62 static DEFINE_MUTEX(list_mutex);
87 mutex_lock(&list_mutex); in idletimer_tg_show()
93 mutex_unlock(&list_mutex); in idletimer_tg_show()
205 mutex_lock(&list_mutex); in idletimer_tg_checkentry()
219 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
224 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
234 mutex_lock(&list_mutex); in idletimer_tg_destroy()
250 mutex_unlock(&list_mutex); in idletimer_tg_destroy()
/Linux-v4.19/drivers/staging/greybus/
Dauthentication.c44 static DEFINE_MUTEX(list_mutex);
68 mutex_lock(&list_mutex); in get_cap()
80 mutex_unlock(&list_mutex); in get_cap()
317 mutex_lock(&list_mutex); in gb_cap_connection_init()
319 mutex_unlock(&list_mutex); in gb_cap_connection_init()
356 mutex_lock(&list_mutex); in gb_cap_connection_init()
358 mutex_unlock(&list_mutex); in gb_cap_connection_init()
390 mutex_lock(&list_mutex); in gb_cap_connection_exit()
392 mutex_unlock(&list_mutex); in gb_cap_connection_exit()
Dfw-management.c62 static DEFINE_MUTEX(list_mutex);
87 mutex_lock(&list_mutex); in get_fw_mgmt()
99 mutex_unlock(&list_mutex); in get_fw_mgmt()
609 mutex_lock(&list_mutex); in gb_fw_mgmt_connection_init()
611 mutex_unlock(&list_mutex); in gb_fw_mgmt_connection_init()
649 mutex_lock(&list_mutex); in gb_fw_mgmt_connection_init()
651 mutex_unlock(&list_mutex); in gb_fw_mgmt_connection_init()
683 mutex_lock(&list_mutex); in gb_fw_mgmt_connection_exit()
685 mutex_unlock(&list_mutex); in gb_fw_mgmt_connection_exit()
/Linux-v4.19/sound/core/seq/
Dseq_ports.c119 init_rwsem(&grp->list_mutex); in port_subs_info_init()
498 down_write(&grp->list_mutex); in check_and_subscribe_port()
531 up_write(&grp->list_mutex); in check_and_subscribe_port()
546 down_write(&grp->list_mutex); in delete_and_unsubscribe_port()
553 up_write(&grp->list_mutex); in delete_and_unsubscribe_port()
615 down_write(&src->list_mutex); in snd_seq_port_disconnect()
624 up_write(&src->list_mutex); in snd_seq_port_disconnect()
643 down_read(&src_grp->list_mutex); in snd_seq_port_get_subscription()
650 up_read(&src_grp->list_mutex); in snd_seq_port_get_subscription()
Dseq_ports.h54 struct rw_semaphore list_mutex; member
Dseq_clientmgr.c666 down_read_nested(&grp->list_mutex, hop); in deliver_to_subscribers()
691 up_read(&grp->list_mutex); in deliver_to_subscribers()
1956 down_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
1978 up_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
2393 down_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
2395 up_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
2414 up_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
/Linux-v4.19/include/linux/
Dw1.h212 struct mutex list_mutex; member
/Linux-v4.19/arch/powerpc/platforms/cell/
Dspu_base.c608 mutex_lock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
611 mutex_unlock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
771 mutex_init(&cbe_spu_info[i].list_mutex); in init_spu_base()
/Linux-v4.19/arch/powerpc/include/asm/
Dspu.h193 struct mutex list_mutex; member