Home
last modified time | relevance | path

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

/fs/
Dselect.c700 static int do_poll(unsigned int nfds, struct poll_list *list, in do_poll() argument
771 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
782 unsigned long todo = nfds; in do_sys_poll()
784 if (nfds > current->signal->rlim[RLIMIT_NOFILE].rlim_cur) in do_sys_poll()
787 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
794 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
812 fdcount = do_poll(nfds, head, &table, end_time); in do_sys_poll()
839 int nfds = restart_block->poll.nfds; in do_restart_poll() local
849 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
858 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
[all …]
Dcompat.c1783 unsigned int nfds, struct compat_timespec __user *tsp, in compat_sys_ppoll() argument
1812 ret = do_sys_poll(ufds, nfds, to); in compat_sys_ppoll()