Home
last modified time | relevance | path

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

/linux-6.6.21/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.
/linux-6.6.21/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.
/linux-6.6.21/fs/
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, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1080 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1086 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
[all …]
/linux-6.6.21/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.
/linux-6.6.21/include/linux/
Drestart_block.h50 struct pollfd __user *ufds; member
Dcompat.h652 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds,
657 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
Dsyscalls.h1043 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,