Home
last modified time | relevance | path

Searched refs:register_mutex (Results 1 – 15 of 15) sorted by relevance

/linux-2.6.39/sound/core/seq/oss/
Dseq_oss.c126 static DEFINE_MUTEX(register_mutex);
138 mutex_lock(&register_mutex); in odev_open()
140 mutex_unlock(&register_mutex); in odev_open()
155 mutex_lock(&register_mutex); in odev_release()
157 mutex_unlock(&register_mutex); in odev_release()
231 mutex_lock(&register_mutex); in register_device()
237 mutex_unlock(&register_mutex); in register_device()
246 mutex_unlock(&register_mutex); in register_device()
250 mutex_unlock(&register_mutex); in register_device()
257 mutex_lock(&register_mutex); in unregister_device()
[all …]
/linux-2.6.39/sound/core/
Dhwdep.c38 static DEFINE_MUTEX(register_mutex);
274 mutex_lock(&register_mutex); in snd_hwdep_control_ioctl()
283 mutex_unlock(&register_mutex); in snd_hwdep_control_ioctl()
296 mutex_lock(&register_mutex); in snd_hwdep_control_ioctl()
302 mutex_unlock(&register_mutex); in snd_hwdep_control_ioctl()
406 mutex_lock(&register_mutex); in snd_hwdep_dev_register()
408 mutex_unlock(&register_mutex); in snd_hwdep_dev_register()
419 mutex_unlock(&register_mutex); in snd_hwdep_dev_register()
439 mutex_unlock(&register_mutex); in snd_hwdep_dev_register()
449 mutex_lock(&register_mutex); in snd_hwdep_dev_disconnect()
[all …]
Dtimer.c87 static DEFINE_MUTEX(register_mutex);
245 mutex_lock(&register_mutex); in snd_timer_open()
248 mutex_unlock(&register_mutex); in snd_timer_open()
256 mutex_unlock(&register_mutex); in snd_timer_open()
262 mutex_lock(&register_mutex); in snd_timer_open()
266 mutex_unlock(&register_mutex); in snd_timer_open()
268 mutex_lock(&register_mutex); in snd_timer_open()
273 mutex_unlock(&register_mutex); in snd_timer_open()
280 mutex_unlock(&register_mutex); in snd_timer_open()
286 mutex_unlock(&register_mutex); in snd_timer_open()
[all …]
Dpcm.c38 static DEFINE_MUTEX(register_mutex);
98 mutex_lock(&register_mutex); in snd_pcm_control_ioctl()
100 mutex_unlock(&register_mutex); in snd_pcm_control_ioctl()
124 mutex_lock(&register_mutex); in snd_pcm_control_ioctl()
149 mutex_unlock(&register_mutex); in snd_pcm_control_ioctl()
988 mutex_lock(&register_mutex); in snd_pcm_dev_register()
991 mutex_unlock(&register_mutex); in snd_pcm_dev_register()
1021 mutex_unlock(&register_mutex); in snd_pcm_dev_register()
1033 mutex_unlock(&register_mutex); in snd_pcm_dev_register()
1044 mutex_lock(&register_mutex); in snd_pcm_dev_disconnect()
[all …]
Drawmidi.c57 static DEFINE_MUTEX(register_mutex);
344 mutex_lock(&register_mutex); in snd_rawmidi_kernel_open()
347 mutex_unlock(&register_mutex); in snd_rawmidi_kernel_open()
351 mutex_unlock(&register_mutex); in snd_rawmidi_kernel_open()
354 mutex_unlock(&register_mutex); in snd_rawmidi_kernel_open()
591 mutex_lock(&register_mutex); in snd_rawmidi_info_select()
593 mutex_unlock(&register_mutex); in snd_rawmidi_info_select()
836 mutex_lock(&register_mutex); in snd_rawmidi_control_ioctl()
845 mutex_unlock(&register_mutex); in snd_rawmidi_control_ioctl()
1517 mutex_lock(&register_mutex); in snd_rawmidi_free()
[all …]
/linux-2.6.39/sound/usb/6fire/
Dchip.c49 static DEFINE_MUTEX(register_mutex);
97 mutex_lock(&register_mutex); in usb6fire_chip_probe()
103 mutex_unlock(&register_mutex); in usb6fire_chip_probe()
109 mutex_unlock(&register_mutex); in usb6fire_chip_probe()
114 mutex_unlock(&register_mutex); in usb6fire_chip_probe()
191 mutex_lock(&register_mutex); in usb6fire_chip_disconnect()
194 mutex_unlock(&register_mutex); in usb6fire_chip_disconnect()
/linux-2.6.39/sound/core/seq/
Dseq_midi.c72 static DEFINE_MUTEX(register_mutex);
315 mutex_lock(&register_mutex); in snd_seq_midisynth_register_port()
321 mutex_unlock(&register_mutex); in snd_seq_midisynth_register_port()
331 mutex_unlock(&register_mutex); in snd_seq_midisynth_register_port()
408 mutex_unlock(&register_mutex); in snd_seq_midisynth_register_port()
425 mutex_unlock(&register_mutex); in snd_seq_midisynth_register_port()
438 mutex_lock(&register_mutex); in snd_seq_midisynth_unregister_port()
441 mutex_unlock(&register_mutex); in snd_seq_midisynth_unregister_port()
457 mutex_unlock(&register_mutex); in snd_seq_midisynth_unregister_port()
Dseq_clientmgr.c68 static DEFINE_MUTEX(register_mutex);
290 mutex_lock(&register_mutex); in seq_free_client()
306 mutex_unlock(&register_mutex); in seq_free_client()
327 if (mutex_lock_interruptible(&register_mutex)) in snd_seq_open()
331 mutex_unlock(&register_mutex); in snd_seq_open()
351 mutex_unlock(&register_mutex); in snd_seq_open()
358 mutex_unlock(&register_mutex); in snd_seq_open()
2238 if (mutex_lock_interruptible(&register_mutex)) in snd_seq_create_kernel_client()
2251 mutex_unlock(&register_mutex); in snd_seq_create_kernel_client()
2264 mutex_unlock(&register_mutex); in snd_seq_create_kernel_client()
[all …]
/linux-2.6.39/sound/synth/emux/
Demux_seq.c127 mutex_lock(&emu->register_mutex); in snd_emux_detach_seq()
132 mutex_unlock(&emu->register_mutex); in snd_emux_detach_seq()
318 mutex_lock(&emu->register_mutex); in snd_emux_use()
321 mutex_unlock(&emu->register_mutex); in snd_emux_use()
341 mutex_lock(&emu->register_mutex); in snd_emux_unuse()
344 mutex_unlock(&emu->register_mutex); in snd_emux_unuse()
Demux_oss.c120 mutex_lock(&emu->register_mutex); in snd_emux_open_seq_oss()
123 mutex_unlock(&emu->register_mutex); in snd_emux_open_seq_oss()
137 mutex_unlock(&emu->register_mutex); in snd_emux_open_seq_oss()
151 mutex_unlock(&emu->register_mutex); in snd_emux_open_seq_oss()
197 mutex_lock(&emu->register_mutex); in snd_emux_close_seq_oss()
203 mutex_unlock(&emu->register_mutex); in snd_emux_close_seq_oss()
Demux_proc.c37 mutex_lock(&emu->register_mutex); in snd_emux_proc_info_read()
103 mutex_unlock(&emu->register_mutex); in snd_emux_proc_info_read()
Demux.c46 mutex_init(&emu->register_mutex); in snd_emux_new()
/linux-2.6.39/sound/usb/
Dcard.c113 static DEFINE_MUTEX(register_mutex);
462 mutex_lock(&register_mutex); in snd_usb_audio_probe()
527 mutex_unlock(&register_mutex); in snd_usb_audio_probe()
533 mutex_unlock(&register_mutex); in snd_usb_audio_probe()
553 mutex_lock(&register_mutex); in snd_usb_audio_disconnect()
573 mutex_unlock(&register_mutex); in snd_usb_audio_disconnect()
577 mutex_unlock(&register_mutex); in snd_usb_audio_disconnect()
/linux-2.6.39/include/sound/
Demux_synth.h116 struct mutex register_mutex; member
Dgus.h446 struct mutex register_mutex; member