Lines Matching +full:poll +full:- +full:only
1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <uapi/linux/poll.h>
27 #define WQUEUES_STACK_ALLOC (MAX_STACK_ALLOC - FRONTEND_STACK_ALLOC)
35 * structures and helpers for f_op->poll implementations
50 if (p && p->_qproc && wait_address) in poll_wait()
51 p->_qproc(filp, wait_address, p); in poll_wait()
55 * Return true if it is guaranteed that poll will not wait. This is the case
56 * if the poll() of another file descriptor in the set got an event, so there
61 return p == NULL || p->_qproc == NULL; in poll_does_not_wait()
65 * Return the set of events that the application wants to poll for.
67 * to be started implicitly on poll(). You typically only want to do that
72 return p ? p->_key : ~(__poll_t)0; in poll_requested_events()
77 pt->_qproc = qproc; in init_poll_funcptr()
78 pt->_key = ~(__poll_t)0; /* all events enabled */ in init_poll_funcptr()
83 return file->f_op->poll; in file_can_poll()
88 if (unlikely(!file->f_op->poll)) in vfs_poll()
90 return file->f_op->poll(file, pt); in vfs_poll()
101 * Structures and helpers for select/poll syscall
117 #define MAX_INT64_SECONDS (((s64)(~((u64)0)>>1)/HZ)-1)
131 #define M(X) __MAP(v, (__force __u16)EPOLL##X, POLL##X) in mangle_poll()
140 #define M(X) (__force __poll_t)__MAP(val, POLL##X, (__force __u16)EPOLL##X) in demangle_poll()