Searched refs:ufds (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/Documentation/userspace-api/media/mediactl/ |
D | request-func-poll.rst | 22 .. 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.1.9/Documentation/userspace-api/media/cec/ |
D | cec-func-poll.rst | 22 .. 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.1.9/fs/ |
D | select.c | 974 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.1.9/Documentation/userspace-api/media/v4l/ |
D | func-poll.rst | 22 .. 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.1.9/include/linux/ |
D | restart_block.h | 50 struct pollfd __user *ufds; member
|
D | compat.h | 672 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds, 677 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
|
D | syscalls.h | 1158 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
|