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