pmc_thread
struct pmc_thread *pt;
struct pmc_thread *pt = NULL;
static LIST_HEAD(, pmc_thread) pmc_threadfreelist;
#define THREADENTRY_SIZE (sizeof(struct pmc_thread) + \
static struct pmc_thread *
static struct pmc_thread *pmc_find_thread_descriptor(struct pmc_process *pp,
struct pmc_thread *pt;
pmc_thread_descriptor_pool_free(struct pmc_thread *pt)
struct pmc_thread *pt;
LIST_HEAD(, pmc_thread) tmplist;
struct pmc_thread *pt, *next;
static struct pmc_thread *
struct pmc_thread *pt = NULL, *ptnew = NULL;
struct pmc_thread **tdlist;
tdlist = malloc(sizeof(struct pmc_thread *) * tdlistsz, M_TEMP,
struct pmc_thread *pmc_td;
static struct pmc_thread *pmc_thread_descriptor_pool_alloc(void);
static void pmc_thread_descriptor_pool_free(struct pmc_thread *pt);
struct pmc_thread *pt_td __diagused;
struct pmc_thread *pt;
LIST_ENTRY(pmc_thread) pt_next; /* linked list */
LIST_HEAD(,pmc_thread) pp_tds; /* list of threads */