Lines Matching refs:nfds
884 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
895 unsigned long todo = nfds; in do_sys_poll()
897 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
900 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
907 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
952 int nfds = restart_block->poll.nfds; in do_restart_poll() local
962 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
971 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
983 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
991 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
1005 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
1034 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()