Searched refs:retdata (Results 1 – 8 of 8) sorted by relevance
/arch/riscv/kvm/ |
D | vcpu_sbi_pmu.c | 17 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_pmu_handler() argument 26 retdata->err_val = SBI_ERR_NOT_SUPPORTED; in kvm_sbi_ext_pmu_handler() 32 ret = kvm_riscv_vcpu_pmu_num_ctrs(vcpu, retdata); in kvm_sbi_ext_pmu_handler() 35 ret = kvm_riscv_vcpu_pmu_ctr_info(vcpu, cp->a0, retdata); in kvm_sbi_ext_pmu_handler() 50 cp->a2, cp->a3, temp, retdata); in kvm_sbi_ext_pmu_handler() 59 temp, retdata); in kvm_sbi_ext_pmu_handler() 62 ret = kvm_riscv_vcpu_pmu_ctr_stop(vcpu, cp->a0, cp->a1, cp->a2, retdata); in kvm_sbi_ext_pmu_handler() 65 ret = kvm_riscv_vcpu_pmu_ctr_read(vcpu, cp->a0, retdata); in kvm_sbi_ext_pmu_handler() 68 retdata->err_val = SBI_ERR_NOT_SUPPORTED; in kvm_sbi_ext_pmu_handler()
|
D | vcpu_sbi_replace.c | 18 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_time_handler() argument 24 retdata->err_val = SBI_ERR_INVALID_PARAM; in kvm_sbi_ext_time_handler() 46 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_ipi_handler() argument 56 retdata->err_val = SBI_ERR_INVALID_PARAM; in kvm_sbi_ext_ipi_handler() 84 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_rfence_handler() argument 125 retdata->err_val = SBI_ERR_NOT_SUPPORTED; in kvm_sbi_ext_rfence_handler() 139 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_srst_handler() argument 153 retdata->uexit = true; in kvm_sbi_ext_srst_handler() 160 retdata->uexit = true; in kvm_sbi_ext_srst_handler() 163 retdata->err_val = SBI_ERR_NOT_SUPPORTED; in kvm_sbi_ext_srst_handler() [all …]
|
D | vcpu_sbi_base.c | 17 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_base_handler() argument 21 unsigned long *out_val = &retdata->out_val; in kvm_sbi_ext_base_handler() 45 retdata->uexit = true; in kvm_sbi_ext_base_handler() 62 retdata->err_val = SBI_ERR_NOT_SUPPORTED; in kvm_sbi_ext_base_handler() 77 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_forward_handler() argument 84 retdata->uexit = true; in kvm_sbi_ext_forward_handler()
|
D | vcpu_sbi_v01.c | 17 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_v01_handler() argument 25 struct kvm_cpu_trap *utrap = retdata->utrap; in kvm_sbi_ext_v01_handler() 35 retdata->uexit = true; in kvm_sbi_ext_v01_handler() 66 retdata->uexit = true; in kvm_sbi_ext_v01_handler() 103 retdata->err_val = SBI_ERR_NOT_SUPPORTED; in kvm_sbi_ext_v01_handler()
|
D | vcpu_pmu.c | 314 struct kvm_vcpu_sbi_return *retdata) in kvm_riscv_vcpu_pmu_num_ctrs() argument 318 retdata->out_val = kvm_pmu_num_counters(kvpmu); in kvm_riscv_vcpu_pmu_num_ctrs() 324 struct kvm_vcpu_sbi_return *retdata) in kvm_riscv_vcpu_pmu_ctr_info() argument 329 retdata->err_val = SBI_ERR_INVALID_PARAM; in kvm_riscv_vcpu_pmu_ctr_info() 333 retdata->out_val = kvpmu->pmc[cidx].cinfo.value; in kvm_riscv_vcpu_pmu_ctr_info() 340 struct kvm_vcpu_sbi_return *retdata) in kvm_riscv_vcpu_pmu_ctr_start() argument 389 retdata->err_val = sbiret; in kvm_riscv_vcpu_pmu_ctr_start() 396 struct kvm_vcpu_sbi_return *retdata) in kvm_riscv_vcpu_pmu_ctr_stop() argument 451 retdata->err_val = sbiret; in kvm_riscv_vcpu_pmu_ctr_stop() 459 struct kvm_vcpu_sbi_return *retdata) in kvm_riscv_vcpu_pmu_ctr_cfg_match() argument [all …]
|
D | vcpu_sbi_hsm.c | 70 struct kvm_vcpu_sbi_return *retdata) in kvm_sbi_ext_hsm_handler() argument 89 retdata->out_val = ret; in kvm_sbi_ext_hsm_handler() 90 retdata->err_val = 0; in kvm_sbi_ext_hsm_handler() 109 retdata->err_val = ret; in kvm_sbi_ext_hsm_handler()
|
/arch/riscv/include/asm/ |
D | kvm_vcpu_pmu.h | 72 int kvm_riscv_vcpu_pmu_num_ctrs(struct kvm_vcpu *vcpu, struct kvm_vcpu_sbi_return *retdata); 74 struct kvm_vcpu_sbi_return *retdata); 77 struct kvm_vcpu_sbi_return *retdata); 80 struct kvm_vcpu_sbi_return *retdata); 84 struct kvm_vcpu_sbi_return *retdata); 86 struct kvm_vcpu_sbi_return *retdata);
|
D | kvm_vcpu_sbi.h | 44 struct kvm_vcpu_sbi_return *retdata);
|