Searched refs:nfds (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/fs/ |
D | select.c | 781 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 …]
|
D | compat.c | 1419 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/ |
D | syscall.h | 24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
|
/linux-4.1.27/include/linux/ |
D | thread_info.h | 43 int nfds; member
|
D | poll.h | 157 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
|
D | compat.h | 546 unsigned int nfds,
|
D | syscalls.h | 622 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
|
/linux-4.1.27/tools/perf/util/ |
D | evlist.c | 414 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/ |
D | compat_wrapper.c | 128 COMPAT_SYSCALL_WRAP3(poll, struct pollfd __user *, ufds, unsigned int, nfds, int, timeout);
|