Lines Matching refs:pollfd
795 struct pollfd entries[0];
798 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
807 static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait, in do_pollfd() argument
811 int fd = pollfd->fd; in do_pollfd()
823 filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP; in do_pollfd()
833 pollfd->revents = mangle_poll(mask); in do_pollfd()
861 struct pollfd * pfd, * pfd_end; in do_poll()
924 sizeof(struct pollfd))
926 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll()
950 sizeof(struct pollfd) * walk->len)) in do_sys_poll()
958 size = sizeof(struct poll_list) + sizeof(struct pollfd) * len; in do_sys_poll()
971 struct pollfd *fds = walk->entries; in do_sys_poll()
993 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
1013 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3()
1047 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5()
1375 COMPAT_SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, in COMPAT_SYSCALL_DEFINE5()