Lines Matching refs:kq_state
1512 if (kq->kq_state & (KQ_KEV32 | KQ_KEV64)) {
1513 if (((iskev64 && (kq->kq_state & KQ_KEV32)) ||
1514 (!iskev64 && (kq->kq_state & KQ_KEV64)))) {
1520 kq->kq_state |= (iskev64 ? KQ_KEV64 : KQ_KEV32);
2029 kq->kq_state |= KQ_PROCWAIT;
2047 if (kq->kq_state & KQ_PROCWAIT) {
2048 kq->kq_state &= ~KQ_PROCWAIT;
2150 kq->kq_state |= KQ_SLEEP;
2256 kq->kq_state |= KQ_SLEEP;
2341 kq->kq_state |= KQ_SEL;
2487 if (kq->kq_state & KQ_KEV64)
2497 if (kq->kq_state & KQ_KEV64)
2513 if ((kq->kq_state & (KQ_SLEEP | KQ_SEL)) != 0 || kq->kq_nprocess > 0) {
2514 kq->kq_state &= ~(KQ_SLEEP | KQ_SEL);
3498 if (kq->kq_state & KQ_KEV64)
3503 if (kq->kq_state & KQ_SEL)
3504 kinfo->kq_state |= PROC_KQUEUE_SELECT;
3505 if (kq->kq_state & KQ_SLEEP)
3506 kinfo->kq_state |= PROC_KQUEUE_SLEEP;