Home
last modified time | relevance | path

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

/linux-4.1.27/fs/
Dselect.c781 static int do_poll(unsigned int nfds, struct poll_list *list, in do_poll() argument
870 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
881 unsigned long todo = nfds; in do_sys_poll()
883 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
886 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
893 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
911 fdcount = do_poll(nfds, head, &table, end_time); in do_sys_poll()
938 int nfds = restart_block->poll.nfds; in do_restart_poll() local
948 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
[all …]
Dcompat.c1419 unsigned int, nfds, struct compat_timespec __user *, tsp, in COMPAT_SYSCALL_DEFINE5() argument
1448 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()
/linux-4.1.27/arch/xtensa/include/asm/
Dsyscall.h24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
/linux-4.1.27/include/linux/
Dthread_info.h43 int nfds; member
Dpoll.h157 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
Dcompat.h546 unsigned int nfds,
Dsyscalls.h622 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/linux-4.1.27/tools/perf/util/
Devlist.c414 int nfds = 0; in perf_evlist__alloc_pollfd() local
419 nfds += nr_cpus; in perf_evlist__alloc_pollfd()
421 nfds += nr_cpus * nr_threads; in perf_evlist__alloc_pollfd()
424 if (fdarray__available_entries(&evlist->pollfd) < nfds && in perf_evlist__alloc_pollfd()
425 fdarray__grow(&evlist->pollfd, nfds) < 0) in perf_evlist__alloc_pollfd()
/linux-4.1.27/arch/s390/kernel/
Dcompat_wrapper.c128 COMPAT_SYSCALL_WRAP3(poll, struct pollfd __user *, ufds, unsigned int, nfds, int, timeout);