/linux/drivers/s390/block/ |
H A D | dasd_genhd.c | 146 mutex_lock(&block->gdp->open_mutex); in dasd_scan_partitions() 148 mutex_unlock(&block->gdp->open_mutex); in dasd_scan_partitions() 181 mutex_lock(&file_bdev(bdev_file)->bd_disk->open_mutex); in dasd_destroy_partitions() 183 mutex_unlock(&file_bdev(bdev_file)->bd_disk->open_mutex); in dasd_destroy_partitions()
|
/linux/sound/drivers/opl3/ |
H A 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/block/partitions/ |
H A D | core.c | 273 lockdep_assert_held(&part->bd_disk->open_mutex); in drop_partition() 304 lockdep_assert_held(&disk->open_mutex); in add_partition() 433 mutex_lock(&disk->open_mutex); in bdev_add_partition() 453 mutex_unlock(&disk->open_mutex); in bdev_add_partition() 462 mutex_lock(&disk->open_mutex); in bdev_del_partition() 485 mutex_unlock(&disk->open_mutex); in bdev_del_partition() 495 mutex_lock(&disk->open_mutex); in bdev_resize_partition() 512 mutex_unlock(&disk->open_mutex); in bdev_resize_partition() 648 lockdep_assert_held(&disk->open_mutex); in bdev_disk_changed()
|
/linux/sound/pci/lola/ |
H A 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/sound/core/ |
H A 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 scoped_guard(mutex, &hw->open_mutex) { in snd_hwdep_release() 383 mutex_init(&hwdep->open_mutex); in snd_hwdep_new() 465 guard(mutex)(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
|
H A D | rawmidi.c | 422 guard(mutex)(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 467 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 496 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 498 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 520 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 527 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 574 guard(mutex)(&rmidi->open_mutex); in rawmidi_release_priv() 750 guard(mutex)(&substream->rmidi->open_mutex); in snd_rawmidi_output_params() 768 guard(mutex)(&substream->rmidi->open_mutex); in snd_rawmidi_input_params() 1714 guard(mutex)(&rmidi->open_mutex); in snd_rawmidi_proc_info_read() [all...] |
H A D | pcm.c | 134 guard(mutex)(&pcm->open_mutex); in snd_pcm_control_ioctl() 378 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 413 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 441 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 724 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1096 guard(mutex)(&pcm->open_mutex); in snd_pcm_dev_disconnect()
|
/linux/block/ |
H A D | holder.c | 77 mutex_lock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder() 79 mutex_unlock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder() 83 mutex_unlock(&bdev->bd_disk->open_mutex); in bd_link_disk_holder()
|
H A D | bdev.c | 903 mutex_lock(&disk->open_mutex); in bdev_open() 936 mutex_unlock(&disk->open_mutex); in bdev_open() 957 mutex_unlock(&disk->open_mutex); in bdev_open() 1057 lockdep_assert_held(&bdev->bd_disk->open_mutex); in bd_yield_claim() 1086 mutex_lock(&disk->open_mutex); in bdev_release() 1103 mutex_unlock(&disk->open_mutex); in bdev_release() 1127 mutex_lock(&disk->open_mutex); in bdev_fput() 1136 mutex_unlock(&disk->open_mutex); in bdev_fput() 1246 mutex_lock(&bdev->bd_disk->open_mutex); in sync_bdevs() 1260 mutex_unlock(&bdev->bd_disk->open_mutex); in sync_bdevs()
|
H A D | genhd.c | 588 lockdep_assert_not_held(&disk->open_mutex); in blk_report_disk_dead() 676 mutex_lock(&disk->open_mutex); in del_gendisk() 679 mutex_unlock(&disk->open_mutex); in del_gendisk() 691 mutex_lock(&disk->open_mutex); in del_gendisk() 698 mutex_unlock(&disk->open_mutex); in del_gendisk() 1380 mutex_init(&disk->open_mutex); in __alloc_disk_node()
|
/linux/sound/core/seq/oss/ |
H A D | seq_oss_midi.c | 40 struct mutex open_mutex; member 171 mutex_init(&mdev->open_mutex); in snd_seq_oss_midi_check_new_port() 328 mutex_lock(&mdev->open_mutex); in snd_seq_oss_midi_open() 382 mutex_unlock(&mdev->open_mutex); in snd_seq_oss_midi_open() 399 mutex_lock(&mdev->open_mutex); in snd_seq_oss_midi_close() 421 mutex_unlock(&mdev->open_mutex); in snd_seq_oss_midi_close()
|
/linux/sound/pci/ |
H A D | atiixp.c | 268 struct mutex open_mutex; /* playback open mutex */ member 1076 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 1078 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 1093 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 1095 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1115 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_open() 1120 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_open() 1128 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_close() 1133 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_close() 1543 mutex_init(&chip->open_mutex); in snd_atiixp_init()
|
H A D | atiixp_modem.c | 243 struct mutex open_mutex; /* playback open mutex */ member 897 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 899 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 909 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 911 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1173 mutex_init(&chip->open_mutex); in snd_atiixp_init()
|
H A D | cmipci.c | 472 struct mutex open_mutex; member 667 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 669 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 674 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 1585 mutex_lock(&cm->open_mutex); in open_device_check() 1587 mutex_unlock(&cm->open_mutex); in open_device_check() 1599 mutex_unlock(&cm->open_mutex); in open_device_check() 1607 mutex_lock(&cm->open_mutex); in close_device_check() 1623 mutex_unlock(&cm->open_mutex); in close_device_check() 1688 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open() [all …]
|
/linux/fs/hostfs/ |
H A D | hostfs_kern.c | 34 struct mutex open_mutex; member 237 mutex_init(&hi->open_mutex); in hostfs_alloc_inode() 340 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 343 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 349 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 359 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 364 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
|
/linux/drivers/bluetooth/ |
H A D | hci_vhci.c | 40 struct mutex open_mutex; member 469 mutex_lock(&data->open_mutex); in vhci_create_device() 471 mutex_unlock(&data->open_mutex); in vhci_create_device() 641 mutex_init(&data->open_mutex); in vhci_open()
|
/linux/sound/sparc/ |
H A D | cs4231.c | 112 struct mutex open_mutex; /* mutex for ALSA open/close */ member 778 mutex_lock(&chip->open_mutex); in snd_cs4231_open() 780 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 785 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 805 mutex_unlock(&chip->open_mutex); in snd_cs4231_open() 813 mutex_lock(&chip->open_mutex); in snd_cs4231_close() 816 mutex_unlock(&chip->open_mutex); in snd_cs4231_close() 854 mutex_unlock(&chip->open_mutex); in snd_cs4231_close() 1793 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create() 1962 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
|
/linux/include/sound/ |
H A D | hwdep.h | 58 struct mutex open_mutex; member
|
H A D | rawmidi.h | 135 struct mutex open_mutex; member
|
/linux/sound/pci/ice1712/ |
H A 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/sound/pci/korg1212/ |
H A 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() 2088 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
|
/linux/sound/isa/wss/ |
H A D | wss_lib.c | 865 mutex_lock(&chip->open_mutex); in snd_wss_open() 868 mutex_unlock(&chip->open_mutex); in snd_wss_open() 873 mutex_unlock(&chip->open_mutex); in snd_wss_open() 899 mutex_unlock(&chip->open_mutex); in snd_wss_open() 907 mutex_lock(&chip->open_mutex); in snd_wss_close() 910 mutex_unlock(&chip->open_mutex); in snd_wss_close() 946 mutex_unlock(&chip->open_mutex); in snd_wss_close() 1721 mutex_init(&chip->open_mutex); in snd_wss_new()
|
/linux/drivers/block/zram/ |
H A D | zram_drv.c | 2422 mutex_lock(&disk->open_mutex); in reset_store() 2425 mutex_unlock(&disk->open_mutex); in reset_store() 2431 mutex_unlock(&disk->open_mutex); in reset_store() 2437 mutex_lock(&disk->open_mutex); in reset_store() 2439 mutex_unlock(&disk->open_mutex); in reset_store() 2448 WARN_ON(!mutex_is_locked(&disk->open_mutex)); in zram_open() 2606 mutex_lock(&zram->disk->open_mutex); in zram_remove() 2608 mutex_unlock(&zram->disk->open_mutex); in zram_remove() 2615 mutex_unlock(&zram->disk->open_mutex); in zram_remove()
|
/linux/sound/pci/hda/ |
H A D | hda_controller.h | 120 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
/linux/sound/core/seq/ |
H A D | seq_ump_client.c | 111 guard(mutex)(&ump->open_mutex); in seq_ump_client_open() 129 guard(mutex)(&ump->open_mutex); in seq_ump_client_close()
|