/linux/block/ |
A D | holder.c | 78 mutex_lock(&disk->open_mutex); in bd_link_disk_holder() 117 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() 161 mutex_lock(&disk->open_mutex); in bd_register_pending_holders() 167 mutex_unlock(&disk->open_mutex); in bd_register_pending_holders() 173 mutex_unlock(&disk->open_mutex); in bd_register_pending_holders()
|
A D | bdev.c | 817 mutex_lock(&disk->open_mutex); in blkdev_get_by_dev() 845 mutex_unlock(&disk->open_mutex); in blkdev_get_by_dev() 855 mutex_unlock(&disk->open_mutex); in blkdev_get_by_dev() 915 mutex_lock(&disk->open_mutex); in blkdev_put() 958 mutex_unlock(&disk->open_mutex); in blkdev_put() 1056 mutex_lock(&bdev->bd_disk->open_mutex); in sync_bdevs() 1070 mutex_unlock(&bdev->bd_disk->open_mutex); in sync_bdevs()
|
/linux/drivers/s390/block/ |
A D | dasd_genhd.c | 122 mutex_lock(&block->gdp->open_mutex); in dasd_scan_partitions() 124 mutex_unlock(&block->gdp->open_mutex); in dasd_scan_partitions() 158 mutex_lock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions() 160 mutex_unlock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions()
|
/linux/sound/core/ |
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 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()
|
A 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() 382 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 410 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 419 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 438 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 449 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 474 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 728 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1095 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect() [all …]
|
A D | rawmidi.c | 391 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 393 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 437 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 468 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 490 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 497 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 541 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv() 551 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv() 1638 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_proc_info_read() 1782 mutex_init(&rmidi->open_mutex); in snd_rawmidi_new() [all …]
|
/linux/block/partitions/ |
A D | core.c | 287 lockdep_assert_held(&part->bd_disk->open_mutex); in delete_partition() 327 lockdep_assert_held(&disk->open_mutex); in add_partition() 461 mutex_lock(&disk->open_mutex); in bdev_add_partition() 476 mutex_unlock(&disk->open_mutex); in bdev_add_partition() 485 mutex_lock(&disk->open_mutex); in bdev_del_partition() 497 mutex_unlock(&disk->open_mutex); in bdev_del_partition() 507 mutex_lock(&disk->open_mutex); in bdev_resize_partition() 524 mutex_unlock(&disk->open_mutex); in bdev_resize_partition() 549 lockdep_assert_held(&disk->open_mutex); in blk_drop_partitions() 670 lockdep_assert_held(&disk->open_mutex); in bdev_disk_changed()
|
/linux/sound/drivers/opl3/ |
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/sound/pci/lola/ |
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/drivers/bluetooth/ |
A D | hci_vhci.c | 39 struct mutex open_mutex; member 269 mutex_lock(&data->open_mutex); in vhci_create_device() 271 mutex_unlock(&data->open_mutex); in vhci_create_device() 441 mutex_init(&data->open_mutex); in vhci_open()
|
/linux/drivers/media/rc/ |
A D | ati_remote.c | 263 struct mutex open_mutex; member 328 mutex_lock(&ati_remote->open_mutex); in ati_remote_open() 341 out: mutex_unlock(&ati_remote->open_mutex); in ati_remote_open() 350 mutex_lock(&ati_remote->open_mutex); in ati_remote_close() 353 mutex_unlock(&ati_remote->open_mutex); in ati_remote_close() 890 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
|
/linux/sound/pci/ |
A 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()
|
A 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()
|
A D | cmipci.c | 473 struct mutex open_mutex; member 670 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 672 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 677 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 1596 mutex_lock(&cm->open_mutex); in open_device_check() 1610 mutex_unlock(&cm->open_mutex); in open_device_check() 1618 mutex_lock(&cm->open_mutex); in close_device_check() 1634 mutex_unlock(&cm->open_mutex); in close_device_check() 1703 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open() 1715 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_open() [all …]
|
/linux/fs/hostfs/ |
A D | hostfs_kern.c | 27 struct mutex open_mutex; member 231 mutex_init(&hi->open_mutex); in hostfs_alloc_inode() 328 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 331 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 337 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 347 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 352 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
|
/linux/sound/sparc/ |
A 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/include/sound/ |
A D | hwdep.h | 58 struct mutex open_mutex; member
|
A D | rawmidi.h | 129 struct mutex open_mutex; member
|
/linux/drivers/block/zram/ |
A D | zram_drv.c | 1811 mutex_lock(&bdev->bd_disk->open_mutex); in reset_store() 1814 mutex_unlock(&bdev->bd_disk->open_mutex); in reset_store() 1820 mutex_unlock(&bdev->bd_disk->open_mutex); in reset_store() 1826 mutex_lock(&bdev->bd_disk->open_mutex); in reset_store() 1828 mutex_unlock(&bdev->bd_disk->open_mutex); in reset_store() 1838 WARN_ON(!mutex_is_locked(&bdev->bd_disk->open_mutex)); in zram_open() 2009 mutex_lock(&bdev->bd_disk->open_mutex); in zram_remove() 2011 mutex_unlock(&bdev->bd_disk->open_mutex); in zram_remove() 2018 mutex_unlock(&bdev->bd_disk->open_mutex); in zram_remove()
|
/linux/sound/pci/ice1712/ |
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() 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() 1376 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open() [all …]
|
/linux/sound/pci/korg1212/ |
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() 2112 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
|
/linux/sound/pci/hda/ |
A D | hda_controller.c | 95 mutex_lock(&chip->open_mutex); in azx_pcm_close() 100 mutex_unlock(&chip->open_mutex); in azx_pcm_close() 589 mutex_lock(&chip->open_mutex); in azx_pcm_open() 662 mutex_unlock(&chip->open_mutex); in azx_pcm_open() 668 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
|
A D | hda_controller.h | 119 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
/linux/sound/isa/wss/ |
A D | wss_lib.c | 862 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()
|
/linux/include/linux/ |
A D | genhd.h | 144 struct mutex open_mutex; /* open/close mutex */ member
|