Home
last modified time | relevance | path

Searched refs:kvm_pmu_num_counters (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/arch/riscv/kvm/
Dvcpu_pmu.c20 #define kvm_pmu_num_counters(pmu) ((pmu)->num_hw_ctrs + (pmu)->num_fw_ctrs) macro
212 if (cidx >= kvm_pmu_num_counters(kvpmu) || cidx == 1) { in pmu_fw_ctr_read_hi()
238 if (cidx >= kvm_pmu_num_counters(kvpmu) || cidx == 1) { in pmu_ctr_read()
262 if (!ctr_mask || (ctr_base + __fls(ctr_mask) >= kvm_pmu_num_counters(kvpmu))) in kvm_pmu_validate_counter_mask()
460 retdata->out_val = kvm_pmu_num_counters(kvpmu); in kvm_riscv_vcpu_pmu_num_ctrs()
794 for (i = 0; i < kvm_pmu_num_counters(kvpmu); i++) { in kvm_riscv_vcpu_pmu_init()