/freebsd-current/tests/sys/kern/ |
H A D | listener_wakeup.c | 181 struct kevent kev; local 185 EV_SET(&kev, s, EVFILT_READ, EV_ADD, 0, 0, NULL); 186 if (kevent(kq, &kev, 1, NULL, 0, NULL) == -1) { 189 if (kev.flags & EV_ERROR) 190 error = (int)kev.data;
|
H A D | ptrace_test.c | 2847 struct kevent kev; local 2854 EV_SET(&kev, SIGUSR1, EVFILT_SIGNAL, EV_ADD, 0, 0, 0); 2855 CHILD_REQUIRE_EQ(kevent(kq, &kev, 1, NULL, 0, NULL), 0); 2860 nevents = kevent(kq, NULL, 0, &kev, 1, NULL); 2864 CHILD_REQUIRE_EQ(kev.filter, EVFILT_SIGNAL); 2865 CHILD_REQUIRE_EQ(kev.ident, (uintptr_t)SIGUSR1);
|
/freebsd-current/usr.sbin/dconschat/ |
H A D | dconschat.c | 193 struct kevent kev; local 205 EV_SET(&kev, p->infd, EVFILT_READ, EV_ADD, NOTE_LOWAT, 1, (void *)p); 206 kevent(sc.kq, &kev, 1, NULL, 0, &sc.zero); 214 struct kevent kev; local 244 EV_SET(&kev, p->infd, EVFILT_READ, EV_DELETE, 0, 0, NULL); 245 kevent(sc.kq, &kev, 1, NULL, 0, &sc.zero); 621 struct kevent kev; local 645 EV_SET(&kev, p->infd, EVFILT_READ, EV_ADD, NOTE_LOWAT, 1, 647 kevent(dc->kq, &kev, 1, NULL, 0, &dc->zero); 679 EV_SET(&kev, 690 struct kevent kev; local 839 struct kevent kev; local [all...] |
/freebsd-current/usr.sbin/nvmfd/ |
H A D | nvmfd.c | 58 struct kevent kev; local 63 EV_SET(&kev, s, EVFILT_READ, EV_ADD, 0, 0, udata); 64 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) == -1)
|
/freebsd-current/tools/tools/netrate/tcpp/ |
H A D | tcpp_client.c | 86 struct kevent kev; local 135 EV_SET(&kev, fd, EVFILT_WRITE, EV_ADD, 0, 0, conn); 136 if (kevent(kq, &kev, 1, NULL, 0, NULL) < 0) 154 tcpp_client_handleconn(struct kevent *kev) argument 160 conn = kev->udata;
|
/freebsd-current/lib/libpmcstat/ |
H A D | libpmcstat_process.c | 264 struct kevent kev; local 300 EV_SET(&kev, pid, EVFILT_PROC, EV_ADD | EV_ONESHOT, NOTE_EXIT, 0, 302 if (kevent(pmcstat_kq, &kev, 1, NULL, 0, NULL) < 0)
|
/freebsd-current/sys/compat/linux/ |
H A D | linux_event.c | 287 struct kevent kev[2]; local 323 ciargs.changelist = kev; 326 error = epoll_to_kevent(td, args->fd, &le, kev, &nchanges); 534 struct kevent kev; local 539 ciargs.changelist = &kev; 540 EV_SET(&kev, fd, filter, flags, 0, 0, 0);
|
/freebsd-current/contrib/lib9p/transport/ |
H A D | socket.c | 73 struct kevent kev[2]; local 100 EV_SET(&kev[nsockets++], s, EVFILT_READ, EV_ADD | EV_ENABLE, 0, 112 if (kevent(kq, kev, nsockets, NULL, 0, NULL) < 0) {
|
/freebsd-current/sys/sys/ |
H A D | event.h | 270 void (*f_touch)(struct knote *kn, struct kevent *kev, u_long type); 349 int kqfd_register(int fd, struct kevent *kev, struct thread *p,
|
/freebsd-current/sys/kern/ |
H A D | vfs_aio.c | 1506 struct kevent kev; local 1658 memset(&kev, 0, sizeof(kev)); 1659 kev.ident = (uintptr_t)job->ujob; 1660 kev.filter = EVFILT_AIO; 1661 kev.flags = EV_ADD | EV_ENABLE | EV_FLAG1 | evflags; 1662 kev.data = (intptr_t)job; 1663 kev.udata = job->uaiocb.aio_sigevent.sigev_value.sival_ptr; 1664 error = kqfd_register(kqfd, &kev, td, M_WAITOK); 2234 struct kevent kev; local [all...] |
/freebsd-current/contrib/openbsm/sys/bsm/ |
H A D | audit_record.h | 285 token_t *au_to_kevent(struct kevent *kev);
|
/freebsd-current/sys/bsm/ |
H A D | audit_record.h | 291 token_t *au_to_kevent(struct kevent *kev);
|