Home
last modified time | relevance | path

Searched refs:ufds (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/
H A Dselect.c973 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, unsigne
[all...]
/kernel/linux/linux-6.6/fs/
H A Dselect.c974 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
997 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
1018 if (!user_write_access_begin(ufds, nfds * sizeof(*ufds))) in do_sys_poll()
1025 for (j = walk->len; j; fds++, ufds++, j--) in do_sys_poll()
1026 unsafe_put_user(fds->revents, &ufds->revents, Efault); in do_sys_poll()
1049 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() local
1060 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1068 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigne
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Drestart_block.h49 struct pollfd __user *ufds; member
H A Dcompat.h578 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds,
583 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
H A Dsyscalls.h1135 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/kernel/linux/linux-6.6/include/linux/
H A Drestart_block.h50 struct pollfd __user *ufds; member
H A Dcompat.h652 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds,
657 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
H A Dsyscalls.h1043 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,

Completed in 10 milliseconds