| /linux/block/partitions/ |
| H A D | core.c | 274 lockdep_assert_held(&part->bd_disk->open_mutex); in drop_partition() 305 lockdep_assert_held(&disk->open_mutex); in add_partition() 434 mutex_lock(&disk->open_mutex); in bdev_add_partition() 454 mutex_unlock(&disk->open_mutex); in bdev_add_partition() 463 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() 649 lockdep_assert_held(&disk->open_mutex); in bdev_disk_changed()
|
| /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() 753 guard(mutex)(&substream->rmidi->open_mutex); in snd_rawmidi_output_params() 771 guard(mutex)(&substream->rmidi->open_mutex); in snd_rawmidi_input_params() 1717 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() 722 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1094 guard(mutex)(&pcm->open_mutex); in snd_pcm_dev_disconnect()
|
| H A D | ump.c | 173 mutex_init(&ump->open_mutex); in snd_ump_endpoint_new() 1153 guard(mutex)(&ump->open_mutex); in snd_ump_legacy_open() 1181 guard(mutex)(&ump->open_mutex); in snd_ump_legacy_close()
|
| H A D | pcm_memory.c | 189 guard(mutex)(&substream->pcm->open_mutex); in snd_pcm_lib_preallocate_proc_write()
|
| /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 | genhd.c | 641 lockdep_assert_not_held(&disk->open_mutex); in blk_report_disk_dead() 710 mutex_lock(&disk->open_mutex); in __del_gendisk() 713 mutex_unlock(&disk->open_mutex); in __del_gendisk() 725 mutex_lock(&disk->open_mutex); in __del_gendisk() 731 mutex_unlock(&disk->open_mutex); in __del_gendisk() 1470 mutex_init(&disk->open_mutex); in __alloc_disk_node()
|
| /linux/drivers/vfio/pci/hisilicon/ |
| H A D | hisi_acc_vfio_pci.c | 1435 lockdep_assert_held(&hisi_acc_vdev->open_mutex); in hisi_acc_vf_debug_check() 1464 mutex_lock(&hisi_acc_vdev->open_mutex); in hisi_acc_vf_debug_cmd() 1467 mutex_unlock(&hisi_acc_vdev->open_mutex); in hisi_acc_vf_debug_cmd() 1473 mutex_unlock(&hisi_acc_vdev->open_mutex); in hisi_acc_vf_debug_cmd() 1477 mutex_unlock(&hisi_acc_vdev->open_mutex); in hisi_acc_vf_debug_cmd() 1493 mutex_lock(&hisi_acc_vdev->open_mutex); in hisi_acc_vf_dev_read() 1496 mutex_unlock(&hisi_acc_vdev->open_mutex); in hisi_acc_vf_dev_read() 1525 mutex_unlock(&hisi_acc_vdev->open_mutex); in hisi_acc_vf_dev_read() 1563 mutex_lock(&hisi_acc_vdev->open_mutex); in hisi_acc_vfio_pci_open_device() 1566 mutex_unlock(&hisi_acc_vdev->open_mutex); in hisi_acc_vfio_pci_open_device() [all …]
|
| /linux/drivers/media/rc/ |
| H A 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/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() 315 guard(mutex)(&mdev->open_mutex); in snd_seq_oss_midi_open() 373 guard(mutex)(&mdev->open_mutex); in snd_seq_oss_midi_close()
|
| /linux/drivers/bluetooth/ |
| H A D | hci_vhci.c | 40 struct mutex open_mutex; member 478 mutex_lock(&data->open_mutex); in vhci_create_device() 480 mutex_unlock(&data->open_mutex); in vhci_create_device() 650 mutex_init(&data->open_mutex); in vhci_open()
|
| /linux/include/sound/ |
| H A D | hwdep.h | 58 struct mutex open_mutex; member
|
| H A D | wss.h | 98 struct mutex open_mutex; member
|
| /linux/sound/hda/common/ |
| H A D | hda_controller.h | 120 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
| H A D | controller.c | 99 scoped_guard(mutex, &chip->open_mutex) { in azx_pcm_close() 585 mutex_lock(&chip->open_mutex); in azx_pcm_open() 658 mutex_unlock(&chip->open_mutex); in azx_pcm_open() 664 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
|
| /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()
|
| /linux/drivers/block/zram/ |
| H A D | zram_drv.c | 2951 mutex_lock(&disk->open_mutex); in reset_store() 2954 mutex_unlock(&disk->open_mutex); in reset_store() 2960 mutex_unlock(&disk->open_mutex); in reset_store() 2966 mutex_lock(&disk->open_mutex); in reset_store() 2968 mutex_unlock(&disk->open_mutex); in reset_store() 2977 WARN_ON(!mutex_is_locked(&disk->open_mutex)); in zram_open() 3139 mutex_lock(&zram->disk->open_mutex); in zram_remove() 3141 mutex_unlock(&zram->disk->open_mutex); in zram_remove() 3148 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 | 423 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() 2939 mutex_init(&cm->open_mutex); in snd_cmipci_create()
|
| /linux/sound/core/oss/ |
| H A D | pcm_oss.c | 2521 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2535 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2537 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2548 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2579 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_release() 2581 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_release()
|