Lines Matching refs:pollfd
842 struct pollfd entries[];
845 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
848 * Fish for pollable events on the pollfd->fd file descriptor. We're only
849 * interested in events matching the pollfd->events mask, and the result
850 * matching that mask is both recorded in pollfd->revents and returned. The
854 static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait,
858 int fd = pollfd->fd;
870 filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP;
880 pollfd->revents = mangle_poll(mask);
908 struct pollfd * pfd, * pfd_end;
971 sizeof(struct pollfd))
973 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds,
997 sizeof(struct pollfd) * walk->len))
1021 struct pollfd *fds = walk->entries;
1048 struct pollfd __user *ufds = restart_block->poll.ufds;
1067 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds,
1100 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds,
1126 SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds, unsigned int, nfds,
1398 COMPAT_SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds,
1424 COMPAT_SYSCALL_DEFINE5(ppoll_time64, struct pollfd __user *, ufds,