Lines Matching refs:pmc_thread
182 static LIST_HEAD(, pmc_thread) pmc_threadfreelist;
185 (sizeof(struct pmc_thread) + (md->pmd_npmc * sizeof(struct pmc_threadpmcstate)))
231 static struct pmc_thread *pmc_find_thread_descriptor(struct pmc_process *pp,
258 static struct pmc_thread *pmc_thread_descriptor_pool_alloc(void);
260 static void pmc_thread_descriptor_pool_free(struct pmc_thread *pt);
907 struct pmc_thread *pt_td; in pmc_link_target_process()
976 struct pmc_thread *pt; in pmc_unlink_target_process()
1357 struct pmc_thread *pt; in pmc_process_csw_in()
1524 struct pmc_thread *pt = NULL; in pmc_process_csw_out()
2383 static struct pmc_thread *
2386 struct pmc_thread *pt; in pmc_thread_descriptor_pool_alloc()
2405 pmc_thread_descriptor_pool_free(struct pmc_thread *pt) in pmc_thread_descriptor_pool_free()
2426 struct pmc_thread *pt; in pmc_thread_descriptor_pool_free_task()
2427 LIST_HEAD(, pmc_thread) tmplist; in pmc_thread_descriptor_pool_free_task()
2457 struct pmc_thread *pt, *next; in pmc_thread_descriptor_pool_drain()
2475 static struct pmc_thread *
2479 struct pmc_thread *pt = NULL, *ptnew = NULL; in pmc_find_thread_descriptor()
2532 struct pmc_thread **tdlist; in pmc_add_thread_descriptors_from_proc()
2542 tdlist = malloc(sizeof(struct pmc_thread*) * tdlistsz, M_TEMP, M_WAITOK); in pmc_add_thread_descriptors_from_proc()
2651 struct pmc_thread *pmc_td; in pmc_destroy_process_descriptor()