Lines Matching defs:ithread

90 static MALLOC_DEFINE(M_ITHREAD, "ithread", "Interrupt Threads");
113 static void ithread_destroy(struct intr_thread *ithread);
124 /* Map an interrupt type to an ithread priority. */
163 * Update an ithread based on the associated intr_event.
252 * If this event has an ithread, update it's priority and
384 * Bind an interrupt event's ithread to the specified CPU.
568 ithread_destroy(struct intr_thread *ithread)
572 CTR2(KTR_INTR, "%s: killing %s", __func__, ithread->it_event->ie_name);
573 td = ithread->it_thread;
575 ithread->it_flags |= IT_DEAD;
624 msleep(ie, &ie->ie_lock, 0, "ithread", 0);
695 /* For filtered handlers, create a private ithread to run on. */
706 msleep(ie, &ie->ie_lock, 0, "ithread", 0);
818 * Sleep until an ithread finishes executing an interrupt handler.
889 * If there is no ithread, then just remove the handler and return.
902 * handler as being dead and let the ithread do the actual removal.
963 * If no ithread or no handlers, then we have a stray interrupt.
975 * If any of the handlers for this ithread claim to be good
984 KASSERT(p != NULL, ("ithread %s has no process", ie->ie_name));
993 * transfer of this order to loads in the ithread.
1054 /* Private or global ithread? */
1058 * handler as being dead and let the ithread do the actual removal.
1087 * so we can kill the private ithread if any.
1126 * If no ithread or no handlers, then we have a stray interrupt.
1136 * If any of the handlers for this ithread claim to be good
1145 KASSERT(p != NULL, ("ithread %s has no process", ie->ie_name));
1154 * transfer of this order to loads in the ithread.
1236 * Set ih_need for this handler so that if the ithread is already
1410 ("%s: ithread and proc linkage out of sync", __func__));
1441 WITNESS_WARN(WARN_PANIC, NULL, "suspending ithread");
1532 * functions - a filter wrapper and an ithread wrapper.
1534 * could ask the system to schedule the ithread and mask
1536 * of just an ithread handler.
1556 /* Schedule the ithread if needed. */
1586 ("%s: ithread and proc linkage out of sync", __func__));
1621 WITNESS_WARN(WARN_PANIC, NULL, "suspending ithread");
1664 * scheduling the per-handler ithread.
1666 * In case an ithread has to be scheduled, in *ithd there will be a
1715 * all of the filter-less handlers to run in the ithread.
1772 /* Schedule an ithread if needed. */
1947 panic("died while creating vm swi ithread");