Home
last modified time | relevance | path

Searched refs:ufds (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/
Drequest-func-poll.rst22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
27 ``ufds``
31 Number of file descriptor events at the \*ufds array
62 One or more of the ``ufds`` members specify an invalid file
66 ``ufds`` references an inaccessible memory area.
/kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/
Dcec-func-poll.rst22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
27 ``ufds``
31 Number of FD events at the \*ufds array
63 One or more of the ``ufds`` members specify an invalid file
67 ``ufds`` references an inaccessible memory area.
/kernel/linux/linux-5.10/fs/
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, 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()
[all …]
/kernel/linux/linux-5.10/include/linux/
Drestart_block.h49 struct pollfd __user *ufds; member
Dcompat.h578 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds,
583 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
Dsyscalls.h1134 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dfunc-poll.rst22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
98 One or more of the ``ufds`` members specify an invalid file
106 ``ufds`` references an inaccessible memory area.