Lines Matching defs:ithread
90 static MALLOC_DEFINE(M_ITHREAD, "ithread", "Interrupt Threads");
114 static void ithread_destroy(struct intr_thread *ithread);
125 /* Map an interrupt type to an ithread priority. */
164 * Update an ithread based on the associated intr_event.
243 * If this event has an ithread, update it's priority and
496 ithread_destroy(struct intr_thread *ithread)
500 CTR2(KTR_INTR, "%s: killing %s", __func__, ithread->it_event->ie_name);
501 td = ithread->it_thread;
503 ithread->it_flags |= IT_DEAD;
552 msleep(ie, &ie->ie_lock, 0, "ithread", 0);
623 /* For filtered handlers, create a private ithread to run on. */
634 msleep(ie, &ie->ie_lock, 0, "ithread", 0);
746 * Sleep until an ithread finishes executing an interrupt handler.
817 * If there is no ithread, then just remove the handler and return.
830 * handler as being dead and let the ithread do the actual removal.
885 * If no ithread or no handlers, then we have a stray interrupt.
897 * If any of the handlers for this ithread claim to be good
909 KASSERT(p != NULL, ("ithread %s has no process", ie->ie_name));
975 /* Private or global ithread? */
979 * handler as being dead and let the ithread do the actual removal.
1002 * so we can kill the private ithread if any.
1041 * If no ithread or no handlers, then we have a stray interrupt.
1051 * If any of the handlers for this ithread claim to be good
1063 KASSERT(p != NULL, ("ithread %s has no process", ie->ie_name));
1155 * Set ih_need for this handler so that if the ithread is already
1328 ("%s: ithread and proc linkage out of sync", __func__));
1363 WITNESS_WARN(WARN_PANIC, NULL, "suspending ithread");
1454 * functions - a filter wrapper and an ithread wrapper.
1456 * could ask the system to schedule the ithread and mask
1458 * of just an ithread handler.
1478 /* Schedule the ithread if needed. */
1513 ("%s: ithread and proc linkage out of sync", __func__));
1551 WITNESS_WARN(WARN_PANIC, NULL, "suspending ithread");
1594 * scheduling the per-handler ithread.
1596 * In case an ithread has to be scheduled, in *ithd there will be a
1645 * all of the filter-less handlers to run in the ithread.
1702 /* Schedule an ithread if needed. */
1877 panic("died while creating vm swi ithread");