Lines Matching refs:itd
629 struct thread *itd, *ntd; in thread_reap_domain() local
642 itd = (struct thread *)atomic_swap_ptr((uintptr_t *)&tdd->tdd_zombies, in thread_reap_domain()
644 if (itd == NULL) in thread_reap_domain()
658 while (itd != NULL) { in thread_reap_domain()
659 ntd = itd->td_zombie; in thread_reap_domain()
660 EVENTHANDLER_DIRECT_INVOKE(thread_dtor, itd); in thread_reap_domain()
662 tidbatch_add(&tidbatch, itd); in thread_reap_domain()
663 credbatch_add(&credbatch, itd); in thread_reap_domain()
664 limbatch_add(&limbatch, itd); in thread_reap_domain()
665 tdcountbatch_add(&tdcountbatch, itd); in thread_reap_domain()
667 thread_free_batched(itd); in thread_reap_domain()
674 itd = ntd; in thread_reap_domain()