Searched refs:ptnew (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/sys/dev/hwpmc/
H A Dhwpmc_mod.c2477 struct pmc_thread *pt = NULL, *ptnew = NULL; local
2487 if ((ptnew = pmc_thread_descriptor_pool_alloc()) == NULL) {
2492 ptnew = malloc(THREADENTRY_SIZE, M_PMC,
2506 if ((mode & PMC_FLAG_ALLOCATE) && pt == NULL && ptnew != NULL) {
2507 pt = ptnew;
2508 ptnew = NULL;
2515 if (ptnew != NULL) {
2516 free(ptnew, M_PMC);

Completed in 131 milliseconds