Lines Matching refs:pollfd
661 struct pollfd entries[0];
664 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
673 static inline unsigned int do_pollfd(struct pollfd *pollfd, poll_table *pwait) in do_pollfd() argument
679 fd = pollfd->fd; in do_pollfd()
691 mask &= pollfd->events | POLLERR | POLLHUP; in do_pollfd()
695 pollfd->revents = mask; in do_pollfd()
721 struct pollfd * pfd, * pfd_end; in do_poll()
769 sizeof(struct pollfd))
771 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll()
795 sizeof(struct pollfd) * walk->len)) in do_sys_poll()
803 size = sizeof(struct poll_list) + sizeof(struct pollfd) * len; in do_sys_poll()
816 struct pollfd *fds = walk->entries; in do_sys_poll()
838 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
858 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3()
893 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5()