Searched refs:ufds (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/fs/
H A Dselect.c870 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, do_sys_poll() argument
893 if (copy_from_user(walk->entries, ufds + nfds-todo, do_sys_poll()
918 for (j = 0; j < walk->len; j++, ufds++) do_sys_poll()
919 if (__put_user(fds[j].revents, &ufds->revents)) do_sys_poll()
937 struct pollfd __user *ufds = restart_block->poll.ufds; do_restart_poll() local
948 ret = do_sys_poll(ufds, nfds, to); do_restart_poll()
957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, SYSCALL_DEFINE3()
969 ret = do_sys_poll(ufds, nfds, to); SYSCALL_DEFINE3()
976 restart_block->poll.ufds = ufds; SYSCALL_DEFINE3()
991 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, SYSCALL_DEFINE5()
1019 ret = do_sys_poll(ufds, nfds, to); SYSCALL_DEFINE5()
H A Dcompat.c1418 COMPAT_SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, COMPAT_SYSCALL_DEFINE5()
1448 ret = do_sys_poll(ufds, nfds, to); COMPAT_SYSCALL_DEFINE5()
/linux-4.4.14/include/linux/
H A Dthread_info.h42 struct pollfd __user *ufds; member in struct:restart_block::__anon13234::__anon13237
H A Dpoll.h157 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
H A Dcompat.h545 asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
H A Dsyscalls.h622 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/linux-4.4.14/drivers/misc/mic/scif/
H A Dscif_api.c1376 * @ufds: Array of scif_pollepd structures containing the end points
1378 * @nfds: Size of the ufds array
1388 scif_poll(struct scif_pollepd *ufds, unsigned int nfds, long timeout_msecs) scif_poll() argument
1400 pt->_key = ufds[i].events | POLLERR | POLLHUP; scif_poll()
1401 mask = __scif_pollfd(ufds[i].epd->anon, scif_poll()
1402 pt, ufds[i].epd); scif_poll()
1403 mask &= ufds[i].events | POLLERR | POLLHUP; scif_poll()
1408 ufds[i].revents = mask; scif_poll()
/linux-4.4.14/Documentation/mic/mpssd/
H A Dmpssd.c1448 struct pollfd ufds[1]; block_till_state_change() local
1452 ufds[0].fd = fd; block_till_state_change()
1453 ufds[0].events = POLLERR | POLLPRI; block_till_state_change()
1454 ret = poll(ufds, 1, -1); block_till_state_change()
/linux-4.4.14/arch/s390/kernel/
H A Dcompat_wrapper.c105 COMPAT_SYSCALL_WRAP3(poll, struct pollfd __user *, ufds, unsigned int, nfds, int, timeout);

Completed in 241 milliseconds