Lines Matching defs:evchange
640 struct kevent evchange;
642 memset(&evchange, 0, sizeof(evchange));
644 evchange.filter = EVFILT_READ;
646 evchange.filter = EVFILT_WRITE;
647 evchange.flags = EV_ADD;
648 evchange.ident = fd;
649 if (kevent(manager->kqueue_fd, &evchange, 1, NULL, 0, NULL) != 0)
708 struct kevent evchange;
710 memset(&evchange, 0, sizeof(evchange));
712 evchange.filter = EVFILT_READ;
714 evchange.filter = EVFILT_WRITE;
715 evchange.flags = EV_DELETE;
716 evchange.ident = fd;
717 if (kevent(manager->kqueue_fd, &evchange, 1, NULL, 0, NULL) != 0)