/linux-6.6.21/block/ |
D | holder.c | 75 mutex_lock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder() 77 mutex_unlock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder() 81 mutex_unlock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder() 83 mutex_lock(&disk->open_mutex); in bd_link_disk_holder() 111 mutex_unlock(&disk->open_mutex); in bd_link_disk_holder() 119 mutex_unlock(&disk->open_mutex); in bd_link_disk_holder() 143 mutex_lock(&disk->open_mutex); in bd_unlink_disk_holder() 152 mutex_unlock(&disk->open_mutex); in bd_unlink_disk_holder()
|
D | bdev.c | 788 mutex_lock(&disk->open_mutex); in blkdev_get_by_dev() 816 mutex_unlock(&disk->open_mutex); in blkdev_get_by_dev() 826 mutex_unlock(&disk->open_mutex); in blkdev_get_by_dev() 886 mutex_lock(&disk->open_mutex); in blkdev_put() 901 mutex_unlock(&disk->open_mutex); in blkdev_put() 1011 mutex_lock(&bdev->bd_disk->open_mutex); in sync_bdevs() 1025 mutex_unlock(&bdev->bd_disk->open_mutex); in sync_bdevs()
|
D | genhd.c | 650 mutex_lock(&disk->open_mutex); in del_gendisk() 653 mutex_unlock(&disk->open_mutex); in del_gendisk() 666 mutex_lock(&disk->open_mutex); in del_gendisk() 669 mutex_unlock(&disk->open_mutex); in del_gendisk() 1352 mutex_init(&disk->open_mutex); in __alloc_disk_node()
|
/linux-6.6.21/drivers/s390/block/ |
D | dasd_genhd.c | 142 mutex_lock(&block->gdp->open_mutex); in dasd_scan_partitions() 144 mutex_unlock(&block->gdp->open_mutex); in dasd_scan_partitions() 178 mutex_lock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions() 180 mutex_unlock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions()
|
/linux-6.6.21/sound/core/ |
D | hwdep.c | 95 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() 384 mutex_init(&hwdep->open_mutex); in snd_hwdep_new() 472 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect() 480 mutex_unlock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
|
D | pcm.c | 144 mutex_lock(&pcm->open_mutex); in snd_pcm_control_ioctl() 146 mutex_unlock(&pcm->open_mutex); in snd_pcm_control_ioctl() 385 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 413 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 422 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 441 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 452 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 477 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 734 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1107 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect() [all …]
|
D | rawmidi.c | 436 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 438 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 482 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 511 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 513 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 535 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 542 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 589 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv() 599 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv() 770 mutex_lock(&substream->rmidi->open_mutex); in snd_rawmidi_output_params() [all …]
|
D | ump.c | 137 mutex_init(&ump->open_mutex); in snd_ump_endpoint_new() 990 mutex_lock(&ump->open_mutex); in snd_ump_legacy_open() 1011 mutex_unlock(&ump->open_mutex); in snd_ump_legacy_open() 1021 mutex_lock(&ump->open_mutex); in snd_ump_legacy_close() 1029 mutex_unlock(&ump->open_mutex); in snd_ump_legacy_close()
|
/linux-6.6.21/sound/drivers/opl3/ |
D | opl3_seq.c | 43 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-6.6.21/sound/pci/lola/ |
D | lola_pcm.c | 217 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-6.6.21/block/partitions/ |
D | core.c | 268 lockdep_assert_held(&part->bd_disk->open_mutex); in drop_partition() 310 lockdep_assert_held(&disk->open_mutex); in add_partition() 445 mutex_lock(&disk->open_mutex); in bdev_add_partition() 475 mutex_unlock(&disk->open_mutex); in bdev_add_partition() 484 mutex_lock(&disk->open_mutex); in bdev_del_partition() 496 mutex_unlock(&disk->open_mutex); in bdev_del_partition() 506 mutex_lock(&disk->open_mutex); in bdev_resize_partition() 523 mutex_unlock(&disk->open_mutex); in bdev_resize_partition() 660 lockdep_assert_held(&disk->open_mutex); in bdev_disk_changed()
|
/linux-6.6.21/sound/core/seq/oss/ |
D | seq_oss_midi.c | 40 struct mutex open_mutex; member 176 mutex_init(&mdev->open_mutex); in snd_seq_oss_midi_check_new_port() 333 mutex_lock(&mdev->open_mutex); in snd_seq_oss_midi_open() 387 mutex_unlock(&mdev->open_mutex); in snd_seq_oss_midi_open() 404 mutex_lock(&mdev->open_mutex); in snd_seq_oss_midi_close() 426 mutex_unlock(&mdev->open_mutex); in snd_seq_oss_midi_close()
|
/linux-6.6.21/drivers/media/rc/ |
D | ati_remote.c | 261 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-6.6.21/sound/pci/ |
D | atiixp.c | 268 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()
|
D | atiixp_modem.c | 243 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()
|
D | cmipci.c | 472 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-6.6.21/sound/core/seq/ |
D | seq_ump_client.c | 120 mutex_lock(&ump->open_mutex); in seq_ump_client_open() 131 mutex_unlock(&ump->open_mutex); in seq_ump_client_open() 140 mutex_lock(&ump->open_mutex); in seq_ump_client_close() 144 mutex_unlock(&ump->open_mutex); in seq_ump_client_close()
|
/linux-6.6.21/fs/hostfs/ |
D | hostfs_kern.c | 28 struct mutex open_mutex; member 226 mutex_init(&hi->open_mutex); in hostfs_alloc_inode() 325 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 328 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 334 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 344 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 349 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
|
/linux-6.6.21/drivers/bluetooth/ |
D | hci_vhci.c | 40 struct mutex open_mutex; member 479 mutex_lock(&data->open_mutex); in vhci_create_device() 481 mutex_unlock(&data->open_mutex); in vhci_create_device() 651 mutex_init(&data->open_mutex); in vhci_open()
|
/linux-6.6.21/include/sound/ |
D | hwdep.h | 58 struct mutex open_mutex; member
|
/linux-6.6.21/sound/sparc/ |
D | cs4231.c | 112 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-6.6.21/sound/pci/ice1712/ |
D | ice1724.c | 694 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-6.6.21/sound/pci/korg1212/ |
D | korg1212.c | 309 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() 2086 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
|
/linux-6.6.21/drivers/block/zram/ |
D | zram_drv.c | 2086 mutex_lock(&disk->open_mutex); in reset_store() 2089 mutex_unlock(&disk->open_mutex); in reset_store() 2095 mutex_unlock(&disk->open_mutex); in reset_store() 2101 mutex_lock(&disk->open_mutex); in reset_store() 2103 mutex_unlock(&disk->open_mutex); in reset_store() 2112 WARN_ON(!mutex_is_locked(&disk->open_mutex)); in zram_open() 2271 mutex_lock(&zram->disk->open_mutex); in zram_remove() 2273 mutex_unlock(&zram->disk->open_mutex); in zram_remove() 2280 mutex_unlock(&zram->disk->open_mutex); in zram_remove()
|
/linux-6.6.21/sound/pci/hda/ |
D | hda_controller.c | 95 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()
|