Lines Matching refs:nfds
929 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
940 unsigned long todo = nfds; in do_sys_poll()
942 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
945 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
952 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
997 int nfds = restart_block->poll.nfds; in do_restart_poll() local
1007 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1015 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1027 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1034 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
1048 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
1076 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()
1377 unsigned int, nfds, struct compat_timespec __user *, tsp, in COMPAT_SYSCALL_DEFINE5() argument
1403 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()