Lines Matching refs:pollfd
738 struct pollfd entries[0];
741 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
750 static inline unsigned int do_pollfd(struct pollfd *pollfd, poll_table *pwait, in do_pollfd() argument
758 fd = pollfd->fd; in do_pollfd()
765 pwait->_key = pollfd->events|POLLERR|POLLHUP; in do_pollfd()
772 mask &= pollfd->events | POLLERR | POLLHUP; in do_pollfd()
776 pollfd->revents = mask; in do_pollfd()
805 struct pollfd * pfd, * pfd_end; in do_poll()
868 sizeof(struct pollfd))
870 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll()
894 sizeof(struct pollfd) * walk->len)) in do_sys_poll()
902 size = sizeof(struct poll_list) + sizeof(struct pollfd) * len; in do_sys_poll()
915 struct pollfd *fds = walk->entries; in do_sys_poll()
937 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3()
991 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5()