Searched refs:pmc_bitmask (Results 1 – 2 of 2) sorted by relevance
47 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask() function63 return counter & pmc_bitmask(pmc); in pmc_read_counter()134 u64 sample_period = (-counter_value) & pmc_bitmask(pmc); in get_sample_period()137 sample_period = pmc_bitmask(pmc) + 1; in get_sample_period()
226 pmc->counter = counter & pmc_bitmask(pmc); in pmc_pause_counter()528 pmc->counter = (pmc->counter + 1) & pmc_bitmask(pmc); in kvm_pmu_incr_counter()