Lines Matching refs:pollfd
843 struct pollfd entries[];
846 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
849 * Fish for pollable events on the pollfd->fd file descriptor. We're only
850 * interested in events matching the pollfd->events mask, and the result
851 * matching that mask is both recorded in pollfd->revents and returned. The
855 static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait,
859 int fd = pollfd->fd;
871 filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP;
881 pollfd->revents = mangle_poll(mask);
909 struct pollfd * pfd, * pfd_end;
972 sizeof(struct pollfd))
974 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds,
999 sizeof(struct pollfd) * walk->len))
1023 struct pollfd *fds = walk->entries;
1050 struct pollfd __user *ufds = restart_block->poll.ufds;
1069 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds,
1102 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds,
1128 SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds, unsigned int, nfds,
1400 COMPAT_SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds,
1426 COMPAT_SYSCALL_DEFINE5(ppoll_time64, struct pollfd __user *, ufds,