Lines Matching defs:kqfd
21 int kqfd;
42 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
57 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
63 kevent_cmp(&kev, kevent_get(kqfd));
77 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
87 kevent_cmp(&kev, kevent_get(kqfd));
102 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
108 nfds = kevent(kqfd, NULL, 0, &kev, 1, NULL);
130 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
136 nfds = kevent(kqfd, NULL, 0, &kev, 1, NULL);
160 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
179 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
182 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
192 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
196 nfds = kevent(kqfd, NULL, 0, &kev, 1, NULL);
221 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
227 nfds = kevent(kqfd, NULL, 0, &kev, 1, NULL);
244 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
254 kqfd = kqueue();
265 close(kqfd);