Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/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-6.15/fs/
H A Dselect.c991 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()
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()
1074 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1080 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
1115 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()
1141 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE5()
1413 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()
[all …]
/linux-6.15/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-6.15/include/linux/
H A Drestart_block.h50 struct pollfd __user *ufds; member
H A Dcompat.h651 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds,
656 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
H A Dsyscalls.h1092 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,