Home
last modified time | relevance | path

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

/linux-3.4.99/fs/
Dselect.c752 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 …]
Dcompat.c1627 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/
Dsyscall.h35 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
/linux-3.4.99/include/linux/
Dthread_info.h42 int nfds; member
Dpoll.h159 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
Dcompat.h467 unsigned int nfds,
Dsyscalls.h627 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/linux-3.4.99/tools/perf/util/
Devlist.c285 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()