Home
last modified time | relevance | path

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

/linux-4.4.14/fs/
Dselect.c870 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument
893 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll()
918 for (j = 0; j < walk->len; j++, ufds++) in do_sys_poll()
919 if (__put_user(fds[j].revents, &ufds->revents)) in do_sys_poll()
937 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() local
948 ret = do_sys_poll(ufds, nfds, to); in do_restart_poll()
957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
969 ret = do_sys_poll(ufds, nfds, to); in SYSCALL_DEFINE3()
976 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
991 SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE5() argument
[all …]
Dcompat.c1418 COMPAT_SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, in COMPAT_SYSCALL_DEFINE5() argument
1448 ret = do_sys_poll(ufds, nfds, to); in COMPAT_SYSCALL_DEFINE5()
/linux-4.4.14/arch/xtensa/include/asm/
Dsyscall.h24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
/linux-4.4.14/include/linux/
Dthread_info.h42 struct pollfd __user *ufds; member
Dpoll.h157 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
Dcompat.h545 asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
Dsyscalls.h622 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_api.c1388 scif_poll(struct scif_pollepd *ufds, unsigned int nfds, long timeout_msecs) in scif_poll() argument
1400 pt->_key = ufds[i].events | POLLERR | POLLHUP; 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 | POLLERR | POLLHUP; in scif_poll()
1408 ufds[i].revents = mask; in scif_poll()
/linux-4.4.14/Documentation/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-4.4.14/arch/s390/kernel/
Dcompat_wrapper.c105 COMPAT_SYSCALL_WRAP3(poll, struct pollfd __user *, ufds, unsigned int, nfds, int, timeout);