Home
last modified time | relevance | path

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

/linux-4.1.27/sound/core/
Dhwdep.c109 mutex_lock(&hw->open_mutex); in snd_hwdep_open()
130 mutex_unlock(&hw->open_mutex); in snd_hwdep_open()
132 mutex_lock(&hw->open_mutex); in snd_hwdep_open()
153 mutex_unlock(&hw->open_mutex); in snd_hwdep_open()
166 mutex_lock(&hw->open_mutex); in snd_hwdep_release()
171 mutex_unlock(&hw->open_mutex); in snd_hwdep_release()
385 mutex_init(&hwdep->open_mutex); in snd_hwdep_new()
474 mutex_lock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
482 mutex_unlock(&hwdep->open_mutex); in snd_hwdep_dev_disconnect()
Drawmidi.c353 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_kernel_open()
355 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_kernel_open()
399 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
427 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
429 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_open()
451 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
458 mutex_unlock(&rmidi->open_mutex); in snd_rawmidi_open()
502 mutex_lock(&rmidi->open_mutex); in rawmidi_release_priv()
512 mutex_unlock(&rmidi->open_mutex); in rawmidi_release_priv()
1409 mutex_lock(&rmidi->open_mutex); in snd_rawmidi_proc_info_read()
[all …]
Dpcm.c388 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read()
416 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_hw_params_read()
425 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read()
444 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_sw_params_read()
455 mutex_lock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read()
480 mutex_unlock(&substream->pcm->open_mutex); in snd_pcm_substream_proc_status_read()
777 mutex_init(&pcm->open_mutex); in _snd_pcm_new()
1120 mutex_lock(&pcm->open_mutex); in snd_pcm_dev_disconnect()
1146 mutex_unlock(&pcm->open_mutex); in snd_pcm_dev_disconnect()
Dpcm_native.c2372 mutex_lock(&pcm->open_mutex); in snd_pcm_open()
2385 mutex_unlock(&pcm->open_mutex); in snd_pcm_open()
2387 mutex_lock(&pcm->open_mutex); in snd_pcm_open()
2398 mutex_unlock(&pcm->open_mutex); in snd_pcm_open()
2422 mutex_lock(&pcm->open_mutex); in snd_pcm_release()
2425 mutex_unlock(&pcm->open_mutex); in snd_pcm_release()
/linux-4.1.27/sound/drivers/opl3/
Dopl3_seq.c57 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-4.1.27/sound/pci/lola/
Dlola_pcm.c230 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()
Dlola.h334 struct mutex open_mutex; member
Dlola.c592 mutex_init(&chip->open_mutex); in lola_create()
/linux-4.1.27/drivers/bluetooth/
Dhci_vhci.c53 struct mutex open_mutex; member
170 mutex_lock(&data->open_mutex); in vhci_create_device()
172 mutex_unlock(&data->open_mutex); in vhci_create_device()
341 mutex_init(&data->open_mutex); in vhci_open()
/linux-4.1.27/fs/ncpfs/
Dncp_fs_i.h20 struct mutex open_mutex; member
Dfile.c48 mutex_lock(&NCP_FINFO(inode)->open_mutex); in ncp_make_open()
95 mutex_unlock(&NCP_FINFO(inode)->open_mutex); in ncp_make_open()
Dncplib_kernel.c292 mutex_lock(&NCP_FINFO(inode)->open_mutex); in ncp_make_closed()
302 mutex_unlock(&NCP_FINFO(inode)->open_mutex); in ncp_make_closed()
Dinode.c76 mutex_init(&ei->open_mutex); in init_once()
/linux-4.1.27/drivers/media/rc/
Dati_remote.c277 struct mutex open_mutex; member
342 mutex_lock(&ati_remote->open_mutex); in ati_remote_open()
355 out: mutex_unlock(&ati_remote->open_mutex); in ati_remote_open()
364 mutex_lock(&ati_remote->open_mutex); in ati_remote_close()
367 mutex_unlock(&ati_remote->open_mutex); in ati_remote_close()
897 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
/linux-4.1.27/fs/hostfs/
Dhostfs_kern.c27 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-4.1.27/sound/pci/
Datiixp.c283 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()
1609 mutex_init(&chip->open_mutex); in snd_atiixp_create()
Datiixp_modem.c258 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()
1235 mutex_init(&chip->open_mutex); in snd_atiixp_create()
Dcmipci.c490 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-4.1.27/include/sound/
Dhwdep.h73 struct mutex open_mutex; member
Drawmidi.h140 struct mutex open_mutex; member
Dwss.h113 struct mutex open_mutex; member
Dpcm.h532 struct mutex open_mutex; member
/linux-4.1.27/sound/sparc/
Dcs4231.c112 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-4.1.27/sound/pci/ice1712/
Dice1724.c726 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
734 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
749 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
757 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_params()
771 mutex_lock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
776 mutex_unlock(&ice->open_mutex); in snd_vt1724_pcm_hw_free()
1052 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1063 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_pro_open()
1412 mutex_lock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
1415 mutex_unlock(&ice->open_mutex); in snd_vt1724_playback_indep_open()
[all …]
Dice1712.h349 struct mutex open_mutex; member
Dice1712.c2556 mutex_init(&ice->open_mutex); in snd_ice1712_create()
/linux-4.1.27/sound/isa/wss/
Dwss_lib.c876 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-4.1.27/sound/pci/korg1212/
Dkorg1212.c323 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()
2171 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
/linux-4.1.27/sound/pci/hda/
Dhda_controller.c412 mutex_lock(&chip->open_mutex); in azx_pcm_close()
421 mutex_unlock(&chip->open_mutex); in azx_pcm_close()
810 mutex_lock(&chip->open_mutex); in azx_pcm_open()
884 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
890 mutex_unlock(&chip->open_mutex); in azx_pcm_open()
Dhda_controller.h322 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
Dhda_tegra.c424 mutex_init(&chip->open_mutex); in hda_tegra_create()
Dhda_intel.c1441 mutex_init(&chip->open_mutex); in azx_create()
/linux-4.1.27/sound/core/oss/
Dpcm_oss.c2426 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open()
2440 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open()
2442 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_open()
2453 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_open()
2484 mutex_lock(&pcm->open_mutex); in snd_pcm_oss_release()
2486 mutex_unlock(&pcm->open_mutex); in snd_pcm_oss_release()
/linux-4.1.27/drivers/md/
Dmd.h366 struct mutex open_mutex; member
Dmd.c509 mutex_init(&mddev->open_mutex); in mddev_init()
4937 mutex_lock(&mddev->open_mutex); in md_alloc()
4953 mutex_unlock(&mddev->open_mutex); in md_alloc()
5419 mutex_lock(&mddev->open_mutex); in md_set_readonly()
5448 mutex_unlock(&mddev->open_mutex); in md_set_readonly()
5481 mutex_lock(&mddev->open_mutex); in do_md_stop()
5488 mutex_unlock(&mddev->open_mutex); in do_md_stop()
5513 mutex_unlock(&mddev->open_mutex); in do_md_stop()
5520 mutex_unlock(&mddev->open_mutex); in do_md_stop()
6643 mutex_lock(&mddev->open_mutex); in md_ioctl()
[all …]
/linux-4.1.27/sound/oss/
Dswarm_cs4297a.c310 struct mutex open_mutex; member