Searched refs:num_ctrs (Results 1 – 2 of 2) sorted by relevance
330 unsigned int cur_idx, num_ctrs = smmu_pmu->num_counters; in smmu_pmu_apply_event_filter() local338 cur_idx = find_first_bit(smmu_pmu->used_counters, num_ctrs); in smmu_pmu_apply_event_filter()343 if (!smmu_pmu->global_filter || cur_idx == num_ctrs) { in smmu_pmu_apply_event_filter()361 unsigned int num_ctrs = smmu_pmu->num_counters; in smmu_pmu_get_event_idx() local363 idx = find_first_zero_bit(smmu_pmu->used_counters, num_ctrs); in smmu_pmu_get_event_idx()364 if (idx == num_ctrs) in smmu_pmu_get_event_idx()
284 unsigned long num_ctrs = kvm_pmu_num_counters(kvpmu); in kvm_pmu_validate_counter_mask() local287 if (!ctr_mask || ctr_base >= num_ctrs || (ctr_base + __fls(ctr_mask) >= num_ctrs)) in kvm_pmu_validate_counter_mask()