Lines Matching refs:kq
45 static int kq = -1; variable
60 res = kevent (kq, NULL, 0, &ev, 1, &nullts); in _handle_kqueue_watch()
74 kq = -1; in _handle_kqueue_watch()
95 if (kq < 0) in _init_kqueue()
98 kq = kqueue (); in _init_kqueue()
99 if (kq < 0) in _init_kqueue()
107 watch = _dbus_watch_new (kq, DBUS_WATCH_READABLE, TRUE, in _init_kqueue()
113 close (kq); in _init_kqueue()
114 kq = -1; in _init_kqueue()
124 close (kq); in _init_kqueue()
125 kq = -1; in _init_kqueue()
219 if (kevent (kq, &ev, 1, NULL, 0, NULL) == -1) in bus_set_watched_dirs()