/arch/powerpc/kernel/ptrace/ |
D | ptrace-altivec.c | 49 } vrsave; in vr_get() local 60 memset(&vrsave, 0, sizeof(vrsave)); in vr_get() 61 vrsave.word = target->thread.vrsave; in vr_get() 62 return membuf_write(&to, &vrsave, sizeof(vrsave)); in vr_get() 101 } vrsave; in vr_set() local 102 memset(&vrsave, 0, sizeof(vrsave)); in vr_set() 104 vrsave.word = target->thread.vrsave; in vr_set() 107 end = start + sizeof(vrsave); in vr_set() 108 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_set() 111 target->thread.vrsave = vrsave.word; in vr_set()
|
D | ptrace-tm.c | 348 } vrsave; in tm_cvmx_get() local 366 memset(&vrsave, 0, sizeof(vrsave)); in tm_cvmx_get() 367 vrsave.word = target->thread.ckvrsave; in tm_cvmx_get() 368 return membuf_write(&to, &vrsave, sizeof(vrsave)); in tm_cvmx_get() 420 } vrsave; in tm_cvmx_set() local 421 memset(&vrsave, 0, sizeof(vrsave)); in tm_cvmx_set() 422 vrsave.word = target->thread.ckvrsave; in tm_cvmx_set() 423 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in tm_cvmx_set() 426 target->thread.ckvrsave = vrsave.word; in tm_cvmx_set()
|
/arch/powerpc/kernel/ |
D | signal_64.c | 89 tsk->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_setup_sigcontext() 147 unsafe_put_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33], efault_out); in __unsafe_setup_sigcontext() 267 err |= __put_user(tsk->thread.vrsave, in setup_tm_sigcontexts() 395 unsafe_get_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33], efault_out); in __unsafe_restore_sigcontext() 397 tsk->thread.vrsave = 0; in __unsafe_restore_sigcontext() 399 mtspr(SPRN_VRSAVE, tsk->thread.vrsave); in __unsafe_restore_sigcontext() 525 err |= __get_user(tsk->thread.vrsave, in restore_tm_sigcontexts() 529 tsk->thread.vrsave = 0; in restore_tm_sigcontexts() 533 mtspr(SPRN_VRSAVE, tsk->thread.vrsave); in restore_tm_sigcontexts()
|
D | signal_32.c | 249 current->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_save_user_regs() 287 unsafe_put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32], in __unsafe_save_user_regs() 405 unsafe_put_user(current->thread.vrsave, in save_tm_user_regs_unsafe() 503 unsafe_get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32], failed); in restore_user_regs() 505 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_user_regs() 638 unsafe_get_user(current->thread.vrsave, in restore_tm_user_regs()
|
D | process.c | 1131 t->vrsave = mfspr(SPRN_VRSAVE); in save_sprs() 1164 old_thread->vrsave != new_thread->vrsave) in restore_sprs() 1165 mtspr(SPRN_VRSAVE, new_thread->vrsave); in restore_sprs() 1894 current->thread.vrsave = 0; in start_thread()
|
D | asm-offsets.c | 359 OFFSET(VCPU_VRSAVE, kvm_vcpu, arch.vrsave); in main()
|
/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 611 vcpu->arch.vrsave = vcpu->arch.vrsave_tm; in copy_from_checkpoint() 628 vcpu->arch.vrsave_tm = vcpu->arch.vrsave; in copy_to_checkpoint()
|
D | processor.h | 186 unsigned long vrsave; member
|
D | kvm_host.h | 597 u32 vrsave; /* also USPRG0 */ member
|
/arch/powerpc/kvm/ |
D | booke.c | 1517 sregs->u.e.vrsave = vcpu->arch.vrsave; in get_sregs_base() 1531 vcpu->arch.vrsave = sregs->u.e.vrsave; in set_sregs_base() 1709 *val = get_reg_val(id, vcpu->arch.vrsave); in kvmppc_get_one_reg() 1778 vcpu->arch.vrsave = set_reg_val(id, *val); in kvmppc_set_one_reg()
|
D | book3s_emulate.c | 100 vcpu->arch.vrsave_tm = vcpu->arch.vrsave; in kvmppc_copyto_vcpu_tm() 119 vcpu->arch.vrsave = vcpu->arch.vrsave_tm; in kvmppc_copyfrom_vcpu_tm()
|
D | powerpc.c | 812 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvm_arch_vcpu_load() 821 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvm_arch_vcpu_put() 1705 val = get_reg_val(reg->id, vcpu->arch.vrsave); in kvm_vcpu_ioctl_get_one_reg() 1760 vcpu->arch.vrsave = set_reg_val(reg->id, val); in kvm_vcpu_ioctl_set_one_reg()
|
D | book3s_hv.c | 3923 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvmhv_p9_guest_entry() 4032 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvmhv_p9_guest_entry()
|
/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 255 __u32 vrsave; /* a.k.a. USPRG0 */ member
|