Lines Matching refs:ufds
973 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
996 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
1017 if (!user_write_access_begin(ufds, nfds * sizeof(*ufds))) in do_sys_poll()
1024 for (j = walk->len; j; fds++, ufds++, j--) in do_sys_poll()
1025 unsafe_put_user(fds->revents, &ufds->revents, Efault); in do_sys_poll()
1048 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() local
1059 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1067 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1079 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1085 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
1100 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
1120 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()
1126 SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
1146 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()
1398 COMPAT_SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds, in COMPAT_SYSCALL_DEFINE5() argument
1418 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()
1424 COMPAT_SYSCALL_DEFINE5(ppoll_time64, struct pollfd __user *, ufds, in COMPAT_SYSCALL_DEFINE5() argument
1444 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()