Searched refs:pmc_bitmask (Results 1 – 2 of 2) sorted by relevance
58 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask() function74 return counter & pmc_bitmask(pmc); in pmc_read_counter()80 pmc->counter &= pmc_bitmask(pmc); in pmc_write_counter()133 u64 sample_period = (-counter_value) & pmc_bitmask(pmc); in get_sample_period()136 sample_period = pmc_bitmask(pmc) + 1; in get_sample_period()
227 pmc->counter = counter & pmc_bitmask(pmc); in pmc_pause_counter()751 pmc->counter = (pmc->counter + 1) & pmc_bitmask(pmc); in kvm_pmu_incr_counter()