Searched refs:nfds (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/fs/ |
D | select.c | 752 static int do_poll(unsigned int nfds, struct poll_list *list, in do_poll() argument 823 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument 834 unsigned long todo = nfds; in do_sys_poll() 836 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll() 839 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll() 846 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll() 864 fdcount = do_poll(nfds, head, &table, end_time); in do_sys_poll() 891 int nfds = restart_block->poll.nfds; in do_restart_poll() local 901 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll() 910 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument [all …]
|
D | compat.c | 1627 unsigned int nfds, struct compat_timespec __user *tsp, in compat_sys_ppoll() argument 1656 ret = do_sys_poll(ufds, nfds, to); in compat_sys_ppoll()
|
/linux-3.4.99/arch/xtensa/include/asm/ |
D | syscall.h | 35 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
|
/linux-3.4.99/include/linux/ |
D | thread_info.h | 42 int nfds; member
|
D | poll.h | 159 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
|
D | compat.h | 467 unsigned int nfds,
|
D | syscalls.h | 627 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
|
/linux-3.4.99/tools/perf/util/ |
D | evlist.c | 285 int nfds = evlist->cpus->nr * evlist->threads->nr * evlist->nr_entries; in perf_evlist__alloc_pollfd() local 286 evlist->pollfd = malloc(sizeof(struct pollfd) * nfds); in perf_evlist__alloc_pollfd()
|