Lines Matching refs:poll
204 spin_lock_irqsave(&dcb->poll->lock, flags); in dma_buf_poll_cb()
205 wake_up_locked_poll(dcb->poll, dcb->active); in dma_buf_poll_cb()
207 spin_unlock_irqrestore(&dcb->poll->lock, flags); in dma_buf_poll_cb()
210 static __poll_t dma_buf_poll(struct file *file, poll_table *poll) in dma_buf_poll() argument
225 poll_wait(file, &dmabuf->poll, poll); in dma_buf_poll()
227 events = poll_requested_events(poll) & (EPOLLIN | EPOLLOUT); in dma_buf_poll()
253 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll()
259 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll()
286 spin_lock_irq(&dmabuf->poll.lock); in dma_buf_poll()
291 spin_unlock_irq(&dmabuf->poll.lock); in dma_buf_poll()
434 .poll = dma_buf_poll,
567 init_waitqueue_head(&dmabuf->poll); in dma_buf_export()
568 dmabuf->cb_excl.poll = dmabuf->cb_shared.poll = &dmabuf->poll; in dma_buf_export()