Lines Matching refs:poll
3 * This file contains the procedures for the handling of select and poll
25 #include <linux/poll.h>
115 * work. poll_wait() is an inline-function defined in <linux/poll.h>,
116 * as all select/poll functions have to call it to add an entry to the
117 * poll table.
852 * pwait poll_table will be used by the fd-provided poll handler for waiting,
1049 struct pollfd __user *ufds = restart_block->poll.ufds;
1050 int nfds = restart_block->poll.nfds;
1054 if (restart_block->poll.has_timeout) {
1055 end_time.tv_sec = restart_block->poll.tv_sec;
1056 end_time.tv_nsec = restart_block->poll.tv_nsec;
1068 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds,
1086 restart_block->poll.ufds = ufds;
1087 restart_block->poll.nfds = nfds;
1090 restart_block->poll.tv_sec = end_time.tv_sec;
1091 restart_block->poll.tv_nsec = end_time.tv_nsec;
1092 restart_block->poll.has_timeout = 1;
1094 restart_block->poll.has_timeout = 0;