Searched refs:nr_fixed_counters (Results 1 – 2 of 2) sorted by relevance
518 uint8_t nr_fixed_counters = 0; in guest_test_fixed_counters() local523 nr_fixed_counters = this_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in guest_test_fixed_counters()533 nr_fixed_counters, supported_bitmask); in guest_test_fixed_counters()539 if (i >= nr_fixed_counters && !(supported_bitmask & BIT_ULL(i))) { in guest_test_fixed_counters()565 uint8_t nr_fixed_counters, in test_fixed_counters() argument577 nr_fixed_counters); in test_fixed_counters()586 uint8_t nr_fixed_counters = kvm_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in test_intel_counters() local675 for (j = 0; j <= nr_fixed_counters; j++) { in test_intel_counters()676 for (k = 0; k <= (BIT(nr_fixed_counters) - 1); k++) in test_intel_counters()
687 uint8_t nr_fixed_counters = kvm_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in test_filter_ioctl() local726 f.fixed_counter_bitmap = ~GENMASK_ULL(nr_fixed_counters, 0); in test_filter_ioctl()773 uint8_t nr_fixed_counters) in __test_fixed_counter_bitmap() argument779 TEST_ASSERT(nr_fixed_counters < sizeof(bitmap) * 8, in __test_fixed_counter_bitmap()789 for (i = 0; i < BIT(nr_fixed_counters); i++) { in __test_fixed_counter_bitmap()817 uint8_t nr_fixed_counters = kvm_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in test_fixed_counter_bitmap() local826 for (idx = 0; idx < nr_fixed_counters; idx++) { in test_fixed_counter_bitmap()830 __test_fixed_counter_bitmap(vcpu, idx, nr_fixed_counters); in test_fixed_counter_bitmap()