Searched refs:ufds (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/Documentation/media/uapi/cec/ |
D | cec-func-poll.rst | 30 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 36 ``ufds`` 40 Number of FD events at the \*ufds array 74 One or more of the ``ufds`` members specify an invalid file 78 ``ufds`` references an inaccessible memory area.
|
/Linux-v5.4/fs/ |
D | select.c | 960 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument 983 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll() 1008 for (j = 0; j < walk->len; j++, ufds++) in do_sys_poll() 1009 if (__put_user(fds[j].revents, &ufds->revents)) in do_sys_poll() 1027 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() local 1038 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll() 1047 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument 1059 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3() 1066 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3() 1081 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument [all …]
|
/Linux-v5.4/Documentation/media/uapi/mediactl/ |
D | request-func-poll.rst | 47 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 53 ``ufds`` 57 Number of file descriptor events at the \*ufds array 90 One or more of the ``ufds`` members specify an invalid file 94 ``ufds`` references an inaccessible memory area.
|
/Linux-v5.4/include/linux/ |
D | restart_block.h | 49 struct pollfd __user *ufds; member
|
D | compat.h | 624 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds, 629 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
|
D | syscalls.h | 1102 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
|
/Linux-v5.4/Documentation/media/uapi/v4l/ |
D | func-poll.rst | 30 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) 109 One or more of the ``ufds`` members specify an invalid file 117 ``ufds`` references an inaccessible memory area.
|
/Linux-v5.4/drivers/misc/mic/scif/ |
D | scif_api.c | 1378 scif_poll(struct scif_pollepd *ufds, unsigned int nfds, long timeout_msecs) in scif_poll() argument 1391 pt->_key = ufds[i].events | EPOLLERR | EPOLLHUP; in scif_poll() 1392 mask = __scif_pollfd(ufds[i].epd->anon, in scif_poll() 1393 pt, ufds[i].epd); in scif_poll() 1394 mask &= ufds[i].events | EPOLLERR | EPOLLHUP; in scif_poll() 1399 ufds[i].revents = mask; in scif_poll()
|
/Linux-v5.4/samples/mic/mpssd/ |
D | mpssd.c | 1437 struct pollfd ufds[1]; in block_till_state_change() local 1441 ufds[0].fd = fd; in block_till_state_change() 1442 ufds[0].events = POLLERR | POLLPRI; in block_till_state_change() 1443 ret = poll(ufds, 1, -1); in block_till_state_change()
|