Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/platform/x86/dell/
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-wmi-privacy.c32 static DEFINE_MUTEX(list_mutex);
72 mutex_lock(&list_mutex); in dell_privacy_has_mic_mute()
76 mutex_unlock(&list_mutex); in dell_privacy_has_mic_mute()
101 mutex_lock(&list_mutex); in dell_privacy_process_event()
132 mutex_unlock(&list_mutex); in dell_privacy_process_event()
368 mutex_lock(&list_mutex); in dell_privacy_wmi_probe()
370 mutex_unlock(&list_mutex); in dell_privacy_wmi_probe()
378 mutex_lock(&list_mutex); in dell_privacy_wmi_remove()
380 mutex_unlock(&list_mutex); in dell_privacy_wmi_remove()
Ddell-smbios-wmi.c19 static DEFINE_MUTEX(list_mutex);
198 mutex_lock(&list_mutex); in dell_smbios_wmi_probe()
200 mutex_unlock(&list_mutex); in dell_smbios_wmi_probe()
215 mutex_lock(&list_mutex); in dell_smbios_wmi_remove()
217 mutex_unlock(&list_mutex); in dell_smbios_wmi_remove()
/linux-6.6.21/drivers/w1/
Dw1_int.c62 mutex_init(&dev->list_mutex); in w1_alloc_dev()
186 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
188 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
190 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
193 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()
207 mutex_lock(&dev->list_mutex); in __w1_remove_master_device()
209 mutex_unlock(&dev->list_mutex); in __w1_remove_master_device()
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()
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()
812 mutex_lock(&sl->master->list_mutex); in w1_slave_detach()
[all …]
Dw1_netlink.c276 mutex_lock(&dev->list_mutex); in w1_get_slaves()
281 mutex_unlock(&dev->list_mutex); in w1_get_slaves()
493 mutex_lock(&dev->list_mutex); in w1_process_cb()
495 mutex_unlock(&dev->list_mutex); in w1_process_cb()
689 mutex_lock(&dev->list_mutex); in w1_cn_callback()
692 mutex_unlock(&dev->list_mutex); in w1_cn_callback()
/linux-6.6.21/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()
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()
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()
335 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
568 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_get_idle()
[all …]
/linux-6.6.21/net/netfilter/
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()
319 mutex_lock(&list_mutex); in idletimer_tg_checkentry()
333 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
338 mutex_unlock(&list_mutex); in idletimer_tg_checkentry()
364 mutex_lock(&list_mutex); in idletimer_tg_checkentry_v1()
370 mutex_unlock(&list_mutex); in idletimer_tg_checkentry_v1()
395 mutex_unlock(&list_mutex); in idletimer_tg_checkentry_v1()
400 mutex_unlock(&list_mutex); in idletimer_tg_checkentry_v1()
[all …]
/linux-6.6.21/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-6.6.21/sound/core/seq/
Dseq_ports.c108 init_rwsem(&grp->list_mutex); in port_subs_info_init()
510 down_write(&grp->list_mutex); in check_and_subscribe_port()
543 up_write(&grp->list_mutex); in check_and_subscribe_port()
578 down_write(&grp->list_mutex); in delete_and_unsubscribe_port()
580 up_write(&grp->list_mutex); in delete_and_unsubscribe_port()
642 down_write(&dest->list_mutex); in snd_seq_port_disconnect()
653 up_write(&dest->list_mutex); in snd_seq_port_disconnect()
672 down_read(&src_grp->list_mutex); in snd_seq_port_get_subscription()
680 up_read(&src_grp->list_mutex); in snd_seq_port_get_subscription()
Dseq_ports.h39 struct rw_semaphore list_mutex; member
Dseq_clientmgr.c734 down_read_nested(&grp->list_mutex, hop); in __deliver_to_subscribers()
759 up_read(&grp->list_mutex); in __deliver_to_subscribers()
2006 down_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
2028 up_read(&group->list_mutex); in snd_seq_ioctl_query_subs()
2581 down_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
2583 up_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
2602 up_read(&group->list_mutex); in snd_seq_info_dump_subscribers()
/linux-6.6.21/include/linux/
Dw1.h208 struct mutex list_mutex; member
/linux-6.6.21/arch/powerpc/platforms/cell/
Dspu_base.c588 mutex_lock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
591 mutex_unlock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
751 mutex_init(&cbe_spu_info[i].list_mutex); in init_spu_base()
/linux-6.6.21/arch/powerpc/include/asm/
Dspu.h180 struct mutex list_mutex; member