Home
last modified time | relevance | path

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

/Linux-v4.19/Documentation/media/uapi/cec/
Dcec-func-poll.rst23 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
29 ``ufds``
33 Number of FD events at the \*ufds array
67 One or more of the ``ufds`` members specify an invalid file
71 ``ufds`` references an inaccessible memory area.
/Linux-v4.19/fs/
Dselect.c926 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
949 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
974 for (j = 0; j < walk->len; j++, ufds++) in do_sys_poll()
975 if (__put_user(fds[j].revents, &ufds->revents)) in do_sys_poll()
993 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() local
1004 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
1013 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
1025 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
1032 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
1047 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
[all …]
/Linux-v4.19/arch/xtensa/include/asm/
Dsyscall.h24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
/Linux-v4.19/include/linux/
Drestart_block.h49 struct pollfd __user *ufds; member
Dcompat.h647 asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
Dsyscalls.h998 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/Linux-v4.19/Documentation/media/uapi/v4l/
Dfunc-poll.rst23 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
102 One or more of the ``ufds`` members specify an invalid file
110 ``ufds`` references an inaccessible memory area.
/Linux-v4.19/drivers/misc/mic/scif/
Dscif_api.c1387 scif_poll(struct scif_pollepd *ufds, unsigned int nfds, long timeout_msecs) in scif_poll() argument
1400 pt->_key = ufds[i].events | EPOLLERR | EPOLLHUP; in scif_poll()
1401 mask = __scif_pollfd(ufds[i].epd->anon, in scif_poll()
1402 pt, ufds[i].epd); in scif_poll()
1403 mask &= ufds[i].events | EPOLLERR | EPOLLHUP; in scif_poll()
1408 ufds[i].revents = mask; in scif_poll()
/Linux-v4.19/samples/mic/mpssd/
Dmpssd.c1448 struct pollfd ufds[1]; in block_till_state_change() local
1452 ufds[0].fd = fd; in block_till_state_change()
1453 ufds[0].events = POLLERR | POLLPRI; in block_till_state_change()
1454 ret = poll(ufds, 1, -1); in block_till_state_change()
/Linux-v4.19/arch/s390/kernel/
Dcompat_wrapper.c106 COMPAT_SYSCALL_WRAP3(poll, struct pollfd __user *, ufds, unsigned int, nfds, int, timeout);