Home
last modified time | relevance | path

Searched refs:exceptfds (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c51 fd_set readfds, writefds, exceptfds; in ppoll() local
65 FD_ZERO(&exceptfds); in ppoll()
75 FD_SET(fd, &exceptfds); in ppoll()
78 ret = pselect(maxfd + 1, &readfds, &writefds, &exceptfds, tmoutp, sigmask); in ppoll()
90 if ((fds[i].events & POLLPRI) && FD_ISSET(fd, &exceptfds)) in ppoll()
H A Dbsd-pselect.c154 pselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in pselect() argument
168 return select(nfds, readfds, writefds, exceptfds, tvp); in pselect()
196 ret = select(nfds, readfds, writefds, exceptfds, tvp); in pselect()
/freebsd/tools/regression/sockets/zerosend/
H A Dzerosend.c115 fd_set writefds, exceptfds; in setup_tcp() local
166 FD_ZERO(&exceptfds); in setup_tcp()
167 FD_SET(sock2, &exceptfds); in setup_tcp()
170 ret = select(sock2 + 1, NULL, &writefds, &exceptfds, &tv); in setup_tcp()
173 if (FD_ISSET(sock2, &exceptfds)) in setup_tcp()
/freebsd/contrib/ofed/librdmacm/
H A Dpreload.c914 fd_set *readfds, fd_set *writefds, fd_set *exceptfds) in select_to_rpoll() argument
923 if (events || (exceptfds && FD_ISSET(fd, exceptfds))) { in select_to_rpoll()
933 fd_set *readfds, fd_set *writefds, fd_set *exceptfds) in rpoll_to_select() argument
952 if (exceptfds && (fds[i].revents & ~(POLLIN | POLLOUT))) { in rpoll_to_select()
953 FD_SET(fd, exceptfds); in rpoll_to_select()
968 fd_set *exceptfds, struct timeval *timeout) in select() argument
977 select_to_rpoll(fds, &nfds, readfds, writefds, exceptfds); in select()
984 if (exceptfds) in select()
985 FD_ZERO(exceptfds); in select()
988 ret = rpoll_to_select(fds, nfds, readfds, writefds, exceptfds); in select()
H A Drsocket.h71 fd_set *exceptfds, struct timeval *timeout);
H A Drsocket.c3131 rs_select_to_poll(int *nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds) in rs_select_to_poll() argument
3151 if (exceptfds && FD_ISSET(fd, exceptfds)) in rs_select_to_poll()
3164 fd_set *writefds, fd_set *exceptfds) in rs_poll_to_select() argument
3179 if (exceptfds && (fds[i].revents & ~(POLLIN | POLLOUT))) { in rs_poll_to_select()
3180 FD_SET(fds[i].fd, exceptfds); in rs_poll_to_select()
3194 fd_set *exceptfds, struct timeval *timeout) in rselect() argument
3199 fds = rs_select_to_poll(&nfds, readfds, writefds, exceptfds); in rselect()
3209 if (exceptfds) in rselect()
3210 FD_ZERO(exceptfds); in rselect()
3213 ret = rs_poll_to_select(nfds, fds, readfds, writefds, exceptfds); in rselect()
/freebsd/stand/kboot/libkboot/
H A Dhost_syscalls.c135 host_select(int nfds, long *readfds, long *writefds, long *exceptfds, in host_select() argument
146 (uintptr_t)exceptfds, (uintptr_t)&ts, (uintptr_t)NULL); in host_select()
/freebsd/tests/sys/fifo/
H A Dfifo_io.c885 struct fd_set readfds, writefds, exceptfds; in select_status() local
890 FD_ZERO(&exceptfds); in select_status()
893 FD_SET(fd, &exceptfds); in select_status()
896 if (select(fd+1, &readfds, &writefds, &exceptfds, &timeout) < 0) { in select_status()
902 *exception = FD_ISSET(fd, &exceptfds) ? 1 : 0; in select_status()
/freebsd/sys/amd64/linux32/
H A Dlinux32_machdep.c61 l_uintptr_t exceptfds; member
263 newsel.exceptfds = PTRIN(linux_args.exceptfds); in linux_old_select()
H A Dlinux32_systrace_args.c947 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
2184 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
3066 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
/freebsd/stand/kboot/include/
H A Dhost_syscall.h179 int host_select(int nfds, long *readfds, long *writefds, long *exceptfds,
/freebsd/lib/libthr/thread/
H A Dthr_syscalls.c469 __thr_select(int numfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __thr_select() argument
477 ret = __sys_select(numfds, readfds, writefds, exceptfds, timeout); in __thr_select()
/freebsd/tools/tools/syscall_timing/
H A Dsyscall_timing.c596 fd_set readfds, writefds, exceptfds; in test_select() local
602 FD_ZERO(&exceptfds); in test_select()
609 (void)select(0, &readfds, &writefds, &exceptfds, &tv); in test_select()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c271 args->exceptfds, tvp, LINUX_NFDBITS); in linux_select()
2116 args->writefds, args->exceptfds, tsp, args->sig); in linux_pselect6()
2125 l_fd_set *writefds, l_fd_set *exceptfds, struct timespec *tsp, in linux_common_pselect6() argument
2161 exceptfds, tvp, ssp, LINUX_NFDBITS); in linux_common_pselect6()
2197 args->writefds, args->exceptfds, tsp, args->sig); in linux_pselect6_time64()
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp1493 fd_set *exceptfds, struct timeval *timeout, in __dfsw_select() argument
1497 int ret = select(nfds, readfds, writefds, exceptfds, timeout); in __dfsw_select()
1506 if (exceptfds) { in __dfsw_select()
1507 dfsan_set_label(0, exceptfds, sizeof(fd_set)); in __dfsw_select()
1516 fd_set *exceptfds, struct timeval *timeout, in __dfso_select() argument
1523 return __dfsw_select(nfds, readfds, writefds, exceptfds, timeout, nfds_label, in __dfso_select()
/freebsd/sys/i386/linux/
H A Dlinux_systrace_args.c977 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
2219 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
3097 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c222 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
2066 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c580 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ in systrace_args()
/freebsd/contrib/tnftp/
H A DChangeLog424 POLLWRNORM, and POLLRDBAND - the latter using exceptfds.