Lines Matching defs:kqfd
28 int kqfd;
46 if (fstat(kqfd, &s) != -1)
58 kevent_add(kqfd, &kev, pid, EVFILT_PROC, EV_ADD, 0, 0, NULL);
67 kevent_add(kqfd, &kev, pid, EVFILT_PROC, EV_DELETE, 0, 0, NULL);
138 kevent_add(kqfd, &kev, pid, EVFILT_PROC, EV_ADD | EV_ENABLE,
181 kevp = kevent_get_timeout(kqfd, 5);
262 kevent_add(kqfd, &kev, pid, EVFILT_PROC, EV_ADD, 0, 0, NULL);
268 kevent_cmp(&kev, kevent_get(kqfd));
283 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
309 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
327 kevent_cmp(&kev, kevent_get(kqfd));
331 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
347 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
372 if (kevent(kqfd, &kev, 1, NULL, 0, NULL) < 0)
386 kevent_cmp(&kev, kevent_get(kqfd));
400 kqfd = kqueue();
422 close(kqfd);