Home
last modified time | relevance | path

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

/arch/arm/kvm/
Dguest.c125 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices() argument
127 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices()
129 uindices++; in copy_timer_indices()
130 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices()
132 uindices++; in copy_timer_indices()
133 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices()
182 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_reg_indices() argument
189 if (put_user(core_reg | i, uindices)) in kvm_arm_copy_reg_indices()
191 uindices++; in kvm_arm_copy_reg_indices()
194 ret = copy_timer_indices(vcpu, uindices); in kvm_arm_copy_reg_indices()
[all …]
Dcoproc.c869 static int copy_vfp_regids(u64 __user *uindices) in copy_vfp_regids() argument
877 uindices)) in copy_vfp_regids()
879 uindices++; in copy_vfp_regids()
883 if (put_user(u32reg | vfp_sysregs[i], uindices)) in copy_vfp_regids()
885 uindices++; in copy_vfp_regids()
994 static int copy_vfp_regids(u64 __user *uindices) in copy_vfp_regids() argument
1080 static int write_demux_regids(u64 __user *uindices) in write_demux_regids() argument
1089 if (put_user(val | i, uindices)) in write_demux_regids()
1091 uindices++; in write_demux_regids()
1183 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.c209 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices() argument
211 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices()
213 uindices++; in copy_timer_indices()
214 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices()
216 uindices++; in copy_timer_indices()
217 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices()
261 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_reg_indices() argument
268 if (put_user(core_reg | i, uindices)) in kvm_arm_copy_reg_indices()
270 uindices++; in kvm_arm_copy_reg_indices()
273 ret = copy_timer_indices(vcpu, uindices); in kvm_arm_copy_reg_indices()
[all …]
Dsys_regs.c1575 static int write_demux_regids(u64 __user *uindices) in write_demux_regids() argument
1584 if (put_user(val | i, uindices)) in write_demux_regids()
1586 uindices++; in write_demux_regids()
1664 int kvm_arm_copy_sys_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_sys_reg_indices() argument
1671 if (put_user(sys_reg_to_index(&invariant_sys_regs[i]), uindices)) in kvm_arm_copy_sys_reg_indices()
1673 uindices++; in kvm_arm_copy_sys_reg_indices()
1676 err = walk_sys_regs(vcpu, uindices); in kvm_arm_copy_sys_reg_indices()
1679 uindices += err; in kvm_arm_copy_sys_reg_indices()
1681 return write_demux_regids(uindices); in kvm_arm_copy_sys_reg_indices()
/arch/arm/include/asm/
Dkvm_coproc.h39 int kvm_arm_copy_msrindices(struct kvm_vcpu *vcpu, u64 __user *uindices);
43 int kvm_arm_copy_coproc_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
Dkvm_host.h183 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);