/linux-4.1.27/sound/core/ |
D | hwdep.c | 109 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()
|
D | rawmidi.c | 353 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 …]
|
D | pcm.c | 388 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()
|
D | pcm_native.c | 2372 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/ |
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-4.1.27/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
|
D | lola.c | 592 mutex_init(&chip->open_mutex); in lola_create()
|
/linux-4.1.27/drivers/bluetooth/ |
D | hci_vhci.c | 53 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/ |
D | ncp_fs_i.h | 20 struct mutex open_mutex; member
|
D | file.c | 48 mutex_lock(&NCP_FINFO(inode)->open_mutex); in ncp_make_open() 95 mutex_unlock(&NCP_FINFO(inode)->open_mutex); in ncp_make_open()
|
D | ncplib_kernel.c | 292 mutex_lock(&NCP_FINFO(inode)->open_mutex); in ncp_make_closed() 302 mutex_unlock(&NCP_FINFO(inode)->open_mutex); in ncp_make_closed()
|
D | inode.c | 76 mutex_init(&ei->open_mutex); in init_once()
|
/linux-4.1.27/drivers/media/rc/ |
D | ati_remote.c | 277 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/ |
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-4.1.27/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() 1609 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() 1235 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-4.1.27/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
|
D | pcm.h | 532 struct mutex open_mutex; member
|
/linux-4.1.27/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-4.1.27/sound/pci/ice1712/ |
D | ice1724.c | 726 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 …]
|
D | ice1712.h | 349 struct mutex open_mutex; member
|
D | ice1712.c | 2556 mutex_init(&ice->open_mutex); in snd_ice1712_create()
|
/linux-4.1.27/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-4.1.27/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() 2171 mutex_init(&korg1212->open_mutex); in snd_korg1212_create()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_controller.c | 412 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()
|
D | hda_controller.h | 322 struct mutex open_mutex; /* Prevents concurrent open/close operations */ member
|
D | hda_tegra.c | 424 mutex_init(&chip->open_mutex); in hda_tegra_create()
|
D | hda_intel.c | 1441 mutex_init(&chip->open_mutex); in azx_create()
|
/linux-4.1.27/sound/core/oss/ |
D | pcm_oss.c | 2426 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/ |
D | md.h | 366 struct mutex open_mutex; member
|
D | md.c | 509 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/ |
D | swarm_cs4297a.c | 310 struct mutex open_mutex; member
|