/linux-master/arch/arm64/kvm/ |
H A D | fpsimd.c | 89 vcpu->arch.fp_state = FP_STATE_HOST_OWNED; 113 vcpu->arch.fp_state = FP_STATE_FREE; 129 vcpu->arch.fp_state = FP_STATE_FREE; 141 struct cpu_fp_state fp_state; local 145 if (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED) { 151 fp_state.st = &vcpu->arch.ctxt.fp_regs; 152 fp_state.sve_state = vcpu->arch.sve_state; 153 fp_state.sve_vl = vcpu->arch.sve_max_vl; 154 fp_state.sme_state = NULL; 155 fp_state [all...] |
/linux-master/arch/arm/include/asm/ |
H A D | fpstate.h | 67 union fp_state { union 75 #define FP_SIZE (sizeof(union fp_state) / sizeof(int))
|
H A D | thread_info.h | 71 union fp_state fpstate __attribute__((aligned(8)));
|
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-fpu.c | 23 *data = ((u32 *)child->thread.fp_state.fpr)[fpidx]; 27 *data = child->thread.fp_state.fpscr; 49 ((u32 *)child->thread.fp_state.fpr)[fpidx] = data; 53 child->thread.fp_state.fpscr = data;
|
H A D | ptrace-vsx.c | 10 * Regardless of transactions, 'fp_state' holds the current running 32 buf[32] = target->thread.fp_state.fpscr; 37 * Regardless of transactions, 'fp_state' holds the current running 60 buf[32] = target->thread.fp_state.fpscr; 69 target->thread.fp_state.fpscr = buf[32]; 86 * Regardless of transactions, 'fp_state' holds the current running 109 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; 115 * Regardless of transactions, 'fp_state' holds the current running 139 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; 145 target->thread.fp_state [all...] |
H A D | ptrace-novsx.c | 10 * Regardless of transactions, 'fp_state' holds the current running 30 return membuf_write(&to, &target->thread.fp_state, 33 * sizeof(u64)); 37 * Regardless of transactions, 'fp_state' holds the current running 60 &target->thread.fp_state, 0, -1);
|
H A D | ptrace32.c | 97 tmp = ((unsigned int *)child->thread.fp_state.fpr) 138 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; 197 ((unsigned int *)child->thread.fp_state.fpr) 240 tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0];
|
/linux-master/arch/powerpc/kernel/ |
H A D | signal.h | 55 unsafe_put_user(__t->thread.fp_state.fpscr, &buf[i], label); \ 64 unsafe_put_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \ 75 unsafe_get_user(__t->thread.fp_state.fpscr, &buf[i], label); \ 84 unsafe_get_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \ 132 unsafe_copy_to_user(to, (task)->thread.fp_state.fpr, \ 136 unsafe_copy_from_user((task)->thread.fp_state.fpr, from, \ 142 return __copy_to_user(to, task->thread.fp_state.fpr, 149 return __copy_from_user(task->thread.fp_state.fpr, from,
|
H A D | signal.c | 35 buf[i] = task->thread.fp_state.fpscr; 49 task->thread.fp_state.fpscr = buf[i]; 62 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; 75 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i];
|
H A D | signal_32.c | 530 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; 631 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; 702 load_fp_state(¤t->thread.fp_state); 803 tsk->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */ 894 tsk->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */
|
H A D | signal_64.c | 423 tsk->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; 560 tsk->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; 601 load_fp_state(&tsk->thread.fp_state); 921 tsk->thread.fp_state.fpscr = 0;
|
H A D | process.c | 465 load_fp_state(¤t->thread.fp_state); 970 memcpy(&thr->ckfp_state, &thr->fp_state, 1975 memset(¤t->thread.fp_state, 0, sizeof(current->thread.fp_state));
|
/linux-master/arch/arm/nwfpe/ |
H A D | fpa11.h | 83 extern void nwfpe_init_fpa(union fp_state *fp);
|
H A D | fpa11.c | 73 void nwfpe_init_fpa(union fp_state *fp)
|
H A D | fpmodule.c | 76 if (sizeof(FPA11) > sizeof(union fp_state)) {
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | hyp-main.c | 42 hyp_vcpu->vcpu.arch.fp_state = host_vcpu->arch.fp_state; 67 host_vcpu->arch.fp_state = hyp_vcpu->vcpu.arch.fp_state;
|
H A D | switch.c | 340 if (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | processor.h | 79 #define TS_FPR(i) fp_state.fpr[i][TS_FPROFFSET] 168 struct thread_fp_state fp_state; member in struct:thread_struct
|
H A D | sfp-machine.h | 128 #define __FPU_FPSCR (current->thread.fp_state.fpscr)
|
/linux-master/arch/arm64/kvm/hyp/include/hyp/ |
H A D | switch.h | 45 return vcpu->arch.fp_state == FP_STATE_GUEST_OWNED; 379 if (vcpu->arch.fp_state == FP_STATE_HOST_OWNED) 392 vcpu->arch.fp_state = FP_STATE_GUEST_OWNED;
|
/linux-master/arch/arm64/include/asm/ |
H A D | kvm_emulate.h | 591 (vcpu->arch.fp_state != FP_STATE_GUEST_OWNED)) 599 (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED))
|
H A D | fpsimd.h | 97 extern void fpsimd_bind_state_to_cpu(struct cpu_fp_state *fp_state);
|
/linux-master/arch/arm64/kvm/hyp/vhe/ |
H A D | switch.c | 261 if (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED)
|
/linux-master/arch/arm/kernel/ |
H A D | ptrace.c | 757 0, sizeof(union fp_state), 764 0, sizeof(union fp_state),
|
H A D | process.c | 226 memset(&thread->fpstate, 0, sizeof(union fp_state));
|