Lines Matching refs:uindices

753 				u64 __user *uindices)  in copy_config_reg_indices()  argument
776 if (uindices) { in copy_config_reg_indices()
777 if (put_user(reg, uindices)) in copy_config_reg_indices()
779 uindices++; in copy_config_reg_indices()
798 static int copy_core_reg_indices(u64 __user *uindices) in copy_core_reg_indices() argument
807 if (uindices) { in copy_core_reg_indices()
808 if (put_user(reg, uindices)) in copy_core_reg_indices()
810 uindices++; in copy_core_reg_indices()
830 u64 __user *uindices) in copy_csr_reg_indices() argument
842 if (uindices) { in copy_csr_reg_indices()
843 if (put_user(reg, uindices)) in copy_csr_reg_indices()
845 uindices++; in copy_csr_reg_indices()
859 if (uindices) { in copy_csr_reg_indices()
860 if (put_user(reg, uindices)) in copy_csr_reg_indices()
862 uindices++; in copy_csr_reg_indices()
877 if (uindices) { in copy_csr_reg_indices()
878 if (put_user(reg, uindices)) in copy_csr_reg_indices()
880 uindices++; in copy_csr_reg_indices()
893 static int copy_timer_reg_indices(u64 __user *uindices) in copy_timer_reg_indices() argument
901 if (uindices) { in copy_timer_reg_indices()
902 if (put_user(reg, uindices)) in copy_timer_reg_indices()
904 uindices++; in copy_timer_reg_indices()
922 u64 __user *uindices) in copy_fp_f_reg_indices() argument
930 if (uindices) { in copy_fp_f_reg_indices()
931 if (put_user(reg, uindices)) in copy_fp_f_reg_indices()
933 uindices++; in copy_fp_f_reg_indices()
951 u64 __user *uindices) in copy_fp_d_reg_indices() argument
962 if (uindices) { in copy_fp_d_reg_indices()
963 if (put_user(reg, uindices)) in copy_fp_d_reg_indices()
965 uindices++; in copy_fp_d_reg_indices()
971 if (uindices) { in copy_fp_d_reg_indices()
972 if (put_user(reg, uindices)) in copy_fp_d_reg_indices()
974 uindices++; in copy_fp_d_reg_indices()
981 u64 __user *uindices) in copy_isa_ext_reg_indices() argument
995 if (uindices) { in copy_isa_ext_reg_indices()
996 if (put_user(reg, uindices)) in copy_isa_ext_reg_indices()
998 uindices++; in copy_isa_ext_reg_indices()
1012 static int copy_sbi_ext_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_sbi_ext_reg_indices() argument
1025 if (uindices) { in copy_sbi_ext_reg_indices()
1026 if (put_user(reg, uindices)) in copy_sbi_ext_reg_indices()
1028 uindices++; in copy_sbi_ext_reg_indices()
1042 static int copy_sbi_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_sbi_reg_indices() argument
1056 if (uindices) { in copy_sbi_reg_indices()
1057 if (put_user(reg, uindices)) in copy_sbi_reg_indices()
1059 uindices++; in copy_sbi_reg_indices()
1084 u64 __user *uindices) in copy_vector_reg_indices() argument
1099 if (uindices) { in copy_vector_reg_indices()
1100 if (put_user(reg, uindices)) in copy_vector_reg_indices()
1102 uindices++; in copy_vector_reg_indices()
1113 if (uindices) { in copy_vector_reg_indices()
1114 if (put_user(reg, uindices)) in copy_vector_reg_indices()
1116 uindices++; in copy_vector_reg_indices()
1150 u64 __user *uindices) in kvm_riscv_vcpu_copy_reg_indices() argument
1154 ret = copy_config_reg_indices(vcpu, uindices); in kvm_riscv_vcpu_copy_reg_indices()
1157 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1159 ret = copy_core_reg_indices(uindices); in kvm_riscv_vcpu_copy_reg_indices()
1162 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1164 ret = copy_csr_reg_indices(vcpu, uindices); in kvm_riscv_vcpu_copy_reg_indices()
1167 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1169 ret = copy_timer_reg_indices(uindices); in kvm_riscv_vcpu_copy_reg_indices()
1172 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1174 ret = copy_fp_f_reg_indices(vcpu, uindices); in kvm_riscv_vcpu_copy_reg_indices()
1177 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1179 ret = copy_fp_d_reg_indices(vcpu, uindices); in kvm_riscv_vcpu_copy_reg_indices()
1182 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1184 ret = copy_vector_reg_indices(vcpu, uindices); in kvm_riscv_vcpu_copy_reg_indices()
1187 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1189 ret = copy_isa_ext_reg_indices(vcpu, uindices); in kvm_riscv_vcpu_copy_reg_indices()
1192 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1194 ret = copy_sbi_ext_reg_indices(vcpu, uindices); in kvm_riscv_vcpu_copy_reg_indices()
1197 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()
1199 ret = copy_sbi_reg_indices(vcpu, uindices); in kvm_riscv_vcpu_copy_reg_indices()
1202 uindices += ret; in kvm_riscv_vcpu_copy_reg_indices()