Searched refs:fp_state (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/arch/arm64/kvm/
H A Dfpsimd.c89 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 Dfpstate.h67 union fp_state { union
75 #define FP_SIZE (sizeof(union fp_state) / sizeof(int))
H A Dthread_info.h71 union fp_state fpstate __attribute__((aligned(8)));
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-fpu.c23 *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 Dptrace-vsx.c10 * 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 Dptrace-novsx.c10 * 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 Dptrace32.c97 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 Dsignal.h55 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 Dsignal.c35 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 Dsignal_32.c530 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0;
631 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0;
702 load_fp_state(&current->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 Dsignal_64.c423 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 Dprocess.c465 load_fp_state(&current->thread.fp_state);
970 memcpy(&thr->ckfp_state, &thr->fp_state,
1975 memset(&current->thread.fp_state, 0, sizeof(current->thread.fp_state));
/linux-master/arch/arm/nwfpe/
H A Dfpa11.h83 extern void nwfpe_init_fpa(union fp_state *fp);
H A Dfpa11.c73 void nwfpe_init_fpa(union fp_state *fp)
H A Dfpmodule.c76 if (sizeof(FPA11) > sizeof(union fp_state)) {
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-main.c42 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 Dswitch.c340 if (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED)
/linux-master/arch/powerpc/include/asm/
H A Dprocessor.h79 #define TS_FPR(i) fp_state.fpr[i][TS_FPROFFSET]
168 struct thread_fp_state fp_state; member in struct:thread_struct
H A Dsfp-machine.h128 #define __FPU_FPSCR (current->thread.fp_state.fpscr)
/linux-master/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h45 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 Dkvm_emulate.h591 (vcpu->arch.fp_state != FP_STATE_GUEST_OWNED))
599 (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED))
H A Dfpsimd.h97 extern void fpsimd_bind_state_to_cpu(struct cpu_fp_state *fp_state);
/linux-master/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c261 if (vcpu->arch.fp_state == FP_STATE_GUEST_OWNED)
/linux-master/arch/arm/kernel/
H A Dptrace.c757 0, sizeof(union fp_state),
764 0, sizeof(union fp_state),
H A Dprocess.c226 memset(&thread->fpstate, 0, sizeof(union fp_state));

Completed in 331 milliseconds

12