Home
last modified time | relevance | path

Searched refs:vrsave (Results 1 – 11 of 11) sorted by relevance

/arch/powerpc/kernel/
Dsignal_64.c108 unsigned long vrsave; in setup_sigcontext() local
133 vrsave = 0; in setup_sigcontext()
135 vrsave = mfspr(SPRN_VRSAVE); in setup_sigcontext()
136 tsk->thread.vrsave = vrsave; in setup_sigcontext()
139 err |= __put_user(vrsave, (u32 __user *)&v_regs[33]); in setup_sigcontext()
257 err |= __put_user(tsk->thread.vrsave, in setup_tm_sigcontexts()
386 err |= __get_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33]); in restore_sigcontext()
388 tsk->thread.vrsave = 0; in restore_sigcontext()
390 mtspr(SPRN_VRSAVE, tsk->thread.vrsave); in restore_sigcontext()
511 err |= __get_user(tsk->thread.vrsave, in restore_tm_sigcontexts()
[all …]
Dptrace.c554 } vrsave; in vr_get() local
555 memset(&vrsave, 0, sizeof(vrsave)); in vr_get()
557 vrsave.word = target->thread.vrsave; in vr_get()
560 end = start + sizeof(vrsave); in vr_get()
561 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_get()
604 } vrsave; in vr_set() local
605 memset(&vrsave, 0, sizeof(vrsave)); in vr_set()
607 vrsave.word = target->thread.vrsave; in vr_set()
610 end = start + sizeof(vrsave); in vr_set()
611 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_set()
[all …]
Dsignal_32.c442 current->thread.vrsave = mfspr(SPRN_VRSAVE); in save_user_regs()
443 if (__put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32])) in save_user_regs()
578 if (__put_user(current->thread.vrsave, in save_tm_user_regs()
703 if (__get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32])) in restore_user_regs()
706 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_user_regs()
812 __get_user(current->thread.vrsave, in restore_tm_user_regs()
Dprocess.c1066 t->vrsave = mfspr(SPRN_VRSAVE); in save_sprs()
1095 old_thread->vrsave != new_thread->vrsave) in restore_sprs()
1096 mtspr(SPRN_VRSAVE, new_thread->vrsave); in restore_sprs()
1692 current->thread.vrsave = 0; in start_thread()
Dasm-offsets.c110 OFFSET(THREAD_VRSAVE, thread_struct, vrsave); in main()
422 OFFSET(VCPU_VRSAVE, kvm_vcpu, arch.vrsave); in main()
/arch/powerpc/include/asm/
Dprocessor.h273 unsigned long vrsave; member
Dkvm_host.h572 u32 vrsave; /* also USPRG0 */ member
/arch/powerpc/kvm/
Dbooke.c1503 sregs->u.e.vrsave = vcpu->arch.vrsave; in get_sregs_base()
1517 vcpu->arch.vrsave = sregs->u.e.vrsave; in set_sregs_base()
1683 *val = get_reg_val(id, vcpu->arch.vrsave); in kvmppc_get_one_reg()
1752 vcpu->arch.vrsave = set_reg_val(id, *val); in kvmppc_set_one_reg()
Dpowerpc.c797 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvm_arch_vcpu_load()
806 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvm_arch_vcpu_put()
1351 val = get_reg_val(reg->id, vcpu->arch.vrsave); in kvm_vcpu_ioctl_get_one_reg()
1406 vcpu->arch.vrsave = set_reg_val(reg->id, val); in kvm_vcpu_ioctl_set_one_reg()
Dbook3s_pr.c1522 unsigned long uninitialized_var(vrsave); in kvmppc_vcpu_run_pr()
/arch/powerpc/include/uapi/asm/
Dkvm.h255 __u32 vrsave; /* a.k.a. USPRG0 */ member