Lines Matching refs:nfds
926 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
937 unsigned long todo = nfds; in do_sys_poll()
939 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
942 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
949 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
994 int nfds = restart_block->poll.nfds; in do_restart_poll() local
1004 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1013 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1025 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1033 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
1047 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
1075 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()
1376 unsigned int, nfds, struct compat_timespec __user *, tsp, in COMPAT_SYSCALL_DEFINE5() argument
1402 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()