/freebsd-11-stable/sys/geom/ |
H A D | geom_event.c | 37 * XXX: How do we in general know that objects referenced in events 69 TAILQ_ENTRY(g_event) events; 267 TAILQ_REMOVE(&g_events, ep, events); 317 TAILQ_FOREACH_SAFE(ep, &g_events, events, epn) { 325 TAILQ_REMOVE(&g_events, ep, events); 368 TAILQ_INSERT_TAIL(&g_events, ep, events);
|
/freebsd-11-stable/usr.sbin/ypldap/ |
H A D | ypldap.c | 351 main_dispatch_client(int fd, short events, void *p) argument 361 if ((events & (EV_READ | EV_WRITE)) == 0) 364 if (events & EV_READ) { 370 if (events & EV_WRITE) { 594 env.sc_iev->events = EV_READ; 596 event_set(&env.sc_iev->ev, env.sc_iev->ibuf.fd, env.sc_iev->events, 633 iev->events = EV_READ; 635 iev->events |= EV_WRITE; 638 event_set(&iev->ev, iev->ibuf.fd, iev->events, iev->handler, iev->data);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_event.c | 90 uint32_t events; member in struct:epoll_event 303 uint32_t levents = l_event->events; 358 l_event->events = LINUX_EPOLLERR; 365 l_event->events = LINUX_EPOLLIN; 367 l_event->events |= LINUX_EPOLLRDHUP; 370 l_event->events = LINUX_EPOLLOUT; 377 * events to epoll events and copies them back to the 542 linux_epoll_wait_common(struct thread *td, int epfd, struct epoll_event *events, argument 583 coargs.leventlist = events; 845 eventfd_poll(struct file *fp, int events, struct ucred *active_cred, struct thread *td) argument 1090 timerfd_poll(struct file *fp, int events, struct ucred *active_cred, struct thread *td) argument [all...] |
/freebsd-11-stable/libexec/rlogind/ |
H A D | rlogind.c | 372 set[0].events = POLLPRI; 374 set[1].events = 0; 376 set[0].events |= POLLOUT; 378 set[1].events |= POLLIN; 381 set[1].events |= POLLOUT; 383 set[0].events |= POLLIN;
|
/freebsd-11-stable/contrib/netbsd-tests/net/fdpass/ |
H A D | fdpass.c | 80 pfd.events = POLLOUT; 126 pfd.events = POLLIN;
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | test-dumpevents.c | 52 callback1(evutil_socket_t fd, short events, void *arg) argument 56 callback2(evutil_socket_t fd, short events, void *arg) argument
|
/freebsd-11-stable/contrib/blacklist/test/ |
H A D | srvtest.c | 205 pfd[0].events = POLLIN; 208 pfd[1].events = POLLIN;
|
/freebsd-11-stable/crypto/heimdal/kcm/ |
H A D | Makefile.am | 16 events.c \
|
/freebsd-11-stable/crypto/openssh/ |
H A D | monitor_fdpass.c | 89 pfd.events = POLLOUT; 145 pfd.events = POLLIN;
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | ctrl_iface_common.c | 134 dst->events |= WPA_EVENT_RX_PROBE_REQUEST; 136 dst->events &= ~WPA_EVENT_RX_PROBE_REQUEST;
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | eapol_test.py | 58 def wait_event(self, events, timeout=10): 64 for event in events:
|
/freebsd-11-stable/sys/kern/ |
H A D | tty_pts.c | 127 * the first byte contains a bitmask of events that 386 ptsdev_poll(struct file *fp, int events, struct ucred *active_cred, argument 398 return ((events & (POLLIN|POLLRDNORM)) | POLLHUP); 401 if (events & (POLLIN|POLLRDNORM)) { 405 revents |= events & (POLLIN|POLLRDNORM); 407 if (events & (POLLOUT|POLLWRNORM)) { 410 revents |= events & (POLLOUT|POLLWRNORM); 422 * poll events on this side is the opposite of the slave 425 if (events & (POLLIN|POLLRDNORM)) 427 if (events [all...] |
H A D | subr_log.c | 181 logpoll(struct cdev *dev, int events, struct thread *td) argument 185 if (events & (POLLIN | POLLRDNORM)) { 188 revents |= events & (POLLIN | POLLRDNORM);
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | filter_fork_posix.c | 210 fds[idx].events = POLLOUT; 215 fds[idx].events = POLLIN;
|
/freebsd-11-stable/contrib/ntp/lib/isc/unix/ |
H A D | socket.c | 179 * during intermittent events or the kernel bug is triggered. If the next 207 * Maximum number of events communicated with the kernel. There should normally 241 * DLVL(70) -- Socket "correctness" -- including returning of events, etc. 243 * DLVL(50) -- Event tracing, including receiving/sending completion events. 322 * Internal events. Posted when a descriptor is readable or 368 struct kevent *events; member in struct:isc__socketmgr 373 struct epoll_event *events; member in struct:isc__socketmgr 378 struct pollfd *events; member in struct:isc__socketmgr 826 event.events = EPOLLIN; 828 event.events 3599 process_fds(isc__socketmgr_t *manager, struct kevent *events, int nevents) argument 3641 process_fds(isc__socketmgr_t *manager, struct epoll_event *events, int nevents) argument 3689 process_fds(isc__socketmgr_t *manager, struct pollfd *events, int nevents) argument [all...] |
/freebsd-11-stable/contrib/apr/support/unix/ |
H A D | waitio.c | 48 pfd.events = for_read ? POLLIN : POLLOUT;
|
/freebsd-11-stable/crypto/openssh/regress/ |
H A D | netcat.c | 681 pfd.events = POLLOUT; 786 pfd[POLL_STDIN].events = POLLIN; 790 pfd[POLL_NETOUT].events = 0; 794 pfd[POLL_NETIN].events = POLLIN; 798 pfd[POLL_STDOUT].events = 0; 845 if (pfd[POLL_STDIN].events & POLLIN && 850 if (pfd[POLL_NETIN].events & POLLIN && 882 pfd[POLL_NETOUT].events = POLLOUT; 885 pfd[POLL_STDIN].events = 0; 895 pfd[POLL_NETOUT].events [all...] |
/freebsd-11-stable/sys/dev/random/ |
H A D | randomdev.c | 275 randomdev_poll(struct cdev *dev __unused, int events, struct thread *td __unused) argument 278 if (events & (POLLIN | POLLRDNORM)) { 280 events &= (POLLIN | POLLRDNORM); 284 return (events);
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_ttypty.c | 79 pfd.events = POLLOUT;
|
/freebsd-11-stable/usr.bin/calendar/ |
H A D | Makefile | 7 SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \
|
/freebsd-11-stable/contrib/lua/src/ |
H A D | ltm.h | 60 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | tube.h | 270 void tube_handle_signal(int fd, short events, void* arg);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | event-internal.h | 95 /** Enable reading/writing on a given fd or signal. 'events' will be 96 * the events that we're trying to enable: one or more of EV_READ, 97 * EV_WRITE, EV_SIGNAL, and EV_ET. 'old' will be those events that 103 int (*add)(struct event_base *, evutil_socket_t fd, short old, short events, void *fdinfo); 104 /** As "add", except 'events' contains the events we mean to disable. */ 105 int (*del)(struct event_base *, evutil_socket_t fd, short old, short events, void *fdinfo); 107 added events are ready, and cause event_active to be called for each 121 has one or more active events. This information is recorded 131 use a hashtable instead of an array to map fds to events 165 struct event_list events; member in struct:common_timeout_list [all...] |
/freebsd-11-stable/share/examples/scsi_target/ |
H A D | scsi_target.c | 400 struct kevent events[MAX_EVENTS]; local 408 /* Set up some default events */ 409 EV_SET(&events[0], SIGHUP, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0); 410 EV_SET(&events[1], SIGINT, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0); 411 EV_SET(&events[2], SIGTERM, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0); 412 EV_SET(&events[3], targ_fd, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0); 413 if (kevent(kq_fd, events, 4, NULL, 0, NULL) < 0) 427 retval = kevent(kq_fd, NULL, 0, events, MAX_EVENTS, tptr); 438 errx(1, "kevent returned more events than allocated?"); 441 /* Process all received events [all...] |
/freebsd-11-stable/sys/geom/vinum/ |
H A D | geom_vinum_events.c | 56 TAILQ_INSERT_TAIL(&sc->equeue, ev, events); 70 TAILQ_INSERT_TAIL(&sc->equeue, ev, events); 94 TAILQ_REMOVE(&sc->equeue, ev, events);
|