Searched refs:nfds (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/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.4.14/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 172 int nfds; variable 185 nfds = 42; in prep_args()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | syscall.h | 24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
|
/linux-4.4.14/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.4.14/tools/perf/util/ |
D | evlist.c | 477 int nfds = 0; in perf_evlist__alloc_pollfd() local 482 nfds += nr_cpus; in perf_evlist__alloc_pollfd() 484 nfds += nr_cpus * nr_threads; in perf_evlist__alloc_pollfd() 487 if (fdarray__available_entries(&evlist->pollfd) < nfds && in perf_evlist__alloc_pollfd() 488 fdarray__grow(&evlist->pollfd, nfds) < 0) in perf_evlist__alloc_pollfd()
|
/linux-4.4.14/arch/s390/kernel/ |
D | compat_wrapper.c | 105 COMPAT_SYSCALL_WRAP3(poll, struct pollfd __user *, ufds, unsigned int, nfds, int, timeout);
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_api.c | 1388 scif_poll(struct scif_pollepd *ufds, unsigned int nfds, long timeout_msecs) in scif_poll() argument 1399 for (i = 0; i < nfds; i++) { in scif_poll()
|