Home
last modified time | relevance | path

Searched refs:num_eg (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iommu/intel/
H A Dperfmon.c251 if (event_group >= iommu_pmu->num_eg) in iommu_pmu_validate_event()
608 iommu_pmu->num_eg = pcap_num_event_group(perfcap); in alloc_iommu_pmu()
610 iommu_pmu->evcap = kcalloc(iommu_pmu->num_eg, sizeof(u64), GFP_KERNEL); in alloc_iommu_pmu()
617 for (i = 0; i < iommu_pmu->num_eg; i++) { in alloc_iommu_pmu()
631 iommu_pmu->cntr_evcap[i] = kcalloc(iommu_pmu->num_eg, sizeof(u32), GFP_KERNEL); in alloc_iommu_pmu()
640 for (j = 0; j < iommu_pmu->num_eg; j++) in alloc_iommu_pmu()
673 for (j = 0; j < iommu_pmu->num_eg; j++) in alloc_iommu_pmu()
H A Diommu.h688 u32 num_eg; /* Number of event group */ member