Lines Matching refs:pollfd
829 struct pollfd entries[0];
832 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
841 static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait, in do_pollfd() argument
845 int fd = pollfd->fd; in do_pollfd()
857 filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP; in do_pollfd()
867 pollfd->revents = mangle_poll(mask); in do_pollfd()
895 struct pollfd * pfd, * pfd_end; in do_poll()
958 sizeof(struct pollfd))
960 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll()
984 sizeof(struct pollfd) * walk->len)) in do_sys_poll()
1005 struct pollfd *fds = walk->entries; in do_sys_poll()
1027 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
1047 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3()
1081 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5()
1107 SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5()
1373 COMPAT_SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds, in COMPAT_SYSCALL_DEFINE5()
1399 COMPAT_SYSCALL_DEFINE5(ppoll_time64, struct pollfd __user *, ufds, in COMPAT_SYSCALL_DEFINE5()