Searched refs:pollfd (Results 26 - 50 of 152) sorted by relevance

1234567

/freebsd-11-stable/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c125 struct pollfd pollfd; local
394 pollfd.fd = fd_cap;
395 pollfd.events = POLLIN | POLLERR | POLLHUP;
396 pollfd.revents = 0;
398 ret = poll(&pollfd, 1, 0);
400 CHECK((pollfd.revents & POLLNVAL) == 0);
402 CHECK((pollfd.revents & POLLNVAL) != 0);
/freebsd-11-stable/crypto/openssh/
H A Dmonitor_fdpass.c66 struct pollfd pfd;
128 struct pollfd pfd;
/freebsd-11-stable/contrib/apr/support/unix/
H A Dwaitio.c43 struct pollfd pfd;
/freebsd-11-stable/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c67 struct pollfd pfd[2];
/freebsd-11-stable/tests/sys/audit/
H A Dfile-read.c33 static struct pollfd fds[1];
H A Dfile-write.c33 static struct pollfd fds[1];
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_ttypty.c58 struct pollfd pfd;
/freebsd-11-stable/contrib/wpa/src/utils/
H A Deloop.c84 struct pollfd *pollfds;
85 struct pollfd **pollfds_map;
284 struct pollfd **nmap;
286 sizeof(struct pollfd *));
295 struct pollfd *n;
298 sizeof(struct pollfd));
432 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx)
443 struct pollfd *pollfds,
444 struct pollfd **pollfds_ma
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.cpp198 CHECK_TYPE_SIZE(pollfd); variable
199 CHECK_SIZE_AND_OFFSET(pollfd, fd);
200 CHECK_SIZE_AND_OFFSET(pollfd, events);
201 CHECK_SIZE_AND_OFFSET(pollfd, revents);
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_filio.c65 struct pollfd *pfd;
76 siz = uap->nfds * sizeof(struct pollfd);
77 pfd = (struct pollfd *)malloc(siz, M_TEMP, M_WAITOK);
/freebsd-11-stable/lib/libc/include/
H A Dlibc_private.h311 struct pollfd;
349 int __sys_poll(struct pollfd *, unsigned, int);
350 int __sys_ppoll(struct pollfd *, unsigned, const struct timespec *,
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Driostream.c148 struct pollfd fds;
177 struct pollfd fds;
206 struct pollfd fds;
409 struct pollfd fds;
440 struct pollfd fds;
H A Dcommon.c154 int do_poll(struct pollfd *fds, int timeout)
H A Dudpong.c172 struct pollfd fds;
199 struct pollfd fds;
311 struct pollfd fds;
337 struct pollfd fds;
/freebsd-11-stable/contrib/apr/poll/unix/
H A Dkqueue.c471 apr_pollfd_t *pollfd = (apr_pollfd_t *)(pollcb->pollset.ke[i].udata); local
474 pollfd->desc_type == APR_POLL_FILE &&
475 pollfd->desc.f == pollcb->wakeup_pipe[0]) {
480 pollfd->rtnevents = get_kqueue_revent(pollcb->pollset.ke[i].filter,
483 rv = func(baton, pollfd);
H A Depoll.c458 apr_pollfd_t *pollfd = (apr_pollfd_t *)(pollcb->pollset.epoll[i].data.ptr); local
461 pollfd->desc_type == APR_POLL_FILE &&
462 pollfd->desc.f == pollcb->wakeup_pipe[0]) {
467 pollfd->rtnevents = get_epoll_revent(pollcb->pollset.epoll[i].events);
469 rv = func(baton, pollfd);
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dworker.c345 /* Poll structure array (pollfd) size step */
355 struct pollfd *pfd = NULL;
368 pfd = (struct pollfd *) malloc(PFD_STEP * sizeof(struct pollfd));
371 smi_log(SMI_LOG_ERR, "Failed to malloc pollfd array: %s",
452 /* add the session to the pollfd array? */
457 ** Resize the pollfd array if it
463 struct pollfd *tpfd;
468 tpfd = (struct pollfd *)
478 "Failed to realloc pollfd arra
[all...]
/freebsd-11-stable/tools/tools/netmap/
H A Dlb.c832 struct pollfd pollfd[npipes + 1]; local
833 memset(&pollfd, 0, sizeof(pollfd));
861 pollfd[polli].fd = ports[i].nmd->fd;
862 pollfd[polli].events = POLLOUT;
863 pollfd[polli].revents = 0;
867 pollfd[polli].fd = rxport->nmd->fd;
868 pollfd[polli].events = POLLIN;
869 pollfd[poll
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DMainLoop.cpp49 int ppoll(struct pollfd *fds, size_t nfds, const struct timespec *timeout_ts,
92 std::vector<struct pollfd> read_fds;
205 struct pollfd pfd;
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/
H A Dh_client.c97 struct pollfd pfd[2];
/freebsd-11-stable/contrib/gcc/
H A Dsys-types.h35 struct pollfd;
/freebsd-11-stable/usr.bin/talk/
H A Dio.c71 struct pollfd fds[2];
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drsocket.h69 int rpoll(struct pollfd *fds, nfds_t nfds, int timeout);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c41 poll(struct pollfd *fds, nfds_t nfds, int timeout)
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_ttypty.c62 struct pollfd pfd;

Completed in 335 milliseconds

1234567