/Linux-v4.19/sound/core/ |
D | hwdep.c | 110 mutex_lock(&hw->open_mutex); in snd_hwdep_open() 131 mutex_unlock(&hw->open_mutex); in snd_hwdep_open() 133 mutex_lock(&hw->open_mutex); in snd_hwdep_open() 154 mutex_unlock(&hw->open_mutex); in snd_hwdep_open() 167 mutex_lock(&hw->open_mutex); in snd_hwdep_release() 172 mutex_unlock(&hw->open_mutex); in snd_hwdep_release() 386 mutex_init(&hwdep->open_mutex); in snd_hwdep_new() 475 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect() 483 mutex_unlock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
|
D | pcm.c | 157 mutex_lock(&pcm->open_mutex); in snd_pcm_control_ioctl() 159 mutex_unlock(&pcm->open_mutex); in snd_pcm_control_ioctl() 395 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 423 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read() 432 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 451 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read() 462 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 487 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read() 790 mutex_init(&pcm->open_mutex); in _snd_pcm_new() 1153 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect() [all …]
|
D | rawmidi.c | 361 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 363 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open() 407 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 435 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 437 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open() 459 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 466 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open() 510 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv() 520 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv() 1426 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_proc_info_read() [all …]
|
D | pcm_native.c | 2513 mutex_lock(&pcm->open_mutex); in snd_pcm_open() 2526 mutex_unlock(&pcm->open_mutex); in snd_pcm_open() 2528 mutex_lock(&pcm->open_mutex); in snd_pcm_open() 2539 mutex_unlock(&pcm->open_mutex); in snd_pcm_open() 2563 mutex_lock(&pcm->open_mutex); in snd_pcm_release() 2566 mutex_unlock(&pcm->open_mutex); in snd_pcm_release()
|
/Linux-v4.19/sound/drivers/opl3/ |
D | opl3_seq.c | 57 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup() 59 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 63 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 98 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup() 100 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_cleanup()
|
/Linux-v4.19/sound/pci/lola/ |
D | lola_pcm.c | 230 mutex_lock(&chip->open_mutex); in lola_pcm_open() 232 mutex_unlock(&chip->open_mutex); in lola_pcm_open() 255 mutex_unlock(&chip->open_mutex); in lola_pcm_open() 277 mutex_lock(&chip->open_mutex); in lola_pcm_close() 286 mutex_unlock(&chip->open_mutex); in lola_pcm_close() 308 mutex_lock(&chip->open_mutex); in lola_pcm_hw_free() 311 mutex_unlock(&chip->open_mutex); in lola_pcm_hw_free() 474 mutex_lock(&chip->open_mutex); in lola_pcm_prepare() 478 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare() 485 mutex_unlock(&chip->open_mutex); in lola_pcm_prepare()
|
D | lola.h | 334 struct mutex open_mutex; member
|
/Linux-v4.19/drivers/bluetooth/ |
D | hci_vhci.c | 53 struct mutex open_mutex; member 162 mutex_lock(&data->open_mutex); in vhci_create_device() 164 mutex_unlock(&data->open_mutex); in vhci_create_device() 333 mutex_init(&data->open_mutex); in vhci_open()
|
/Linux-v4.19/drivers/media/rc/ |
D | ati_remote.c | 273 struct mutex open_mutex; member 338 mutex_lock(&ati_remote->open_mutex); in ati_remote_open() 351 out: mutex_unlock(&ati_remote->open_mutex); in ati_remote_open() 360 mutex_lock(&ati_remote->open_mutex); in ati_remote_close() 363 mutex_unlock(&ati_remote->open_mutex); in ati_remote_close() 896 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
|
/Linux-v4.19/fs/hostfs/ |
D | hostfs_kern.c | 27 struct mutex open_mutex; member 232 mutex_init(&hi->open_mutex); in hostfs_alloc_inode() 335 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 338 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 344 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 354 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 359 mutex_unlock(&HOSTFS_I(ino)->open_mutex); in hostfs_open()
|
/Linux-v4.19/sound/pci/ |
D | atiixp.c | 283 struct mutex open_mutex; /* playback open mutex */ member 1089 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 1091 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 1106 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 1108 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1128 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_open() 1133 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_open() 1141 mutex_lock(&chip->open_mutex); in snd_atiixp_spdif_close() 1146 mutex_unlock(&chip->open_mutex); in snd_atiixp_spdif_close() 1605 mutex_init(&chip->open_mutex); in snd_atiixp_create()
|
D | atiixp_modem.c | 258 struct mutex open_mutex; /* playback open mutex */ member 918 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_open() 920 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_open() 930 mutex_lock(&chip->open_mutex); in snd_atiixp_playback_close() 932 mutex_unlock(&chip->open_mutex); in snd_atiixp_playback_close() 1231 mutex_init(&chip->open_mutex); in snd_atiixp_create()
|
D | cmipci.c | 490 struct mutex open_mutex; member 693 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 695 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 700 mutex_unlock(&cm->open_mutex); in snd_cmipci_playback2_hw_params() 1620 mutex_lock(&cm->open_mutex); in open_device_check() 1622 mutex_unlock(&cm->open_mutex); in open_device_check() 1634 mutex_unlock(&cm->open_mutex); in open_device_check() 1642 mutex_lock(&cm->open_mutex); in close_device_check() 1658 mutex_unlock(&cm->open_mutex); in close_device_check() 1723 mutex_lock(&cm->open_mutex); in snd_cmipci_playback2_open() [all …]
|
/Linux-v4.19/include/sound/ |
D | hwdep.h | 73 struct mutex open_mutex; member
|
D | rawmidi.h | 140 struct mutex open_mutex; member
|
D | wss.h | 113 struct mutex open_mutex; member
|
/Linux-v4.19/sound/sparc/ |
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() 1807 mutex_init(&chip->open_mutex); in snd_cs4231_sbus_create() 1973 mutex_init(&chip->open_mutex); in snd_cs4231_ebus_create()
|
/Linux-v4.19/sound/pci/ice1712/ |
D | ice1724.c | 724 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 732 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 747 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 755 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params() 769 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_free() 774 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_free() 1050 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_pro_open() 1061 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_pro_open() 1410 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_indep_open() 1413 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open() [all …]
|
D | ice1712.h | 350 struct mutex open_mutex; member
|
/Linux-v4.19/sound/pci/hda/ |
D | hda_controller.c | 105 mutex_lock(&chip->open_mutex); in azx_pcm_close() 110 mutex_unlock(&chip->open_mutex); in azx_pcm_close() 603 mutex_lock(&chip->open_mutex); in azx_pcm_open() 678 mutex_unlock(&chip->open_mutex); in azx_pcm_open() 684 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
|
D | hda_controller.h | 140 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
/Linux-v4.19/sound/pci/korg1212/ |
D | korg1212.c | 323 struct mutex open_mutex; member 662 mutex_lock(&korg1212->open_mutex); in snd_korg1212_OpenCard() 668 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_OpenCard() 677 mutex_lock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 679 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 690 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 702 mutex_unlock(&korg1212->open_mutex); in snd_korg1212_CloseCard() 2191 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
|
/Linux-v4.19/sound/isa/wss/ |
D | wss_lib.c | 876 mutex_lock(&chip->open_mutex); in snd_wss_open() 879 mutex_unlock(&chip->open_mutex); in snd_wss_open() 884 mutex_unlock(&chip->open_mutex); in snd_wss_open() 910 mutex_unlock(&chip->open_mutex); in snd_wss_open() 918 mutex_lock(&chip->open_mutex); in snd_wss_close() 921 mutex_unlock(&chip->open_mutex); in snd_wss_close() 957 mutex_unlock(&chip->open_mutex); in snd_wss_close() 1780 mutex_init(&chip->open_mutex); in snd_wss_new()
|
/Linux-v4.19/sound/core/oss/ |
D | pcm_oss.c | 2503 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2517 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2519 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open() 2530 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open() 2561 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_release() 2563 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_release()
|
/Linux-v4.19/drivers/md/ |
D | md.c | 557 mutex_init(&mddev->open_mutex); in mddev_init() 5358 mutex_lock(&mddev->open_mutex); in md_alloc() 5373 mutex_unlock(&mddev->open_mutex); in md_alloc() 5955 mutex_lock(&mddev->open_mutex); in md_set_readonly() 5983 mutex_unlock(&mddev->open_mutex); in md_set_readonly() 6016 mutex_lock(&mddev->open_mutex); in do_md_stop() 6022 mutex_unlock(&mddev->open_mutex); in do_md_stop() 6046 mutex_unlock(&mddev->open_mutex); in do_md_stop() 6053 mutex_unlock(&mddev->open_mutex); in do_md_stop() 7211 mutex_lock(&mddev->open_mutex); in md_ioctl() [all …]
|