Lines Matching defs:poll
23 #include <linux/poll.h>
95 * Any fences that a dma-buf poll can wait on should be signaled
270 * Userspace can query the state of these implicitly tracked fences using poll()
289 spin_lock_irqsave(&dcb->poll->lock, flags);
290 wake_up_locked_poll(dcb->poll, dcb->active);
292 spin_unlock_irqrestore(&dcb->poll->lock, flags);
295 static __poll_t dma_buf_poll(struct file *file, poll_table *poll)
311 poll_wait(file, &dmabuf->poll, poll);
313 events = poll_requested_events(poll) & (EPOLLIN | EPOLLOUT);
343 spin_lock_irq(&dmabuf->poll.lock);
350 spin_unlock_irq(&dmabuf->poll.lock);
376 spin_lock_irq(&dmabuf->poll.lock);
382 spin_unlock_irq(&dmabuf->poll.lock);
530 .poll = dma_buf_poll,
664 init_waitqueue_head(&dmabuf->poll);
665 dmabuf->cb_excl.poll = dmabuf->cb_shared.poll = &dmabuf->poll;