Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dsys_generic.c1590 kern_poll(struct thread *td, struct pollfd *ufds, u_int nfds, in kern_poll() argument
1603 error = copyin(ufds, kfds, nfds * sizeof(*kfds)); in kern_poll()
1609 error = pollout(td, kfds, ufds, nfds); in kern_poll()
1612 ktrstructarray("pollfd", UIO_USERSPACE, ufds, nfds, in kern_poll()
1613 sizeof(*ufds)); in kern_poll()
1687 pollout(struct thread *td, struct pollfd *fds, struct pollfd *ufds, u_int nfd) in pollout() argument
1694 error = copyout(&fds->revents, &ufds->revents, in pollout()
1695 sizeof(ufds->revents)); in pollout()
1701 ufds++; in pollout()
/freebsd/contrib/ofed/libibumad/
H A Dumad.c832 struct pollfd ufds; in dev_poll() local
835 ufds.fd = fd; in dev_poll()
836 ufds.events = POLLIN; in dev_poll()
838 if ((n = poll(&ufds, 1, timeout_ms)) == 1) in dev_poll()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c2300 linux_pollin(struct thread *td, struct pollfd *fds, struct pollfd *ufds, u_int nfd) in linux_pollin() argument
2305 error = copyin(ufds, fds, nfd * sizeof(*fds)); in linux_pollin()
2319 linux_pollout(struct thread *td, struct pollfd *fds, struct pollfd *ufds, u_int nfd) in linux_pollout() argument
2330 error = copyout(&fds->revents, &ufds->revents, in linux_pollout()
2331 sizeof(ufds->revents)); in linux_pollout()
2335 ufds++; in linux_pollout()
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1182 #define __sanitizer_syscall_pre_poll(ufds, nfds, timeout) \ argument
1183 __sanitizer_syscall_pre_impl_poll((long)(ufds), (long)(nfds), (long)(timeout))
1184 #define __sanitizer_syscall_post_poll(res, ufds, nfds, timeout) \ argument
1185 __sanitizer_syscall_post_impl_poll(res, (long)(ufds), (long)(nfds), \
2682 void __sanitizer_syscall_pre_impl_poll(long ufds, long nfds, long timeout);
2683 void __sanitizer_syscall_post_impl_poll(long res, long ufds, long nfds,
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2053 PRE_SYSCALL(poll)(void *ufds, long nfds, long timeout) {}
2056 (long res, __sanitizer_pollfd *ufds, long nfds, long timeout) {
2058 if (ufds)
2059 POST_WRITE(ufds, nfds * sizeof(*ufds));