Searched refs:pmc_bitmask (Results 1 – 2 of 2) sorted by relevance
45 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask() function61 return counter & pmc_bitmask(pmc); in pmc_read_counter()137 u64 sample_period = (-counter_value) & pmc_bitmask(pmc); in get_sample_period()140 sample_period = pmc_bitmask(pmc) + 1; in get_sample_period()
149 pmc->counter = counter & pmc_bitmask(pmc); in pmc_pause_counter()