Searched refs:pmc_bitmask (Results 1 – 2 of 2) sorted by relevance
169 u64 sample_period = (-counter_value) & pmc_bitmask(pmc); in get_sample_period()172 sample_period = pmc_bitmask(pmc) + 1; in get_sample_period()245 prev_counter = counter & pmc_bitmask(pmc); in pmc_pause_counter()248 pmc->counter = counter & pmc_bitmask(pmc); in pmc_pause_counter()318 pmc->counter &= pmc_bitmask(pmc); in pmc_write_counter()
98 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask() function115 return counter & pmc_bitmask(pmc); in pmc_read_counter()