Home
last modified time | relevance | path

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

/arch/arm/kvm/
Dguest.c131 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices() argument
133 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices()
135 uindices++; in copy_timer_indices()
136 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices()
138 uindices++; in copy_timer_indices()
139 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices()
189 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_reg_indices() argument
196 if (put_user(core_reg | i, uindices)) in kvm_arm_copy_reg_indices()
198 uindices++; in kvm_arm_copy_reg_indices()
201 ret = kvm_arm_copy_fw_reg_indices(vcpu, uindices); in kvm_arm_copy_reg_indices()
[all …]
Dcoproc.c978 static int copy_vfp_regids(u64 __user *uindices) in copy_vfp_regids() argument
986 uindices)) in copy_vfp_regids()
988 uindices++; in copy_vfp_regids()
992 if (put_user(u32reg | vfp_sysregs[i], uindices)) in copy_vfp_regids()
994 uindices++; in copy_vfp_regids()
1103 static int copy_vfp_regids(u64 __user *uindices) in copy_vfp_regids() argument
1189 static int write_demux_regids(u64 __user *uindices) in write_demux_regids() argument
1198 if (put_user(val | i, uindices)) in write_demux_regids()
1200 uindices++; in write_demux_regids()
1292 int kvm_arm_copy_coproc_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_coproc_indices() argument
[all …]
/arch/arm64/kvm/
Dguest.c218 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices() argument
220 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices()
222 uindices++; in copy_timer_indices()
223 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices()
225 uindices++; in copy_timer_indices()
226 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices()
270 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_reg_indices() argument
277 if (put_user(core_reg | i, uindices)) in kvm_arm_copy_reg_indices()
279 uindices++; in kvm_arm_copy_reg_indices()
282 ret = kvm_arm_copy_fw_reg_indices(vcpu, uindices); in kvm_arm_copy_reg_indices()
[all …]
Dsys_regs.c2046 static int write_demux_regids(u64 __user *uindices) in write_demux_regids() argument
2055 if (put_user(val | i, uindices)) in write_demux_regids()
2057 uindices++; in write_demux_regids()
2135 int kvm_arm_copy_sys_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_sys_reg_indices() argument
2142 if (put_user(sys_reg_to_index(&invariant_sys_regs[i]), uindices)) in kvm_arm_copy_sys_reg_indices()
2144 uindices++; in kvm_arm_copy_sys_reg_indices()
2147 err = walk_sys_regs(vcpu, uindices); in kvm_arm_copy_sys_reg_indices()
2150 uindices += err; in kvm_arm_copy_sys_reg_indices()
2152 return write_demux_regids(uindices); in kvm_arm_copy_sys_reg_indices()
/arch/arm/include/asm/
Dkvm_coproc.h40 int kvm_arm_copy_msrindices(struct kvm_vcpu *vcpu, u64 __user *uindices);
44 int kvm_arm_copy_coproc_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
Dkvm_host.h237 int kvm_arm_copy_coproc_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
/arch/arm64/include/asm/
Dkvm_coproc.h52 int kvm_arm_copy_sys_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);