Searched refs:pollfd (Results 1 - 25 of 85) sorted by relevance

1234

/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h34 typedef struct pollfd { struct
59 int poll(struct pollfd *, nfds_t, int);
H A Dbsd-poll.c43 poll(struct pollfd *fds, nfds_t nfds, int timeout)
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_poll.c47 int __poll(struct pollfd *fds, unsigned int nfds, int timeout);
52 __poll(struct pollfd *fds, unsigned int nfds, int timeout)
/freebsd-9.3-release/sys/sys/
H A Dpoll.h45 struct pollfd { struct
99 int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
/freebsd-9.3-release/tools/tools/netmap/
H A Dbridge.c160 struct pollfd pollfd[2]; local
247 memset(pollfd, 0, sizeof(pollfd));
248 pollfd[0].fd = pa->fd;
249 pollfd[1].fd = pb->fd;
261 pollfd[0].events = pollfd[1].events = 0;
262 pollfd[0].revents = pollfd[
[all...]
/freebsd-9.3-release/contrib/bmake/
H A Djob.h92 #define pollfd emul_pollfd macro
104 emul_poll(struct pollfd *fd, int nfd, int timeout);
137 struct pollfd;
169 struct pollfd *inPollfd; /* pollfd associated with inPipe */
/freebsd-9.3-release/lib/libusb/
H A Dlibusb10.h60 struct libusb_pollfd pollfd; member in struct:libusb_super_pollfd
111 void libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, struct libusb20_device *pdev, int fd, short events);
112 void libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd);
H A Dlibusb10_io.c46 libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, argument
52 if (pollfd->entry.tqe_prev != NULL)
58 pollfd->pdev = pdev;
59 pollfd->pollfd.fd = fd;
60 pollfd->pollfd.events = events;
63 TAILQ_INSERT_TAIL(&ctx->pollfds, pollfd, entry);
71 libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd) argument
76 if (pollfd
420 struct libusb_super_pollfd *pollfd; local
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dpoll.c65 struct pollfd *event_set;
66 struct pollfd *event_set_copy;
116 struct pollfd *pfd = &pop->event_set[i];
130 struct pollfd *event_set;
144 struct pollfd *tmp = mm_realloc(pop->event_set_copy,
145 pop->event_count * sizeof(struct pollfd));
154 sizeof(struct pollfd)*nfds);
220 struct pollfd *pfd = NULL;
230 struct pollfd *tmp_event_set;
240 tmp_event_count * sizeof(struct pollfd));
[all...]
H A Ddevpoll.c57 struct pollfd *events;
60 struct pollfd *changes;
92 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1)
101 struct pollfd *pfd;
146 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd));
154 devpollop->changes = mm_calloc(nfiles, sizeof(struct pollfd));
171 struct pollfd *events = devpollop->events;
/freebsd-9.3-release/contrib/netcat/
H A Datomicio.c44 struct pollfd pfd;
/freebsd-9.3-release/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c110 struct pollfd pollfd; local
121 pollfd.fd = fd_cap;
122 pollfd.events = POLLIN | POLLERR | POLLHUP;
123 pollfd.revents = 0;
200 ret = poll(&pollfd, 1, 0);
202 CHECK((pollfd.revents & POLLNVAL) == 0);
204 CHECK((pollfd.revents & POLLNVAL) != 0);
/freebsd-9.3-release/contrib/pf/libevent/
H A Dpoll.c63 struct pollfd *event_set;
142 struct pollfd *pfd = &pop->event_set[i];
218 struct pollfd *pfd = NULL;
228 struct pollfd *tmp_event_set;
240 tmp_event_count * sizeof(struct pollfd));
323 struct pollfd *pfd = NULL;
358 * Shift the last pollfd down into the now-unoccupied
362 sizeof(struct pollfd));
/freebsd-9.3-release/crypto/openssh/
H A Datomicio.c57 struct pollfd pfd;
107 struct pollfd pfd;
H A Dmonitor_fdpass.c61 struct pollfd pfd;
123 struct pollfd pfd;
/freebsd-9.3-release/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c56 struct pollfd pfd[1];
/freebsd-9.3-release/contrib/gdb/gdb/
H A Devent-loop.c141 /* Ptr to array of pollfd structures. */
142 struct pollfd *poll_fds;
439 struct pollfd fds;
512 (struct pollfd *) xrealloc (gdb_notifier.poll_fds,
514 * sizeof (struct pollfd)));
517 (struct pollfd *) xmalloc (sizeof (struct pollfd));
562 struct pollfd *new_poll_fds;
584 (struct pollfd *) xmalloc ((gdb_notifier.num_fds - 1) * sizeof (struct pollfd));
[all...]
/freebsd-9.3-release/tools/regression/poll/
H A Dsockpoll.c78 static struct pollfd pfd0;
79 static struct pollfd pfd1;
/freebsd-9.3-release/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c67 struct pollfd pfd[2];
/freebsd-9.3-release/sys/compat/svr4/
H A Dsvr4_filio.c64 struct pollfd *pfd;
75 siz = uap->nfds * sizeof(struct pollfd);
76 pfd = (struct pollfd *)malloc(siz, M_TEMP, M_WAITOK);
/freebsd-9.3-release/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",
454 /* add the session to the pollfd array? */
459 ** Resize the pollfd array if it
465 struct pollfd *tpfd;
470 tpfd = (struct pollfd *)
480 "Failed to realloc pollfd arra
[all...]
/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/
H A Dosm_console.c1242 struct pollfd pollfd[2]; local
1246 struct pollfd *fds;
1251 pollfd[0].fd = p_oct->socket;
1252 pollfd[0].events = POLLIN;
1253 pollfd[0].revents = 0;
1255 pollfd[1].fd = p_oct->in_fd;
1256 pollfd[1].events = POLLIN;
1257 pollfd[1].revents = 0;
1259 fds = p_oct->socket < 0 ? &pollfd[
[all...]
/freebsd-9.3-release/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c164 struct pollfd fd_list[MIN_FDS];
165 struct pollfd *fds = fd_list;
205 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count);
/freebsd-9.3-release/contrib/gcc/
H A Dsys-types.h35 struct pollfd;
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Dfilter_fork.c125 struct pollfd fds[2];

Completed in 262 milliseconds

1234