Home
last modified time | relevance | path

Searched refs:open_mutex (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v6.1/block/
Dholder.c78 mutex_lock(&disk->open_mutex); in bd_link_disk_holder()
113 mutex_unlock(&disk->open_mutex); in bd_link_disk_holder()
139 mutex_lock(&disk->open_mutex); in bd_unlink_disk_holder()
148 mutex_unlock(&disk->open_mutex); in bd_unlink_disk_holder()
157 mutex_lock(&disk->open_mutex); in bd_register_pending_holders()
163 mutex_unlock(&disk->open_mutex); in bd_register_pending_holders()
169 mutex_unlock(&disk->open_mutex); in bd_register_pending_holders()
Dbdev.c813 mutex_lock(&disk->open_mutex); in blkdev_get_by_dev()
841 mutex_unlock(&disk->open_mutex); in blkdev_get_by_dev()
851 mutex_unlock(&disk->open_mutex); in blkdev_get_by_dev()
911 mutex_lock(&disk->open_mutex); in blkdev_put()
954 mutex_unlock(&disk->open_mutex); in blkdev_put()
1052 mutex_lock(&bdev->bd_disk->open_mutex); in sync_bdevs()
1066 mutex_unlock(&bdev->bd_disk->open_mutex); in sync_bdevs()
/Linux-v6.1/drivers/s390/block/
Ddasd_genhd.c141 mutex_lock(&block->gdp->open_mutex); in dasd_scan_partitions()
143 mutex_unlock(&block->gdp->open_mutex); in dasd_scan_partitions()
177 mutex_lock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions()
179 mutex_unlock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions()
/Linux-v6.1/sound/core/
Dhwdep.c95 mutex_lock(&hw->open_mutex); in snd_hwdep_open()
116 mutex_unlock(&hw->open_mutex); in snd_hwdep_open()
118 mutex_lock(&hw->open_mutex); in snd_hwdep_open()
139 mutex_unlock(&hw->open_mutex); in snd_hwdep_open()
152 mutex_lock(&hw->open_mutex); in snd_hwdep_release()
157 mutex_unlock(&hw->open_mutex); in snd_hwdep_release()
379 mutex_init(&hwdep->open_mutex); in snd_hwdep_new()
468 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
476 mutex_unlock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
Dpcm.c144 mutex_lock(&pcm->open_mutex); in snd_pcm_control_ioctl()
146 mutex_unlock(&pcm->open_mutex); in snd_pcm_control_ioctl()
384 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read()
412 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read()
421 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read()
440 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read()
451 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read()
476 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read()
730 mutex_init(&pcm->open_mutex); in _snd_pcm_new()
1105 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect()
[all …]
Drawmidi.c428 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open()
430 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open()
474 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
503 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
505 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
527 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
534 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
581 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv()
591 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv()
760 mutex_lock(&substream->rmidi->open_mutex); in snd_rawmidi_output_params()
[all …]
Dpcm_memory.c166 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
206 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
/Linux-v6.1/sound/drivers/opl3/
Dopl3_seq.c43 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup()
45 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
49 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup()
84 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup()
86 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_cleanup()
/Linux-v6.1/block/partitions/
Dcore.c276 lockdep_assert_held(&part->bd_disk->open_mutex); in delete_partition()
316 lockdep_assert_held(&disk->open_mutex); in add_partition()
450 mutex_lock(&disk->open_mutex); in bdev_add_partition()
465 mutex_unlock(&disk->open_mutex); in bdev_add_partition()
474 mutex_lock(&disk->open_mutex); in bdev_del_partition()
486 mutex_unlock(&disk->open_mutex); in bdev_del_partition()
496 mutex_lock(&disk->open_mutex); in bdev_resize_partition()
513 mutex_unlock(&disk->open_mutex); in bdev_resize_partition()
535 lockdep_assert_held(&disk->open_mutex); in blk_drop_partitions()
659 lockdep_assert_held(&disk->open_mutex); in bdev_disk_changed()
/Linux-v6.1/sound/pci/lola/
Dlola_pcm.c217 mutex_lock(&chip->open_mutex); in lola_pcm_open()
219 mutex_unlock(&chip->open_mutex); in lola_pcm_open()
242 mutex_unlock(&chip->open_mutex); in lola_pcm_open()
264 mutex_lock(&chip->open_mutex); in lola_pcm_close()
273 mutex_unlock(&chip->open_mutex); in lola_pcm_close()
294 mutex_lock(&chip->open_mutex); in lola_pcm_hw_free()
297 mutex_unlock(&chip->open_mutex); in lola_pcm_hw_free()
460 mutex_lock(&chip->open_mutex); in lola_pcm_prepare()
464 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
471 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
/Linux-v6.1/drivers/media/rc/
Dati_remote.c261 struct mutex open_mutex; member
326 mutex_lock(&ati_remote->open_mutex); in ati_remote_open()
339 out: mutex_unlock(&ati_remote->open_mutex); in ati_remote_open()
348 mutex_lock(&ati_remote->open_mutex); in ati_remote_close()
351 mutex_unlock(&ati_remote->open_mutex); in ati_remote_close()
889 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
/Linux-v6.1/fs/hostfs/
Dhostfs_kern.c28 struct mutex open_mutex; member
232 mutex_init(&hi->open_mutex); in hostfs_alloc_inode()
329 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
332 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
338 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
348 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
353 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
/Linux-v6.1/sound/pci/
Datiixp.c268 struct mutex open_mutex; /* playback open mutex */ member
1078 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open()
1080 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open()
1095 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close()
1097 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close()
1117 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_open()
1122 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_open()
1130 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_close()
1135 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_close()
1551 mutex_init(&chip->open_mutex); in snd_atiixp_init()
Datiixp_modem.c243 struct mutex open_mutex; /* playback open mutex */ member
899 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open()
901 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open()
911 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close()
913 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close()
1180 mutex_init(&chip->open_mutex); in snd_atiixp_init()
Dcmipci.c472 struct mutex open_mutex; member
669 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params()
671 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params()
676 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params()
1595 mutex_lock(&cm->open_mutex); in open_device_check()
1597 mutex_unlock(&cm->open_mutex); in open_device_check()
1609 mutex_unlock(&cm->open_mutex); in open_device_check()
1617 mutex_lock(&cm->open_mutex); in close_device_check()
1633 mutex_unlock(&cm->open_mutex); in close_device_check()
1702 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open()
[all …]
/Linux-v6.1/drivers/bluetooth/
Dhci_vhci.c39 struct mutex open_mutex; member
373 mutex_lock(&data->open_mutex); in vhci_create_device()
375 mutex_unlock(&data->open_mutex); in vhci_create_device()
545 mutex_init(&data->open_mutex); in vhci_open()
/Linux-v6.1/include/sound/
Dhwdep.h58 struct mutex open_mutex; member
Drawmidi.h129 struct mutex open_mutex; member
/Linux-v6.1/sound/sparc/
Dcs4231.c112 struct mutex open_mutex; /* mutex for ALSA open/close */ member
774 mutex_lock(&chip->open_mutex); in snd_cs4231_open()
776 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
781 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
801 mutex_unlock(&chip->open_mutex); in snd_cs4231_open()
809 mutex_lock(&chip->open_mutex); in snd_cs4231_close()
812 mutex_unlock(&chip->open_mutex); in snd_cs4231_close()
850 mutex_unlock(&chip->open_mutex); in snd_cs4231_close()
1788 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create()
1955 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
/Linux-v6.1/drivers/block/zram/
Dzram_drv.c1803 mutex_lock(&disk->open_mutex); in reset_store()
1806 mutex_unlock(&disk->open_mutex); in reset_store()
1812 mutex_unlock(&disk->open_mutex); in reset_store()
1818 mutex_lock(&disk->open_mutex); in reset_store()
1820 mutex_unlock(&disk->open_mutex); in reset_store()
1830 WARN_ON(!mutex_is_locked(&bdev->bd_disk->open_mutex)); in zram_open()
1984 mutex_lock(&zram->disk->open_mutex); in zram_remove()
1986 mutex_unlock(&zram->disk->open_mutex); in zram_remove()
1993 mutex_unlock(&zram->disk->open_mutex); in zram_remove()
/Linux-v6.1/sound/pci/ice1712/
Dice1724.c694 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
702 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
717 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
725 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
735 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
740 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
1016 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1027 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1370 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
1373 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
[all …]
/Linux-v6.1/sound/pci/korg1212/
Dkorg1212.c309 struct mutex open_mutex; member
647 mutex_lock(&korg1212->open_mutex); in snd_korg1212_OpenCard()
653 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_OpenCard()
662 mutex_lock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
664 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
675 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
687 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard()
2112 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
/Linux-v6.1/sound/pci/hda/
Dhda_controller.c95 mutex_lock(&chip->open_mutex); in azx_pcm_close()
100 mutex_unlock(&chip->open_mutex); in azx_pcm_close()
588 mutex_lock(&chip->open_mutex); in azx_pcm_open()
661 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
667 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
Dhda_controller.h119 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
/Linux-v6.1/sound/isa/wss/
Dwss_lib.c862 mutex_lock(&chip->open_mutex); in snd_wss_open()
865 mutex_unlock(&chip->open_mutex); in snd_wss_open()
870 mutex_unlock(&chip->open_mutex); in snd_wss_open()
896 mutex_unlock(&chip->open_mutex); in snd_wss_open()
904 mutex_lock(&chip->open_mutex); in snd_wss_close()
907 mutex_unlock(&chip->open_mutex); in snd_wss_close()
943 mutex_unlock(&chip->open_mutex); in snd_wss_close()
1719 mutex_init(&chip->open_mutex); in snd_wss_new()

12