Lines Matching defs:wait
328 /* put process on wait queue when no more space in buffer */
329 wait_queue_head_t wait;
1478 DECLARE_WAITQUEUE(wait, current);
1488 add_wait_queue(&dmabuf->wait, &wait);
1505 remove_wait_queue(&dmabuf->wait, &wait);
1510 /* No matter how much data is left in the buffer, we have to wait until
1525 remove_wait_queue(&dmabuf->wait, &wait);
1556 wake_up(&dmabuf->wait);
1570 wake_up(&dmabuf->wait);
1579 wake_up(&dmabuf->wait);
1644 wake_up(&dmabuf->wait);
1895 /* wait for data to be recorded */
1905 /* we have to wait until CSO == ESO/2 or CSO == ESO */
1916 if (!interruptible_sleep_on_timeout(&dmabuf->wait, tmo)) {
2021 /* wait for data to be played */
2029 /* we have to wait until CSO == ESO/2 or CSO == ESO */
2047 if (!interruptible_sleep_on_timeout(&dmabuf->wait, tmo)) {
2128 trident_poll(struct file *file, struct poll_table_struct *wait)
2149 poll_wait(file, &dmabuf->wait, wait);
2156 poll_wait(file, &dmabuf->wait, wait);
2761 init_waitqueue_head(&dmabuf->wait);
3627 init_waitqueue_head(&s->dmabuf.wait);