Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dptrace.c421 } vrsave; in vr_get() local
422 memset(&vrsave, 0, sizeof(vrsave)); in vr_get()
423 vrsave.word = target->thread.vrsave; in vr_get()
424 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_get()
451 } vrsave; in vr_set() local
452 memset(&vrsave, 0, sizeof(vrsave)); in vr_set()
453 vrsave.word = target->thread.vrsave; in vr_set()
454 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_set()
457 target->thread.vrsave = vrsave.word; in vr_set()
Dsignal_64.c113 err |= __put_user(current->thread.vrsave, (u32 __user *)&v_regs[33]); in setup_sigcontext()
222 err |= __get_user(current->thread.vrsave, (u32 __user *)&v_regs[33]); in restore_sigcontext()
224 current->thread.vrsave = 0; in restore_sigcontext()
Dsignal_32.c445 if (__put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32])) in save_user_regs()
552 if (__get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32])) in restore_user_regs()
Dasm-offsets.c95 DEFINE(THREAD_VRSAVE, offsetof(struct thread_struct, vrsave)); in main()
392 DEFINE(VCPU_VRSAVE, offsetof(struct kvm_vcpu, arch.vrsave)); in main()
Dprocess.c897 current->thread.vrsave = 0; in start_thread()
/arch/powerpc/include/asm/
Dkvm.h233 __u32 vrsave; /* a.k.a. USPRG0 */ member
Dprocessor.h230 unsigned long vrsave; member
Dkvm_host.h371 u32 vrsave; /* also USPRG0 */ member
/arch/powerpc/kvm/
Dbook3s_pr.c499 t->vrsave = -1; in kvmppc_handle_ext()
990 unsigned long uninitialized_var(vrsave); in kvmppc_vcpu_run()
1040 vrsave = current->thread.vrsave; in kvmppc_vcpu_run()
1081 current->thread.vrsave = vrsave; in kvmppc_vcpu_run()
Dbooke.c754 sregs->u.e.vrsave = vcpu->arch.vrsave; in get_sregs_base()
768 vcpu->arch.vrsave = sregs->u.e.vrsave; in set_sregs_base()
Dpowerpc.c390 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvm_arch_vcpu_load()
400 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvm_arch_vcpu_put()