Searched refs:ufds (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/kern/ |
H A D | sys_generic.c | 1613 kern_poll(struct thread *td, struct pollfd *ufds, u_int nfds, in kern_poll() argument 1626 error = copyin(ufds, kfds, nfds * sizeof(*kfds)); in kern_poll() 1632 error = pollout(td, kfds, ufds, nfds); in kern_poll() 1635 ktrstructarray("pollfd", UIO_USERSPACE, ufds, nfds, in kern_poll() 1636 sizeof(*ufds)); in kern_poll() 1710 pollout(struct thread *td, struct pollfd *fds, struct pollfd *ufds, u_int nfd) in pollout() argument 1717 error = copyout(&fds->revents, &ufds->revents, in pollout() 1718 sizeof(ufds->revents)); in pollout() 1724 ufds++; in pollout()
|
/freebsd/contrib/ofed/libibumad/ |
H A D | umad.c | 832 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 D | linux_misc.c | 2300 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 D | linux_syscall_hooks.h | 1182 #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), \ 2689 void __sanitizer_syscall_pre_impl_poll(long ufds, long nfds, long timeout); 2690 void __sanitizer_syscall_post_impl_poll(long res, long ufds, long nfds,
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 2067 PRE_SYSCALL(poll)(void *ufds, long nfds, long timeout) {} 2070 (long res, __sanitizer_pollfd *ufds, long nfds, long timeout) { 2072 if (ufds) 2073 POST_WRITE(ufds, nfds * sizeof(*ufds));
|