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);
905 struct pmc_thread *pt_td; in pmc_link_target_process()
974 struct pmc_thread *pt; in pmc_unlink_target_process()
1355 struct pmc_thread *pt; in pmc_process_csw_in()
1522 struct pmc_thread *pt = NULL; in pmc_process_csw_out()
2381 static struct pmc_thread *
2384 struct pmc_thread *pt; in pmc_thread_descriptor_pool_alloc()
2403 pmc_thread_descriptor_pool_free(struct pmc_thread *pt) in pmc_thread_descriptor_pool_free()
2424 struct pmc_thread *pt; in pmc_thread_descriptor_pool_free_task()
2425 LIST_HEAD(, pmc_thread) tmplist; in pmc_thread_descriptor_pool_free_task()
2454 struct pmc_thread *pt, *next; in pmc_thread_descriptor_pool_drain()
2472 static struct pmc_thread *
2476 struct pmc_thread *pt = NULL, *ptnew = NULL; in pmc_find_thread_descriptor()
2529 struct pmc_thread **tdlist; in pmc_add_thread_descriptors_from_proc()
2539 tdlist = malloc(sizeof(struct pmc_thread*) * tdlistsz, M_TEMP, M_WAITOK); in pmc_add_thread_descriptors_from_proc()
2648 struct pmc_thread *pmc_td; in pmc_destroy_process_descriptor()