Lines Matching refs:kev
444 struct kevent kev; in kq_sig_add() local
450 memset(&kev, 0, sizeof(kev)); in kq_sig_add()
451 kev.ident = nsignal; in kq_sig_add()
452 kev.filter = EVFILT_SIGNAL; in kq_sig_add()
453 kev.flags = EV_ADD; in kq_sig_add()
458 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1) in kq_sig_add()
477 struct kevent kev; in kq_sig_del() local
484 memset(&kev, 0, sizeof(kev)); in kq_sig_del()
485 kev.ident = nsignal; in kq_sig_del()
486 kev.filter = EVFILT_SIGNAL; in kq_sig_del()
487 kev.flags = EV_DELETE; in kq_sig_del()
492 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1) in kq_sig_del()
513 struct kevent kev; in event_kq_add_notify_event_() local
521 memset(&kev, 0, sizeof(kev)); in event_kq_add_notify_event_()
522 kev.ident = NOTIFY_IDENT; in event_kq_add_notify_event_()
523 kev.filter = EVFILT_USER; in event_kq_add_notify_event_()
524 kev.flags = EV_ADD | EV_CLEAR; in event_kq_add_notify_event_()
526 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1) { in event_kq_add_notify_event_()
544 struct kevent kev; in event_kq_notify_base_() local
551 memset(&kev, 0, sizeof(kev)); in event_kq_notify_base_()
552 kev.ident = NOTIFY_IDENT; in event_kq_notify_base_()
553 kev.filter = EVFILT_USER; in event_kq_notify_base_()
554 kev.fflags = NOTE_TRIGGER; in event_kq_notify_base_()
556 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1) { in event_kq_notify_base_()