Lines Matching refs:vsfile_cpu
50 int vsfile_cpu; member
421 static void imsic_vsfile_read(int vsfile_hgei, int vsfile_cpu, u32 nr_eix, in imsic_vsfile_read() argument
427 if (vsfile_cpu < 0 || vsfile_hgei <= 0) in imsic_vsfile_read()
435 on_each_cpu_mask(cpumask_of(vsfile_cpu), in imsic_vsfile_read()
489 static int imsic_vsfile_rw(int vsfile_hgei, int vsfile_cpu, u32 nr_eix, in imsic_vsfile_rw() argument
497 if (vsfile_cpu < 0 || vsfile_hgei <= 0) in imsic_vsfile_rw()
510 on_each_cpu_mask(cpumask_of(vsfile_cpu), in imsic_vsfile_rw()
601 old_vsfile_cpu = imsic->vsfile_cpu; in imsic_vsfile_cleanup()
602 imsic->vsfile_cpu = imsic->vsfile_hgei = -1; in imsic_vsfile_cleanup()
689 old_vsfile_cpu = imsic->vsfile_cpu; in kvm_riscv_vcpu_aia_imsic_release()
690 imsic->vsfile_cpu = imsic->vsfile_hgei = -1; in kvm_riscv_vcpu_aia_imsic_release()
749 old_vsfile_cpu = imsic->vsfile_cpu; in kvm_riscv_vcpu_aia_imsic_update()
799 imsic->vsfile_cpu = vcpu->cpu; in kvm_riscv_vcpu_aia_imsic_update()
888 int rc, vsfile_hgei, vsfile_cpu; in kvm_riscv_aia_imsic_rw_attr() local
905 vsfile_cpu = imsic->vsfile_cpu; in kvm_riscv_aia_imsic_rw_attr()
906 if (vsfile_cpu < 0) { in kvm_riscv_aia_imsic_rw_attr()
918 if (!rc && vsfile_cpu >= 0) in kvm_riscv_aia_imsic_rw_attr()
919 rc = imsic_vsfile_rw(vsfile_hgei, vsfile_cpu, imsic->nr_eix, in kvm_riscv_aia_imsic_rw_attr()
975 if (imsic->vsfile_cpu >= 0) { in kvm_riscv_vcpu_aia_imsic_inject()
1043 imsic->vsfile_hgei = imsic->vsfile_cpu = -1; in kvm_riscv_vcpu_aia_imsic_init()