Searched refs:sbi_ext (Results 1 – 2 of 2) sorted by relevance
20 const struct kvm_vcpu_sbi_extension *sbi_ext; in kvm_sbi_ext_base_handler() local47 sbi_ext = kvm_vcpu_sbi_find_ext(vcpu, cp->a0); in kvm_sbi_ext_base_handler()48 *out_val = sbi_ext && sbi_ext->probe ? in kvm_sbi_ext_base_handler()49 sbi_ext->probe(vcpu) : !!sbi_ext; in kvm_sbi_ext_base_handler()
36 static const struct kvm_riscv_sbi_extension_entry sbi_ext[] = { variable149 for (i = 0; i < ARRAY_SIZE(sbi_ext); i++) { in riscv_vcpu_set_sbi_ext_single()150 if (sbi_ext[i].ext_idx == reg_num) { in riscv_vcpu_set_sbi_ext_single()151 sext = &sbi_ext[i]; in riscv_vcpu_set_sbi_ext_single()182 for (i = 0; i < ARRAY_SIZE(sbi_ext); i++) { in riscv_vcpu_get_sbi_ext_single()183 if (sbi_ext[i].ext_idx == reg_num) { in riscv_vcpu_get_sbi_ext_single()184 sext = &sbi_ext[i]; in riscv_vcpu_get_sbi_ext_single()331 for (i = 0; i < ARRAY_SIZE(sbi_ext); i++) { in kvm_vcpu_sbi_find_ext()332 entry = &sbi_ext[i]; in kvm_vcpu_sbi_find_ext()363 const struct kvm_vcpu_sbi_extension *sbi_ext; in kvm_riscv_vcpu_sbi_ecall() local[all …]