FreeBSD/sys/dev/hwpmc/hwpmc_mod.c
/*
 * pmc_allocate_pmc_descriptor
 *
 * Allocate a pmc descriptor and initialize its
 * fields.
 */
pmc_allocate_pmc_descriptor
Allocate a pmc descriptor and initialize its
fields.
pmc_allocate_pmc_descriptor Allocate a pmc descriptor and initialize its fields .
static struct pmc *
pmc_allocate_pmc_descriptor(void)
{
	struct pmc *pmc;
	pmc = malloc(sizeof(struct pmc), M_PMC, M_WAITOK|M_ZERO);
	PMCDBG1(PMC,ALL,1, "allocate-pmc -> pmc=%p", pmc);
	return pmc;
}
static struct pmc * pmc_allocate_pmc_descriptor ( void ) { struct pmc * pmc ; pmc = malloc ( sizeof ( struct pmc ) , M_PMC , M_WAITOK | M_ZERO ) ; PMCDBG1 ( PMC , ALL , 1 , " " , pmc ) ; return pmc ; }
pmc_allocate_pmc_descriptor
 Allocate a pmc descriptor and initialize its
 fields.
pmc_allocate_pmc_descriptor Allocate a pmc descriptor and initialize its fields .