Lines Matching refs:nfds
781 static int do_poll(unsigned int nfds, struct poll_list *list, in do_poll() argument
870 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
881 unsigned long todo = nfds; in do_sys_poll()
883 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
886 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
893 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
911 fdcount = do_poll(nfds, head, &table, end_time); in do_sys_poll()
938 int nfds = restart_block->poll.nfds; in do_restart_poll() local
948 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
969 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
977 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
991 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
1019 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()