Home
last modified time | relevance | path

Searched refs:nfds (Results 1 – 1 of 1) sorted by relevance

/fs/
Dselect.c960 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
971 unsigned long todo = nfds; in do_sys_poll()
973 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
976 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
983 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
1028 int nfds = restart_block->poll.nfds; in do_restart_poll() local
1038 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1047 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1059 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1067 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
[all …]