Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
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 …]
Ddell-smbios-wmi.c19 static DEFINE_MUTEX(list_mutex);
197 mutex_lock(&list_mutex); in dell_smbios_wmi_probe()
199 mutex_unlock(&list_mutex); in dell_smbios_wmi_probe()
214 mutex_lock(&list_mutex); in dell_smbios_wmi_remove()
216 mutex_unlock(&list_mutex); in dell_smbios_wmi_remove()
/Linux-v5.4/drivers/w1/
Dw1_int.c63 mutex_init(&dev->list_mutex); in w1_alloc_dev()
187 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
189 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
191 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
194 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
204 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
206 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
208 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
210 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
Dw1.c374 mutex_lock(&md->list_mutex); in w1_master_attribute_show_slaves()
384 mutex_unlock(&md->list_mutex); in w1_master_attribute_show_slaves()
444 mutex_lock(&dev->list_mutex); in w1_slave_search_device()
449 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()
453 mutex_unlock(&dev->list_mutex); in w1_slave_search_device()
711 mutex_lock(&sl->master->list_mutex); in __w1_attach_slave_device()
713 mutex_unlock(&sl->master->list_mutex); in __w1_attach_slave_device()
788 mutex_lock(&dev->list_mutex); in w1_unref_slave()
811 mutex_unlock(&dev->list_mutex); in w1_unref_slave()
819 mutex_lock(&sl->master->list_mutex); in w1_slave_detach()
[all …]
Dw1_netlink.c274 mutex_lock(&dev->list_mutex); in w1_get_slaves()
279 mutex_unlock(&dev->list_mutex); in w1_get_slaves()
491 mutex_lock(&dev->list_mutex); in w1_process_cb()
493 mutex_unlock(&dev->list_mutex); in w1_process_cb()
686 mutex_lock(&dev->list_mutex); in w1_cn_callback()
689 mutex_unlock(&dev->list_mutex); in w1_cn_callback()
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
Dsched.c147 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()
191 mutex_lock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
201 mutex_unlock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
253 BUG_ON(!mutex_is_locked(&cbe_spu_info[spu->node].list_mutex)); in sched_spu()
320 mutex_lock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
328 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
335 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
339 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
574 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_get_idle()
[all …]
/Linux-v5.4/net/netfilter/
Dxt_IDLETIMER.c43 static DEFINE_MUTEX(list_mutex);
66 mutex_lock(&list_mutex); in idletimer_tg_show()
72 mutex_unlock(&list_mutex); in idletimer_tg_show()
202 mutex_lock(&list_mutex); in idletimer_tg_checkentry()
216 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
221 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
231 mutex_lock(&list_mutex); in idletimer_tg_destroy()
247 mutex_unlock(&list_mutex); in idletimer_tg_destroy()
/Linux-v5.4/drivers/staging/greybus/
Dauthentication.c43 static DEFINE_MUTEX(list_mutex);
67 mutex_lock(&list_mutex); in get_cap()
79 mutex_unlock(&list_mutex); in get_cap()
316 mutex_lock(&list_mutex); in gb_cap_connection_init()
318 mutex_unlock(&list_mutex); in gb_cap_connection_init()
355 mutex_lock(&list_mutex); in gb_cap_connection_init()
357 mutex_unlock(&list_mutex); in gb_cap_connection_init()
389 mutex_lock(&list_mutex); in gb_cap_connection_exit()
391 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-v5.4/sound/core/seq/
Dseq_ports.c104 init_rwsem(&grp->list_mutex); in port_subs_info_init()
480 down_write(&grp->list_mutex); in check_and_subscribe_port()
513 up_write(&grp->list_mutex); in check_and_subscribe_port()
528 down_write(&grp->list_mutex); in delete_and_unsubscribe_port()
538 up_write(&grp->list_mutex); in delete_and_unsubscribe_port()
597 down_write(&src->list_mutex); in snd_seq_port_disconnect()
606 up_write(&src->list_mutex); in snd_seq_port_disconnect()
627 down_read(&src_grp->list_mutex); in snd_seq_port_get_subscription()
635 up_read(&src_grp->list_mutex); in snd_seq_port_get_subscription()
Dseq_ports.h39 struct rw_semaphore list_mutex; member
Dseq_clientmgr.c683 down_read_nested(&grp->list_mutex, hop); in deliver_to_subscribers()
708 up_read(&grp->list_mutex); in deliver_to_subscribers()
1975 down_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
1997 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-v5.4/include/linux/
Dw1.h208 struct mutex list_mutex; member
/Linux-v5.4/arch/powerpc/platforms/cell/
Dspu_base.c595 mutex_lock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
598 mutex_unlock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
758 mutex_init(&cbe_spu_info[i].list_mutex); in init_spu_base()
/Linux-v5.4/arch/powerpc/include/asm/
Dspu.h180 struct mutex list_mutex; member