| /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() 466 guard(mutex)(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
|
| H A D | rawmidi.c | 473 mutex_lock_nested(&rmidi->open_mutex, depth); in snd_rawmidi_open() 477 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 517 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 546 mutex_unlock(&rmidi->open_mutex); in close_substream() 548 mutex_lock(&rmidi->open_mutex); in close_substream() 570 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv() 577 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv() 649 mutex_lock_nested(&rmidi->open_mutex, depth); in snd_rawmidi_info_user() 651 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_info_user() 665 scoped_guard(mutex, &rmidi->open_mutex) in __snd_rawmidi_info_select() [all...] |
| H A D | pcm.c | 134 guard(mutex)(&pcm->open_mutex); in snd_pcm_control_ioctl() 376 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 411 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 439 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 726 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1105 scoped_guard(mutex, &pcm->open_mutex) { in snd_pcm_dev_disconnect() 1133 /* Proc rundown can run release callbacks which take open_mutex. */
|
| H A D | ump.c | 199 mutex_init(&ump->open_mutex); in snd_ump_endpoint_new() 1198 guard(mutex)(&ump->open_mutex); in snd_ump_legacy_trigger() 1227 guard(mutex)(&ump->open_mutex);
|
| H A D | pcm_memory.c | 189 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
|
| H A D | pcm_native.c | 1860 * Takes and releases pcm->open_mutex to serialize against 1875 guard(mutex)(&pcm->open_mutex); in snd_pcm_post_resume() 3007 mutex_lock(&pcm->open_mutex); in do_pcm_hwsync() 3020 mutex_unlock(&pcm->open_mutex); in forward_appl_ptr() 3022 mutex_lock(&pcm->open_mutex); in forward_appl_ptr() 3033 mutex_unlock(&pcm->open_mutex); in forward_appl_ptr() 3061 scoped_guard(mutex, &pcm->open_mutex) { in rewind_appl_ptr()
|
| /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 | 725 * bdev_lock. open_mutex is used to synchronize disk_holder unlinking. in bd_end_claim() 990 mutex_lock(&disk->open_mutex); in bdev_open() 1023 mutex_unlock(&disk->open_mutex); in bdev_open() 1044 mutex_unlock(&disk->open_mutex); in bdev_open() 1144 lockdep_assert_held(&bdev->bd_disk->open_mutex); in bd_yield_claim() 1173 mutex_lock(&disk->open_mutex); in bdev_release() 1190 mutex_unlock(&disk->open_mutex); in bdev_release() 1217 mutex_lock(&disk->open_mutex); in bdev_yield_claim() 1226 mutex_unlock(&disk->open_mutex); in bdev_yield_claim() 1378 mutex_lock(&bdev->bd_disk->open_mutex); in sync_bdevs() [all...] |
| H A D | genhd.c | 610 * lock dependency on `disk->open_mutex` from scanning partition. in add_disk_fwnode() 642 * disk->open_mutex. in blk_report_disk_dead() 644 lockdep_assert_not_held(&disk->open_mutex); in blk_report_disk_dead() 714 mutex_lock(&disk->open_mutex); in __del_gendisk() 717 mutex_unlock(&disk->open_mutex); in __del_gendisk() 729 mutex_lock(&disk->open_mutex); in __del_gendisk() 735 mutex_unlock(&disk->open_mutex); in __del_gendisk() 1478 mutex_init(&disk->open_mutex); in __alloc_disk_node()
|
| /linux/fs/hostfs/ |
| H A D | hostfs_kern.c | 34 struct mutex open_mutex; member 223 mutex_init(&hi->open_mutex); in hostfs_alloc_inode() 326 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 329 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 335 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 345 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 350 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
|
| /linux/sound/core/seq/oss/ |
| H A D | seq_oss_midi.c | 40 struct mutex open_mutex; member 166 mutex_init(&mdev->open_mutex); in snd_seq_oss_midi_check_new_port() 320 guard(mutex)(&mdev->open_mutex); in snd_seq_oss_midi_open() 378 guard(mutex)(&mdev->open_mutex); in snd_seq_oss_midi_close()
|
| /linux/include/sound/ |
| H A D | hwdep.h | 58 struct mutex open_mutex; member
|
| H A D | rawmidi.h | 138 struct mutex open_mutex; 137 struct mutex open_mutex; global() member
|
| H A D | wss.h | 98 struct mutex open_mutex; member
|
| /linux/sound/hda/common/ |
| H A D | hda_controller.h | 121 struct mutex open_mutex; /* Prevents concurrent open/close operations */ 120 struct mutex open_mutex; /* Prevents concurrent open/close operations */ global() member
|
| H A D | controller.c | 99 scoped_guard(mutex, &chip->open_mutex) { in azx_pcm_close() 587 mutex_lock(&chip->open_mutex); in azx_pcm_open() 660 mutex_unlock(&chip->open_mutex); in azx_pcm_open() 666 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
|
| /linux/sound/core/seq/ |
| H A D | seq_ump_client.c | 42 * out_rfile itself is only touched by open/close under open_mutex 116 guard(mutex)(&ump->open_mutex); in seq_ump_client_open() 118 /* out_rfile is only accessed under open_mutex; the delivery in seq_ump_client_open() 140 guard(mutex)(&ump->open_mutex); in seq_ump_subscribe()
|
| /linux/drivers/block/zram/ |
| H A D | zram_drv.c | 2959 mutex_lock(&disk->open_mutex); in reset_store() 2962 mutex_unlock(&disk->open_mutex); in reset_store() 2968 mutex_unlock(&disk->open_mutex); in reset_store() 2974 mutex_lock(&disk->open_mutex); in zram_open() 2976 mutex_unlock(&disk->open_mutex); in zram_open() 2985 WARN_ON(!mutex_is_locked(&disk->open_mutex)); 3147 mutex_lock(&zram->disk->open_mutex); in zram_remove() 3149 mutex_unlock(&zram->disk->open_mutex); in zram_remove() 3156 mutex_unlock(&zram->disk->open_mutex); in zram_remove()
|
| /linux/sound/hda/controllers/ |
| H A D | acpi.c | 186 mutex_init(&azx->open_mutex); in hda_acpi_create()
|
| H A D | cix-ipbloq.c | 199 mutex_init(&chip->open_mutex); in cix_ipbloq_hda_create()
|
| H A D | tegra.c | 424 mutex_init(&chip->open_mutex); in hda_tegra_create()
|
| /linux/sound/pci/ice1712/ |
| H A D | ice1712.h | 336 struct mutex open_mutex; member
|
| /linux/sound/pci/ |
| H A D | cmipci.c | 472 struct mutex open_mutex; member 667 guard(mutex)(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 1570 guard(mutex)(&cm->open_mutex); in open_device_check() 1588 guard(mutex)(&cm->open_mutex); in close_device_check() 1667 guard(mutex)(&cm->open_mutex); in snd_cmipci_playback2_open() 2945 mutex_init(&cm->open_mutex); in snd_cmipci_create()
|
| /linux/sound/core/oss/ |
| H A D | pcm_oss.c | 2534 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2548 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2550 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2561 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2592 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_release() 2594 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_release()
|
| /linux/drivers/nvme/host/ |
| H A D | multipath.c | 704 mutex_lock(&head->disk->open_mutex); in nvme_remove_head() 706 mutex_unlock(&head->disk->open_mutex); in nvme_remove_head()
|