Lines Matching refs:nfds
970 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
981 unsigned long todo = nfds; in do_sys_poll()
983 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
986 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
993 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
1038 int nfds = restart_block->poll.nfds; in do_restart_poll() local
1048 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1057 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1069 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1077 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
1091 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
1111 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()
1117 SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
1137 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()
1390 unsigned int, nfds, struct old_timespec32 __user *, tsp, in COMPAT_SYSCALL_DEFINE5() argument
1409 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()
1416 unsigned int, nfds, struct __kernel_timespec __user *, tsp, in COMPAT_SYSCALL_DEFINE5() argument
1435 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()