Home
last modified time | relevance | path

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

/linux/Documentation/userspace-api/media/mediactl/
H A 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/Documentation/userspace-api/media/cec/
H A 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/fs/
H A Dselect.c967 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
991 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
1012 if (!user_write_access_begin(ufds, nfds * sizeof(*ufds))) in do_sys_poll()
1019 for (j = walk->len; j; fds++, ufds++, j--) in do_sys_poll()
1020 unsafe_put_user(fds->revents, &ufds->revents, Efault); in do_sys_poll()
1043 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() local
1054 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1062 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1074 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1080 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A 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/include/linux/
H A Drestart_block.h50 struct pollfd __user *ufds; member
H A Dsyscalls.h1088 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,