Lines Matching refs:poll
457 if (f_op->poll) { in do_select()
460 mask = (*f_op->poll)(f.file, wait); in do_select()
764 if (f.file->f_op->poll) { in do_pollfd()
767 mask = f.file->f_op->poll(f.file, pwait); in do_pollfd()
937 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
938 int nfds = restart_block->poll.nfds; in do_restart_poll()
942 if (restart_block->poll.has_timeout) { in do_restart_poll()
943 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
944 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
976 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
977 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
980 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3()
981 restart_block->poll.tv_nsec = end_time.tv_nsec; in SYSCALL_DEFINE3()
982 restart_block->poll.has_timeout = 1; in SYSCALL_DEFINE3()
984 restart_block->poll.has_timeout = 0; in SYSCALL_DEFINE3()