Searched refs:nfds (Results 1 – 2 of 2) sorted by relevance
/fs/ |
D | select.c | 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() [all …]
|
D | compat.c | 1408 unsigned int, nfds, struct compat_timespec __user *, tsp, in COMPAT_SYSCALL_DEFINE5() argument 1437 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()
|