Home
last modified time | relevance | path

Searched refs:open_mutex (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/s390/block/
A Ddasd_genhd.c146 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/
A Dopl3_seq.c43 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/
A Dcore.c268 lockdep_assert_held(&part->bd_disk->open_mutex); in drop_partition()
299 lockdep_assert_held(&disk->open_mutex); in add_partition()
425 mutex_lock(&disk->open_mutex); in bdev_add_partition()
445 mutex_unlock(&disk->open_mutex); in bdev_add_partition()
454 mutex_lock(&disk->open_mutex); in bdev_del_partition()
477 mutex_unlock(&disk->open_mutex); in bdev_del_partition()
487 mutex_lock(&disk->open_mutex); in bdev_resize_partition()
504 mutex_unlock(&disk->open_mutex); in bdev_resize_partition()
640 lockdep_assert_held(&disk->open_mutex); in bdev_disk_changed()
/linux/sound/pci/lola/
A Dlola_pcm.c217 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/block/
A Dholder.c77 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()
A Dbdev.c904 mutex_lock(&disk->open_mutex); in bdev_open()
937 mutex_unlock(&disk->open_mutex); in bdev_open()
958 mutex_unlock(&disk->open_mutex); in bdev_open()
1058 lockdep_assert_held(&bdev->bd_disk->open_mutex); in bd_yield_claim()
1087 mutex_lock(&disk->open_mutex); in bdev_release()
1104 mutex_unlock(&disk->open_mutex); in bdev_release()
1128 mutex_lock(&disk->open_mutex); in bdev_fput()
1137 mutex_unlock(&disk->open_mutex); in bdev_fput()
1247 mutex_lock(&bdev->bd_disk->open_mutex); in sync_bdevs()
1261 mutex_unlock(&bdev->bd_disk->open_mutex); in sync_bdevs()
A Dgenhd.c568 lockdep_assert_not_held(&disk->open_mutex); in blk_report_disk_dead()
655 mutex_lock(&disk->open_mutex); in del_gendisk()
658 mutex_unlock(&disk->open_mutex); in del_gendisk()
670 mutex_lock(&disk->open_mutex); in del_gendisk()
674 mutex_unlock(&disk->open_mutex); in del_gendisk()
1361 mutex_init(&disk->open_mutex); in __alloc_disk_node()
/linux/sound/core/
A Dhwdep.c95 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()
A Drawmidi.c422 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()
748 guard(mutex)(&substream->rmidi->open_mutex); in snd_rawmidi_output_params()
1712 guard(mutex)(&rmidi->open_mutex); in snd_rawmidi_proc_info_read()
1830 mutex_init(&rmidi->open_mutex); in snd_rawmidi_init()
[all …]
A Dpcm.c134 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/sound/core/seq/oss/
A Dseq_oss_midi.c40 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/drivers/media/rc/
A Dati_remote.c261 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/sound/pci/
A Datiixp.c268 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()
A Datiixp_modem.c243 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()
A Dcmipci.c472 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()
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()
1700 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_open()
[all …]
/linux/fs/hostfs/
A Dhostfs_kern.c34 struct mutex open_mutex; member
236 mutex_init(&hi->open_mutex); in hostfs_alloc_inode()
339 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
342 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
348 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
358 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
363 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
/linux/drivers/bluetooth/
A Dhci_vhci.c40 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/include/sound/
A Dhwdep.h58 struct mutex open_mutex; member
A Drawmidi.h135 struct mutex open_mutex; member
/linux/sound/sparc/
A Dcs4231.c112 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/sound/pci/ice1712/
A Dice1724.c694 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 Dkorg1212.c309 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/pci/hda/
A Dhda_controller.c96 mutex_lock(&chip->open_mutex); in azx_pcm_close()
101 mutex_unlock(&chip->open_mutex); in azx_pcm_close()
594 mutex_lock(&chip->open_mutex); in azx_pcm_open()
667 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
673 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
A Dhda_controller.h120 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
/linux/sound/isa/wss/
A Dwss_lib.c865 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()

Completed in 693 milliseconds

12