Lines Matching refs:wait
1823 DECLARE_WAITQUEUE(wait, current); in pcm_shutdown_port()
1826 add_wait_queue(&aport->queue, &wait); in pcm_shutdown_port()
1839 remove_wait_queue(&aport->queue, &wait); in pcm_shutdown_port()
2191 DECLARE_WAITQUEUE(wait, current); in pcm_write_sync()
2196 add_wait_queue(&wport->queue, &wait); in pcm_write_sync()
2209 remove_wait_queue(&wport->queue, &wait); in pcm_write_sync()
2278 DECLARE_WAITQUEUE(wait, current); in vwsnd_audio_do_read()
2279 add_wait_queue(&rport->queue, &wait); in vwsnd_audio_do_read()
2286 remove_wait_queue(&rport->queue, &wait); in vwsnd_audio_do_read()
2292 remove_wait_queue(&rport->queue, &wait); in vwsnd_audio_do_read()
2297 remove_wait_queue(&rport->queue, &wait); in vwsnd_audio_do_read()
2355 DECLARE_WAITQUEUE(wait, current); in vwsnd_audio_do_write()
2356 add_wait_queue(&wport->queue, &wait); in vwsnd_audio_do_write()
2362 remove_wait_queue(&wport->queue, &wait); in vwsnd_audio_do_write()
2368 remove_wait_queue(&wport->queue, &wait); in vwsnd_audio_do_write()
2373 remove_wait_queue(&wport->queue, &wait); in vwsnd_audio_do_write()
2405 struct poll_table_struct *wait) in vwsnd_audio_poll() argument
2414 DBGEV("(file=0x%p, wait=0x%p)\n", file, wait); in vwsnd_audio_poll()
2418 poll_wait(file, &rport->queue, wait); in vwsnd_audio_poll()
2423 poll_wait(file, &wport->queue, wait); in vwsnd_audio_poll()