Home
last modified time | relevance | path

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

/arch/arm/kvm/
Dguest.c119 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices() argument
121 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices()
123 uindices++; in copy_timer_indices()
124 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices()
126 uindices++; in copy_timer_indices()
127 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices()
177 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_reg_indices() argument
184 if (put_user(core_reg | i, uindices)) in kvm_arm_copy_reg_indices()
186 uindices++; in kvm_arm_copy_reg_indices()
189 ret = kvm_arm_copy_fw_reg_indices(vcpu, uindices); in kvm_arm_copy_reg_indices()
[all …]
Dcoproc.c1064 static int copy_vfp_regids(u64 __user *uindices) in copy_vfp_regids() argument
1072 uindices)) in copy_vfp_regids()
1074 uindices++; in copy_vfp_regids()
1078 if (put_user(u32reg | vfp_sysregs[i], uindices)) in copy_vfp_regids()
1080 uindices++; in copy_vfp_regids()
1189 static int copy_vfp_regids(u64 __user *uindices) in copy_vfp_regids() argument
1275 static int write_demux_regids(u64 __user *uindices) in write_demux_regids() argument
1284 if (put_user(val | i, uindices)) in write_demux_regids()
1286 uindices++; in write_demux_regids()
1378 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.c454 u64 __user *uindices) in copy_core_reg_indices() argument
484 if (uindices) { in copy_core_reg_indices()
485 if (put_user(reg, uindices)) in copy_core_reg_indices()
487 uindices++; in copy_core_reg_indices()
518 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices() argument
520 if (put_user(KVM_REG_ARM_TIMER_CTL, uindices)) in copy_timer_indices()
522 uindices++; in copy_timer_indices()
523 if (put_user(KVM_REG_ARM_TIMER_CNT, uindices)) in copy_timer_indices()
525 uindices++; in copy_timer_indices()
526 if (put_user(KVM_REG_ARM_TIMER_CVAL, uindices)) in copy_timer_indices()
[all …]
Dsys_regs.c2699 static int write_demux_regids(u64 __user *uindices) in write_demux_regids() argument
2708 if (put_user(val | i, uindices)) in write_demux_regids()
2710 uindices++; in write_demux_regids()
2803 int kvm_arm_copy_sys_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_sys_reg_indices() argument
2810 if (put_user(sys_reg_to_index(&invariant_sys_regs[i]), uindices)) in kvm_arm_copy_sys_reg_indices()
2812 uindices++; in kvm_arm_copy_sys_reg_indices()
2815 err = walk_sys_regs(vcpu, uindices); in kvm_arm_copy_sys_reg_indices()
2818 uindices += err; in kvm_arm_copy_sys_reg_indices()
2820 return write_demux_regids(uindices); in kvm_arm_copy_sys_reg_indices()
/arch/arm/include/asm/
Dkvm_coproc.h28 int kvm_arm_copy_msrindices(struct kvm_vcpu *vcpu, u64 __user *uindices);
32 int kvm_arm_copy_coproc_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
Dkvm_host.h283 int kvm_arm_copy_coproc_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
/arch/arm64/include/asm/
Dkvm_coproc.h41 int kvm_arm_copy_sys_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);