KQ_NEVENTS
const size_t maxalloc = KQ_NEVENTS;
struct kevent kevbuf[KQ_NEVENTS]; /* approx 300 bytes on 64-bit */