Lines Matching defs:kq
946 static int kq = -1;
970 if (kq < 0)
982 if (kevent(kq, &ev, 1, NULL, 0, NULL) == -1) {
1059 assert(fd == kq);
1062 kq, NULL, 0, &ev, 1, &nullts);
1229 if ((kq = kqueue()) < 0)
1234 if (!(kqueue_watch = poll_api->watch_new(poll_api, kq, AVAHI_WATCH_IN, kqueue_callback, NULL))) {
1318 if (kq >= 0)
1319 close(kq);