Home
last modified time | relevance | path

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

/linux-4.19.296/fs/
Dselect.c929 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
940 unsigned long todo = nfds; in do_sys_poll()
942 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll()
945 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll()
952 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
997 int nfds = restart_block->poll.nfds; in do_restart_poll() local
1007 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1015 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1027 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1034 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
[all …]
/linux-4.19.296/include/linux/
Drestart_block.h50 int nfds; member
Dcompat.h649 unsigned int nfds,
Dsyscalls.h998 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_api.c1387 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()