fpu                43 arch/arc/include/asm/processor.h 	struct arc_fpu fpu;
fpu                32 arch/arc/kernel/fpu.c 	unsigned int *saveto = &prev->thread.fpu.aux_dpfp[0].l;
fpu                33 arch/arc/kernel/fpu.c 	unsigned int *readfrom = &next->thread.fpu.aux_dpfp[0].l;
fpu               295 arch/arc/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
fpu               307 arch/arm/kvm/guest.c int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu               312 arch/arm/kvm/guest.c int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu               796 arch/arm64/kvm/guest.c int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu               801 arch/arm64/kvm/guest.c int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu                75 arch/c6x/kernel/setup.c 	const char *fpu;
fpu               118 arch/c6x/kernel/setup.c 	p->fpu = "none";
fpu               124 arch/c6x/kernel/setup.c 		p->fpu = "yes";
fpu               435 arch/c6x/kernel/setup.c 		   p->core_id, p->mmu, p->fpu,
fpu                78 arch/csky/kernel/process.c int dump_fpu(struct pt_regs *regs, struct user_fp *fpu)
fpu                80 arch/csky/kernel/process.c 	memcpy(fpu, &current->thread.user_fp, sizeof(*fpu));
fpu               159 arch/hexagon/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
fpu               196 arch/m68k/kernel/process.c int dump_fpu (struct pt_regs *regs, struct user_m68kfp_struct *fpu)
fpu               201 arch/m68k/kernel/process.c 		memcpy(fpu->fpcntl, current->thread.fpcntl, 12);
fpu               202 arch/m68k/kernel/process.c 		memcpy(fpu->fpregs, current->thread.fp, 96);
fpu               207 arch/m68k/kernel/process.c 			fpu->fpregs[i] = ((fpu->fpregs[i] & 0xffff0000) << 15) |
fpu               208 arch/m68k/kernel/process.c 			                 ((fpu->fpregs[i] & 0x0000ffff) << 16);
fpu               226 arch/m68k/kernel/process.c 				      : "m" (fpu->fpcntl[0]),
fpu               227 arch/m68k/kernel/process.c 					"m" (fpu->fpcntl[1]),
fpu               228 arch/m68k/kernel/process.c 					"m" (fpu->fpcntl[2]),
fpu               229 arch/m68k/kernel/process.c 					"m" (fpu->fpregs[0])
fpu               234 arch/m68k/kernel/process.c 				      : "m" (fpu->fpcntl[0])
fpu               238 arch/m68k/kernel/process.c 				      : "m" (fpu->fpregs[0])
fpu               400 arch/m68k/kernel/setup_mm.c 	const char *cpu, *mmu, *fpu;
fpu               430 arch/m68k/kernel/setup_mm.c 	fpu = "none(soft float)";
fpu               433 arch/m68k/kernel/setup_mm.c 		fpu = "68881";
fpu               435 arch/m68k/kernel/setup_mm.c 		fpu = "68882";
fpu               437 arch/m68k/kernel/setup_mm.c 		fpu = "68040";
fpu               439 arch/m68k/kernel/setup_mm.c 		fpu = "68060";
fpu               441 arch/m68k/kernel/setup_mm.c 		fpu = "Sun FPA";
fpu               443 arch/m68k/kernel/setup_mm.c 		fpu = "ColdFire";
fpu               445 arch/m68k/kernel/setup_mm.c 		fpu = "none";
fpu               473 arch/m68k/kernel/setup_mm.c 		   cpu, mmu, fpu,
fpu               177 arch/m68k/kernel/setup_no.c 	char *cpu, *mmu, *fpu;
fpu               182 arch/m68k/kernel/setup_no.c 	fpu = "none";
fpu               191 arch/m68k/kernel/setup_no.c 		      cpu, mmu, fpu,
fpu               169 arch/mips/include/asm/fpu.h 			tsk->thread.fpu.fcr31 =
fpu               213 arch/mips/include/asm/fpu.h 	memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr));
fpu               248 arch/mips/include/asm/fpu.h 	return tsk->thread.fpu.fpr;
fpu               340 arch/mips/include/asm/kvm_host.h 	struct mips_fpu_struct fpu;
fpu               255 arch/mips/include/asm/processor.h 	struct mips_fpu_struct fpu FPU_ALIGN;
fpu               301 arch/mips/include/asm/processor.h 	.fpu			= {				\
fpu                90 arch/mips/include/asm/switch_to.h 	unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31);	\
fpu                95 arch/mips/include/asm/switch_to.h 		next->thread.fpu.fcr31 &= ~fcr31;			\
fpu               140 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPU, task_struct, thread.fpu);
fpu               142 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR0, task_struct, thread.fpu.fpr[0]);
fpu               143 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR1, task_struct, thread.fpu.fpr[1]);
fpu               144 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR2, task_struct, thread.fpu.fpr[2]);
fpu               145 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR3, task_struct, thread.fpu.fpr[3]);
fpu               146 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR4, task_struct, thread.fpu.fpr[4]);
fpu               147 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR5, task_struct, thread.fpu.fpr[5]);
fpu               148 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR6, task_struct, thread.fpu.fpr[6]);
fpu               149 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR7, task_struct, thread.fpu.fpr[7]);
fpu               150 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR8, task_struct, thread.fpu.fpr[8]);
fpu               151 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR9, task_struct, thread.fpu.fpr[9]);
fpu               152 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR10, task_struct, thread.fpu.fpr[10]);
fpu               153 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR11, task_struct, thread.fpu.fpr[11]);
fpu               154 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR12, task_struct, thread.fpu.fpr[12]);
fpu               155 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR13, task_struct, thread.fpu.fpr[13]);
fpu               156 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR14, task_struct, thread.fpu.fpr[14]);
fpu               157 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR15, task_struct, thread.fpu.fpr[15]);
fpu               158 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR16, task_struct, thread.fpu.fpr[16]);
fpu               159 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR17, task_struct, thread.fpu.fpr[17]);
fpu               160 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR18, task_struct, thread.fpu.fpr[18]);
fpu               161 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR19, task_struct, thread.fpu.fpr[19]);
fpu               162 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR20, task_struct, thread.fpu.fpr[20]);
fpu               163 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR21, task_struct, thread.fpu.fpr[21]);
fpu               164 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR22, task_struct, thread.fpu.fpr[22]);
fpu               165 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR23, task_struct, thread.fpu.fpr[23]);
fpu               166 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR24, task_struct, thread.fpu.fpr[24]);
fpu               167 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR25, task_struct, thread.fpu.fpr[25]);
fpu               168 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR26, task_struct, thread.fpu.fpr[26]);
fpu               169 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR27, task_struct, thread.fpu.fpr[27]);
fpu               170 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR28, task_struct, thread.fpu.fpr[28]);
fpu               171 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR29, task_struct, thread.fpu.fpr[29]);
fpu               172 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR30, task_struct, thread.fpu.fpr[30]);
fpu               173 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FPR31, task_struct, thread.fpu.fpr[31]);
fpu               175 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_FCR31, task_struct, thread.fpu.fcr31);
fpu               176 arch/mips/kernel/asm-offsets.c 	OFFSET(THREAD_MSA_CSR, task_struct, thread.fpu.msacsr);
fpu               352 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR0, kvm_vcpu_arch, fpu.fpr[0]);
fpu               353 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR1, kvm_vcpu_arch, fpu.fpr[1]);
fpu               354 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR2, kvm_vcpu_arch, fpu.fpr[2]);
fpu               355 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR3, kvm_vcpu_arch, fpu.fpr[3]);
fpu               356 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR4, kvm_vcpu_arch, fpu.fpr[4]);
fpu               357 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR5, kvm_vcpu_arch, fpu.fpr[5]);
fpu               358 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR6, kvm_vcpu_arch, fpu.fpr[6]);
fpu               359 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR7, kvm_vcpu_arch, fpu.fpr[7]);
fpu               360 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR8, kvm_vcpu_arch, fpu.fpr[8]);
fpu               361 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR9, kvm_vcpu_arch, fpu.fpr[9]);
fpu               362 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR10, kvm_vcpu_arch, fpu.fpr[10]);
fpu               363 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR11, kvm_vcpu_arch, fpu.fpr[11]);
fpu               364 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR12, kvm_vcpu_arch, fpu.fpr[12]);
fpu               365 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR13, kvm_vcpu_arch, fpu.fpr[13]);
fpu               366 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR14, kvm_vcpu_arch, fpu.fpr[14]);
fpu               367 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR15, kvm_vcpu_arch, fpu.fpr[15]);
fpu               368 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR16, kvm_vcpu_arch, fpu.fpr[16]);
fpu               369 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR17, kvm_vcpu_arch, fpu.fpr[17]);
fpu               370 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR18, kvm_vcpu_arch, fpu.fpr[18]);
fpu               371 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR19, kvm_vcpu_arch, fpu.fpr[19]);
fpu               372 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR20, kvm_vcpu_arch, fpu.fpr[20]);
fpu               373 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR21, kvm_vcpu_arch, fpu.fpr[21]);
fpu               374 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR22, kvm_vcpu_arch, fpu.fpr[22]);
fpu               375 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR23, kvm_vcpu_arch, fpu.fpr[23]);
fpu               376 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR24, kvm_vcpu_arch, fpu.fpr[24]);
fpu               377 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR25, kvm_vcpu_arch, fpu.fpr[25]);
fpu               378 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR26, kvm_vcpu_arch, fpu.fpr[26]);
fpu               379 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR27, kvm_vcpu_arch, fpu.fpr[27]);
fpu               380 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR28, kvm_vcpu_arch, fpu.fpr[28]);
fpu               381 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR29, kvm_vcpu_arch, fpu.fpr[29]);
fpu               382 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR30, kvm_vcpu_arch, fpu.fpr[30]);
fpu               383 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FPR31, kvm_vcpu_arch, fpu.fpr[31]);
fpu               385 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_FCR31, kvm_vcpu_arch, fpu.fcr31);
fpu               386 arch/mips/kernel/asm-offsets.c 	OFFSET(VCPU_MSA_CSR, kvm_vcpu_arch, fpu.msacsr);
fpu               154 arch/mips/kernel/branch.c 				fcr31 = current->thread.fpu.fcr31;
fpu               694 arch/mips/kernel/branch.c 			bit = get_fpr32(&current->thread.fpu.fpr[reg], 0) & 0x1;
fpu               712 arch/mips/kernel/branch.c 				fcr31 = current->thread.fpu.fcr31;
fpu               312 arch/mips/kernel/elf.c 	t->thread.fpu.fcr31 = c->fpu_csr31;
fpu               318 arch/mips/kernel/elf.c 			t->thread.fpu.fcr31 |= FPU_CSR_NAN2008;
fpu               320 arch/mips/kernel/elf.c 			t->thread.fpu.fcr31 |= FPU_CSR_ABS2008;
fpu               147 arch/mips/kernel/kgdb.c 			memcpy((void *)&current->thread.fpu.fcr31, mem,
fpu               155 arch/mips/kernel/kgdb.c 		memcpy((void *)&current->thread.fpu.fpr[fp_reg], mem,
fpu               182 arch/mips/kernel/kgdb.c 			memcpy(mem, (void *)&current->thread.fpu.fcr31,
fpu               191 arch/mips/kernel/kgdb.c 		memcpy(mem, (void *)&current->thread.fpu.fpr[fp_reg],
fpu               204 arch/mips/kernel/mips-r2-to-r6-emul.c 	csr = current->thread.fpu.fcr31;
fpu               227 arch/mips/kernel/mips-r2-to-r6-emul.c 	csr = current->thread.fpu.fcr31;
fpu              1178 arch/mips/kernel/mips-r2-to-r6-emul.c 		err = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 0,
fpu              1185 arch/mips/kernel/mips-r2-to-r6-emul.c 		*fcr31 = res = mask_fcr31_x(current->thread.fpu.fcr31);
fpu              1186 arch/mips/kernel/mips-r2-to-r6-emul.c 		current->thread.fpu.fcr31 &= ~res;
fpu               353 arch/mips/kernel/ptrace.c 	fcr31 = child->thread.fpu.fcr31;
fpu               355 arch/mips/kernel/ptrace.c 	child->thread.fpu.fcr31 = (value & ~mask) | (fcr31 & mask);
fpu               375 arch/mips/kernel/ptrace.c 	__put_user(child->thread.fpu.fcr31, data + 64);
fpu               417 arch/mips/kernel/ptrace.c 				   &target->thread.fpu,
fpu               437 arch/mips/kernel/ptrace.c 		fpr_val = get_fpr64(&target->thread.fpu.fpr[i], 0);
fpu               462 arch/mips/kernel/ptrace.c 	if (sizeof(target->thread.fpu.fpr[0]) == sizeof(elf_fpreg_t))
fpu               470 arch/mips/kernel/ptrace.c 				  &target->thread.fpu.fcr31,
fpu               492 arch/mips/kernel/ptrace.c 				  &target->thread.fpu,
fpu               517 arch/mips/kernel/ptrace.c 		set_fpr64(&target->thread.fpu.fpr[i], 0, fpr_val);
fpu               552 arch/mips/kernel/ptrace.c 	if (sizeof(target->thread.fpu.fpr[0]) == sizeof(elf_fpreg_t))
fpu               651 arch/mips/kernel/ptrace.c 					   &target->thread.fpu.fpr[i],
fpu               674 arch/mips/kernel/ptrace.c 		.fcsr = target->thread.fpu.fcr31,
fpu               676 arch/mips/kernel/ptrace.c 		.msacsr = target->thread.fpu.msacsr,
fpu               688 arch/mips/kernel/ptrace.c 	} else if (sizeof(target->thread.fpu.fpr[0]) == regset->size) {
fpu               691 arch/mips/kernel/ptrace.c 					  &target->thread.fpu.fpr,
fpu               697 arch/mips/kernel/ptrace.c 				    sizeof(target->thread.fpu.fpr[0]));
fpu               718 arch/mips/kernel/ptrace.c 	if (sizeof(target->thread.fpu.fpr[0]) == regset->size) {
fpu               721 arch/mips/kernel/ptrace.c 					 &target->thread.fpu.fpr,
fpu               726 arch/mips/kernel/ptrace.c 			      sizeof(target->thread.fpu.fpr[0]));
fpu               731 arch/mips/kernel/ptrace.c 						  &target->thread.fpu.fpr[i],
fpu               740 arch/mips/kernel/ptrace.c 		target->thread.fpu.fcr31 = ctrl_regs.fcsr & ~FPU_CSR_ALL_X;
fpu               741 arch/mips/kernel/ptrace.c 		target->thread.fpu.msacsr = ctrl_regs.msacsr & ~MSA_CSR_CAUSEF;
fpu              1218 arch/mips/kernel/ptrace.c 			tmp = child->thread.fpu.fcr31;
fpu               118 arch/mips/kernel/ptrace32.c 			tmp = child->thread.fpu.fcr31;
fpu               216 arch/mips/kernel/ptrace32.c 				memset(&child->thread.fpu, ~0,
fpu               217 arch/mips/kernel/ptrace32.c 				       sizeof(child->thread.fpu));
fpu               218 arch/mips/kernel/ptrace32.c 				child->thread.fpu.fcr31 = 0;
fpu               234 arch/mips/kernel/ptrace32.c 			child->thread.fpu.fcr31 = data;
fpu                82 arch/mips/kernel/signal.c 		    __put_user(get_fpr64(&current->thread.fpu.fpr[i], 0),
fpu                85 arch/mips/kernel/signal.c 	err |= __put_user(current->thread.fpu.fcr31, csr);
fpu               102 arch/mips/kernel/signal.c 		set_fpr64(&current->thread.fpu.fpr[i], 0, fpr_val);
fpu               104 arch/mips/kernel/signal.c 	err |= __get_user(current->thread.fpu.fcr31, csr);
fpu               195 arch/mips/kernel/signal.c 		err = __put_user(current->thread.fpu.msacsr, &msa->csr);
fpu               198 arch/mips/kernel/signal.c 			val = get_fpr64(&current->thread.fpu.fpr[i], 1);
fpu               241 arch/mips/kernel/signal.c 		current->thread.fpu.msacsr = csr;
fpu               245 arch/mips/kernel/signal.c 			set_fpr64(&current->thread.fpu.fpr[i], 1, val);
fpu               803 arch/mips/kernel/traps.c 	sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1,
fpu               810 arch/mips/kernel/traps.c 	fcr31 = mask_fcr31_x(current->thread.fpu.fcr31);
fpu               811 arch/mips/kernel/traps.c 	current->thread.fpu.fcr31 &= ~fcr31;
fpu               855 arch/mips/kernel/traps.c 		sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1,
fpu               862 arch/mips/kernel/traps.c 		fcr31 = mask_fcr31_x(current->thread.fpu.fcr31);
fpu               863 arch/mips/kernel/traps.c 		current->thread.fpu.fcr31 &= ~fcr31;
fpu              1291 arch/mips/kernel/traps.c 	write_msa_csr(current->thread.fpu.msacsr);
fpu              1328 arch/mips/kernel/traps.c 						 current->thread.fpu.fcr31);
fpu              1421 arch/mips/kernel/traps.c 		sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 0,
fpu              1428 arch/mips/kernel/traps.c 		fcr31 = mask_fcr31_x(current->thread.fpu.fcr31);
fpu              1429 arch/mips/kernel/traps.c 		current->thread.fpu.fcr31 &= ~fcr31;
fpu              1222 arch/mips/kernel/unaligned.c 		res = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1,
fpu              1254 arch/mips/kernel/unaligned.c 		fpr = &current->thread.fpu.fpr[wd];
fpu              1742 arch/mips/kernel/unaligned.c 		res = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1,
fpu               688 arch/mips/kvm/entry.c 		uasm_i_sw(&p, T0, offsetof(struct kvm_vcpu_arch, fpu.fcr31),
fpu               704 arch/mips/kvm/entry.c 		uasm_i_sw(&p, T0, offsetof(struct kvm_vcpu_arch, fpu.msacsr),
fpu               648 arch/mips/kvm/mips.c 	struct mips_fpu_struct *fpu = &vcpu->arch.fpu;
fpu               678 arch/mips/kvm/mips.c 			v = get_fpr32(&fpu->fpr[idx], 0);
fpu               680 arch/mips/kvm/mips.c 			v = get_fpr32(&fpu->fpr[idx & ~1], idx & 1);
fpu               689 arch/mips/kvm/mips.c 		v = get_fpr64(&fpu->fpr[idx], 0);
fpu               699 arch/mips/kvm/mips.c 		v = fpu->fcr31;
fpu               712 arch/mips/kvm/mips.c 		vs[0] = get_fpr64(&fpu->fpr[idx], 0);
fpu               713 arch/mips/kvm/mips.c 		vs[1] = get_fpr64(&fpu->fpr[idx], 1);
fpu               716 arch/mips/kvm/mips.c 		vs[0] = get_fpr64(&fpu->fpr[idx], 1);
fpu               717 arch/mips/kvm/mips.c 		vs[1] = get_fpr64(&fpu->fpr[idx], 0);
fpu               728 arch/mips/kvm/mips.c 		v = fpu->msacsr;
fpu               760 arch/mips/kvm/mips.c 	struct mips_fpu_struct *fpu = &vcpu->arch.fpu;
fpu               812 arch/mips/kvm/mips.c 			set_fpr32(&fpu->fpr[idx], 0, v);
fpu               814 arch/mips/kvm/mips.c 			set_fpr32(&fpu->fpr[idx & ~1], idx & 1, v);
fpu               823 arch/mips/kvm/mips.c 		set_fpr64(&fpu->fpr[idx], 0, v);
fpu               833 arch/mips/kvm/mips.c 		fpu->fcr31 = v;
fpu               843 arch/mips/kvm/mips.c 		set_fpr64(&fpu->fpr[idx], 0, vs[0]);
fpu               844 arch/mips/kvm/mips.c 		set_fpr64(&fpu->fpr[idx], 1, vs[1]);
fpu               847 arch/mips/kvm/mips.c 		set_fpr64(&fpu->fpr[idx], 1, vs[0]);
fpu               848 arch/mips/kvm/mips.c 		set_fpr64(&fpu->fpr[idx], 0, vs[1]);
fpu               859 arch/mips/kvm/mips.c 		fpu->msacsr = v;
fpu              1082 arch/mips/kvm/mips.c int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu              1087 arch/mips/kvm/mips.c int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu               706 arch/mips/math-emu/cp1emu.c 			fpr = &current->thread.fpu.fpr[insn.i_format.rt];
fpu               736 arch/mips/math-emu/cp1emu.c 				fcr31 = current->thread.fpu.fcr31;
fpu              1191 arch/mips/math-emu/cp1emu.c 			fpr = &current->thread.fpu.fpr[MIPSInst_RT(ir)];
fpu               154 arch/mips/math-emu/ieee754.h #define ieee754_csr (*(struct _ieee754_csr *)(&current->thread.fpu.fcr31))
fpu                18 arch/nds32/include/asm/fpu.h extern int do_fpuemu(struct pt_regs *regs, struct fpu_struct *fpu);
fpu                96 arch/nds32/include/asm/fpu.h 		load_fpu(&current->thread.fpu);
fpu               101 arch/nds32/include/asm/fpu.h 		load_fpu(&current->thread.fpu);
fpu                39 arch/nds32/include/asm/processor.h 	struct fpu_struct fpu;
fpu                53 arch/nds32/include/asm/sfp-machine.h #define __FPU_FPCSR	(current->thread.fpu.fpcsr)
fpu                80 arch/nds32/include/uapi/asm/sigcontext.h 	struct fpu_struct fpu;
fpu                46 arch/nds32/kernel/fpu.c 			      : "r" (&tsk->thread.fpu)
fpu                59 arch/nds32/kernel/fpu.c 			      : "r" (&tsk->thread.fpu)
fpu                68 arch/nds32/kernel/fpu.c 			      : "r" (&tsk->thread.fpu)
fpu                79 arch/nds32/kernel/fpu.c 			      : "r"(&tsk->thread.fpu)
fpu               176 arch/nds32/kernel/fpu.c 		load_fpu(&current->thread.fpu);
fpu               181 arch/nds32/kernel/fpu.c 		current->thread.fpu.UDF_IEX_trap = init_fpuregs.UDF_IEX_trap;
fpu               215 arch/nds32/kernel/fpu.c 	fpcsr = current->thread.fpu.fpcsr;
fpu               218 arch/nds32/kernel/fpu.c 		si_signo = do_fpuemu(regs, &current->thread.fpu);
fpu               219 arch/nds32/kernel/fpu.c 		fpcsr = current->thread.fpu.fpcsr;
fpu               221 arch/nds32/kernel/fpu.c 			current->thread.fpu.fpcsr &= ~(redo_except);
fpu               189 arch/nds32/kernel/process.c 		p->thread.fpu = current->thread.fpu;
fpu               219 arch/nds32/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t * fpu)
fpu               228 arch/nds32/kernel/process.c 		memcpy(fpu, &tsk->thread.fpu, sizeof(*fpu));
fpu                50 arch/nds32/kernel/signal.c 	return __copy_from_user(&tsk->thread.fpu, &sc->fpu,
fpu                72 arch/nds32/kernel/signal.c 	ret = __copy_to_user(&sc->fpu, &tsk->thread.fpu,
fpu                61 arch/nds32/kernel/sys_nds32.c 		current->thread.fpu.UDF_IEX_trap = init_fpuregs.UDF_IEX_trap;
fpu                65 arch/nds32/kernel/sys_nds32.c 	old_udf_iex = current->thread.fpu.UDF_IEX_trap;
fpu                70 arch/nds32/kernel/sys_nds32.c 		current->thread.fpu.UDF_IEX_trap &= ~act;
fpu                73 arch/nds32/kernel/sys_nds32.c 		current->thread.fpu.UDF_IEX_trap |= act;
fpu               366 arch/nds32/math-emu/fpuemu.c int do_fpuemu(struct pt_regs *regs, struct fpu_struct *fpu)
fpu               395 arch/nds32/math-emu/fpuemu.c 			ret = fpu_emu(fpu, insn);
fpu               225 arch/openrisc/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t * fpu)
fpu               592 arch/powerpc/kvm/book3s.c int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu               597 arch/powerpc/kvm/book3s.c int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu              1778 arch/powerpc/kvm/booke.c int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu              1783 arch/powerpc/kvm/booke.c int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu                41 arch/s390/include/asm/fpu/internal.h static inline void fpregs_store(_s390_fp_regs *fpregs, struct fpu *fpu)
fpu                44 arch/s390/include/asm/fpu/internal.h 	fpregs->fpc = fpu->fpc;
fpu                46 arch/s390/include/asm/fpu/internal.h 		convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs);
fpu                48 arch/s390/include/asm/fpu/internal.h 		memcpy((freg_t *)&fpregs->fprs, fpu->fprs,
fpu                52 arch/s390/include/asm/fpu/internal.h static inline void fpregs_load(_s390_fp_regs *fpregs, struct fpu *fpu)
fpu                54 arch/s390/include/asm/fpu/internal.h 	fpu->fpc = fpregs->fpc;
fpu                56 arch/s390/include/asm/fpu/internal.h 		convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs);
fpu                58 arch/s390/include/asm/fpu/internal.h 		memcpy(fpu->fprs, (freg_t *)&fpregs->fprs,
fpu               648 arch/s390/include/asm/kvm_host.h 	struct fpu	  host_fpregs;
fpu               145 arch/s390/include/asm/processor.h 	struct fpu fpu;			/* FP and VX register save area */
fpu               164 arch/s390/include/asm/processor.h 	.fpu.regs = (void *) init_task.thread.fpu.fprs,			\
fpu                32 arch/s390/kernel/asm-offsets.c 	OFFSET(__THREAD_FPU_fpc, thread_struct, fpu.fpc);
fpu                33 arch/s390/kernel/asm-offsets.c 	OFFSET(__THREAD_FPU_regs, thread_struct, fpu.regs);
fpu                80 arch/s390/kernel/compat_signal.c 	fpregs_store((_s390_fp_regs *) &user_sregs.fpregs, &current->thread.fpu);
fpu               118 arch/s390/kernel/compat_signal.c 	fpregs_load((_s390_fp_regs *) &user_sregs.fpregs, &current->thread.fpu);
fpu               141 arch/s390/kernel/compat_signal.c 			vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1);
fpu               145 arch/s390/kernel/compat_signal.c 				   current->thread.fpu.vxrs + __NUM_VXRS_LOW,
fpu               170 arch/s390/kernel/compat_signal.c 		    __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW,
fpu               175 arch/s390/kernel/compat_signal.c 			*((__u64 *)(current->thread.fpu.vxrs + i) + 1) = vxrs[i];
fpu                23 arch/s390/kernel/perf_regs.c 		fp = MACHINE_HAS_VX ? *(freg_t *)(current->thread.fpu.vxrs + idx)
fpu                24 arch/s390/kernel/perf_regs.c 				    : current->thread.fpu.fprs[idx];
fpu                78 arch/s390/kernel/process.c 	dst->thread.fpu.regs = dst->thread.fpu.fprs;
fpu               158 arch/s390/kernel/process.c 	current->thread.fpu.fpc = 0;
fpu               168 arch/s390/kernel/process.c 	fpregs->fpc = current->thread.fpu.fpc;
fpu               172 arch/s390/kernel/process.c 				 current->thread.fpu.vxrs);
fpu               174 arch/s390/kernel/process.c 		memcpy(&fpregs->fprs, current->thread.fpu.fprs,
fpu               249 arch/s390/kernel/ptrace.c 		tmp = child->thread.fpu.fpc;
fpu               260 arch/s390/kernel/ptrace.c 			       ((addr_t) child->thread.fpu.vxrs + 2*offset);
fpu               263 arch/s390/kernel/ptrace.c 			       ((addr_t) child->thread.fpu.fprs + offset);
fpu               394 arch/s390/kernel/ptrace.c 		child->thread.fpu.fpc = data >> (BITS_PER_LONG - 32);
fpu               404 arch/s390/kernel/ptrace.c 				child->thread.fpu.vxrs + 2*offset) = data;
fpu               407 arch/s390/kernel/ptrace.c 				child->thread.fpu.fprs + offset) = data;
fpu               626 arch/s390/kernel/ptrace.c 		tmp = child->thread.fpu.fpc;
fpu               636 arch/s390/kernel/ptrace.c 			       ((addr_t) child->thread.fpu.vxrs + 2*offset);
fpu               639 arch/s390/kernel/ptrace.c 			       ((addr_t) child->thread.fpu.fprs + offset);
fpu               751 arch/s390/kernel/ptrace.c 		child->thread.fpu.fpc = data;
fpu               761 arch/s390/kernel/ptrace.c 				child->thread.fpu.vxrs + 2*offset) = tmp;
fpu               764 arch/s390/kernel/ptrace.c 				child->thread.fpu.fprs + offset) = tmp;
fpu               964 arch/s390/kernel/ptrace.c 	fp_regs.fpc = target->thread.fpu.fpc;
fpu               965 arch/s390/kernel/ptrace.c 	fpregs_store(&fp_regs, &target->thread.fpu);
fpu               983 arch/s390/kernel/ptrace.c 		convert_vx_to_fp(fprs, target->thread.fpu.vxrs);
fpu               985 arch/s390/kernel/ptrace.c 		memcpy(&fprs, target->thread.fpu.fprs, sizeof(fprs));
fpu               989 arch/s390/kernel/ptrace.c 		u32 ufpc[2] = { target->thread.fpu.fpc, 0 };
fpu               996 arch/s390/kernel/ptrace.c 		target->thread.fpu.fpc = ufpc[0];
fpu              1006 arch/s390/kernel/ptrace.c 		convert_fp_to_vx(target->thread.fpu.vxrs, fprs);
fpu              1008 arch/s390/kernel/ptrace.c 		memcpy(target->thread.fpu.fprs, &fprs, sizeof(fprs));
fpu              1074 arch/s390/kernel/ptrace.c 		vxrs[i] = *((__u64 *)(target->thread.fpu.vxrs + i) + 1);
fpu              1092 arch/s390/kernel/ptrace.c 		vxrs[i] = *((__u64 *)(target->thread.fpu.vxrs + i) + 1);
fpu              1097 arch/s390/kernel/ptrace.c 			*((__u64 *)(target->thread.fpu.vxrs + i) + 1) = vxrs[i];
fpu              1113 arch/s390/kernel/ptrace.c 	memcpy(vxrs, target->thread.fpu.vxrs + __NUM_VXRS_LOW, sizeof(vxrs));
fpu              1131 arch/s390/kernel/ptrace.c 				target->thread.fpu.vxrs + __NUM_VXRS_LOW, 0, -1);
fpu               132 arch/s390/kernel/signal.c 	fpregs_store(&user_sregs.fpregs, &current->thread.fpu);
fpu               170 arch/s390/kernel/signal.c 	fpregs_load(&user_sregs.fpregs, &current->thread.fpu);
fpu               186 arch/s390/kernel/signal.c 			vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1);
fpu               190 arch/s390/kernel/signal.c 				   current->thread.fpu.vxrs + __NUM_VXRS_LOW,
fpu               207 arch/s390/kernel/signal.c 		    __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW,
fpu               212 arch/s390/kernel/signal.c 			*((__u64 *)(current->thread.fpu.vxrs + i) + 1) = vxrs[i];
fpu               417 arch/s390/kernel/sysinfo.c 	struct kernel_fpu fpu;
fpu               435 arch/s390/kernel/sysinfo.c 		kernel_fpu_begin(&fpu, KERNEL_FPR);
fpu               451 arch/s390/kernel/sysinfo.c 		kernel_fpu_end(&fpu, KERNEL_FPR);
fpu               207 arch/s390/kernel/traps.c 	vic = (current->thread.fpu.fpc & 0xf00) >> 8;
fpu               233 arch/s390/kernel/traps.c 	if (current->thread.fpu.fpc & FPC_DXC_MASK)
fpu               234 arch/s390/kernel/traps.c 		do_fp_trap(regs, current->thread.fpu.fpc);
fpu               622 arch/s390/kvm/interrupt.c 	rc |= put_guest_lc(vcpu, current->thread.fpu.fpc,
fpu              3340 arch/s390/kvm/kvm-s390.c int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu              3346 arch/s390/kvm/kvm-s390.c 	if (test_fp_ctl(fpu->fpc)) {
fpu              3350 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.fpc = fpu->fpc;
fpu              3353 arch/s390/kvm/kvm-s390.c 				 (freg_t *) fpu->fprs);
fpu              3355 arch/s390/kvm/kvm-s390.c 		memcpy(vcpu->run->s.regs.fprs, &fpu->fprs, sizeof(fpu->fprs));
fpu              3362 arch/s390/kvm/kvm-s390.c int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu              3369 arch/s390/kvm/kvm-s390.c 		convert_vx_to_fp((freg_t *) fpu->fprs,
fpu              3372 arch/s390/kvm/kvm-s390.c 		memcpy(fpu->fprs, vcpu->run->s.regs.fprs, sizeof(fpu->fprs));
fpu              3373 arch/s390/kvm/kvm-s390.c 	fpu->fpc = vcpu->run->s.regs.fpc;
fpu              3930 arch/s390/kvm/kvm-s390.c 	vcpu->arch.host_fpregs.fpc = current->thread.fpu.fpc;
fpu              3931 arch/s390/kvm/kvm-s390.c 	vcpu->arch.host_fpregs.regs = current->thread.fpu.regs;
fpu              3933 arch/s390/kvm/kvm-s390.c 		current->thread.fpu.regs = vcpu->run->s.regs.vrs;
fpu              3935 arch/s390/kvm/kvm-s390.c 		current->thread.fpu.regs = vcpu->run->s.regs.fprs;
fpu              3936 arch/s390/kvm/kvm-s390.c 	current->thread.fpu.fpc = vcpu->run->s.regs.fpc;
fpu              3937 arch/s390/kvm/kvm-s390.c 	if (test_fp_ctl(current->thread.fpu.fpc))
fpu              3939 arch/s390/kvm/kvm-s390.c 		current->thread.fpu.fpc = 0;
fpu              3978 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.fpc = current->thread.fpu.fpc;
fpu              3980 arch/s390/kvm/kvm-s390.c 	current->thread.fpu.fpc = vcpu->arch.host_fpregs.fpc;
fpu              3981 arch/s390/kvm/kvm-s390.c 	current->thread.fpu.regs = vcpu->arch.host_fpregs.regs;
fpu              4125 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.fpc = current->thread.fpu.fpc;
fpu                47 arch/sh/include/asm/user.h 	struct user_fpu_struct fpu;	/* Math Co-processor registers  */
fpu                52 arch/sh/kernel/cpu/init.c onchip_setup(fpu);
fpu               377 arch/sh/kernel/cpu/sh2a/fpu.c denormal_to_double (struct sh_fpu_hard_struct *fpu, int n)
fpu               380 arch/sh/kernel/cpu/sh2a/fpu.c 	unsigned long x = fpu->fpul;
fpu               393 arch/sh/kernel/cpu/sh2a/fpu.c 		fpu->fp_regs[n] = du;
fpu               394 arch/sh/kernel/cpu/sh2a/fpu.c 		fpu->fp_regs[n+1] = dl;
fpu               146 arch/sh/kernel/cpu/sh4/fpu.c static void denormal_to_double(struct sh_fpu_hard_struct *fpu, int n)
fpu               149 arch/sh/kernel/cpu/sh4/fpu.c 	unsigned long x = fpu->fpul;
fpu               162 arch/sh/kernel/cpu/sh4/fpu.c 		fpu->fp_regs[n] = du;
fpu               163 arch/sh/kernel/cpu/sh4/fpu.c 		fpu->fp_regs[n + 1] = dl;
fpu                97 arch/sh/kernel/process_32.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
fpu               108 arch/sh/kernel/process_32.c 				      fpu, NULL);
fpu               344 arch/sh/kernel/process_64.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
fpu               360 arch/sh/kernel/process_64.c 		memcpy(fpu, &tsk->thread.xstate->hardfpu, sizeof(*fpu));
fpu               386 arch/sh/kernel/ptrace_32.c 		else if (addr >= offsetof(struct user, fpu) &&
fpu               389 arch/sh/kernel/ptrace_32.c 				if (addr == offsetof(struct user, fpu.fpscr))
fpu               398 arch/sh/kernel/ptrace_32.c 				index = addr - offsetof(struct user, fpu);
fpu               426 arch/sh/kernel/ptrace_32.c 		else if (addr >= offsetof(struct user, fpu) &&
fpu               432 arch/sh/kernel/ptrace_32.c 			index = addr - offsetof(struct user, fpu);
fpu               401 arch/sh/kernel/ptrace_64.c 		else if ((addr >= offsetof(struct user, fpu)) &&
fpu               407 arch/sh/kernel/ptrace_64.c 			index = addr - offsetof(struct user, fpu);
fpu               443 arch/sh/kernel/ptrace_64.c 		else if ((addr >= offsetof(struct user, fpu)) &&
fpu               449 arch/sh/kernel/ptrace_64.c 			index = addr - offsetof(struct user, fpu);
fpu               477 arch/sh/math-emu/math.c static void denormal_to_double(struct sh_fpu_soft_struct *fpu, int n)
fpu               480 arch/sh/math-emu/math.c 	unsigned long x = fpu->fpul;
fpu               493 arch/sh/math-emu/math.c 		fpu->fp_regs[n] = du;
fpu               494 arch/sh/math-emu/math.c 		fpu->fp_regs[n+1] = dl;
fpu               577 arch/sh/math-emu/math.c static void fpu_init(struct sh_fpu_soft_struct *fpu)
fpu               581 arch/sh/math-emu/math.c 	fpu->fpscr = FPSCR_INIT;
fpu               582 arch/sh/math-emu/math.c 	fpu->fpul = 0;
fpu               585 arch/sh/math-emu/math.c 		fpu->fp_regs[i] = 0;
fpu               586 arch/sh/math-emu/math.c 		fpu->xfp_regs[i]= 0;
fpu               598 arch/sh/math-emu/math.c 	struct sh_fpu_soft_struct *fpu = &(tsk->thread.xstate->softfpu);
fpu               604 arch/sh/math-emu/math.c 		fpu_init(fpu);
fpu               608 arch/sh/math-emu/math.c 	return fpu_emulate(inst, fpu, regs);
fpu               283 arch/sparc/kernel/cpu.c 		const struct fpu_info *fpu;
fpu               296 arch/sparc/kernel/cpu.c 		fpu =  &manuf->fpu_info[0];
fpu               297 arch/sparc/kernel/cpu.c 		while (fpu->fp_vers != -1)
fpu               299 arch/sparc/kernel/cpu.c 			if (fpu->fp_vers == fpu_vers) {
fpu               300 arch/sparc/kernel/cpu.c 				sparc_fpu_type = fpu->name;
fpu               303 arch/sparc/kernel/cpu.c 			fpu++;
fpu                 5 arch/sparc/kernel/sigutil.h int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu);
fpu                 6 arch/sparc/kernel/sigutil.h int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu);
fpu                15 arch/sparc/kernel/sigutil_32.c int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu)
fpu                35 arch/sparc/kernel/sigutil_32.c 	err |= __copy_to_user(&fpu->si_float_regs[0],
fpu                38 arch/sparc/kernel/sigutil_32.c 	err |= __put_user(current->thread.fsr, &fpu->si_fsr);
fpu                39 arch/sparc/kernel/sigutil_32.c 	err |= __put_user(current->thread.fpqdepth, &fpu->si_fpqdepth);
fpu                41 arch/sparc/kernel/sigutil_32.c 		err |= __copy_to_user(&fpu->si_fpqueue[0],
fpu                49 arch/sparc/kernel/sigutil_32.c int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu)
fpu                53 arch/sparc/kernel/sigutil_32.c 	if (((unsigned long) fpu) & 3)
fpu                68 arch/sparc/kernel/sigutil_32.c 	if (!access_ok(fpu, sizeof(*fpu)))
fpu                71 arch/sparc/kernel/sigutil_32.c 	err = __copy_from_user(&current->thread.float_regs[0], &fpu->si_float_regs[0],
fpu                73 arch/sparc/kernel/sigutil_32.c 	err |= __get_user(current->thread.fsr, &fpu->si_fsr);
fpu                74 arch/sparc/kernel/sigutil_32.c 	err |= __get_user(current->thread.fpqdepth, &fpu->si_fpqdepth);
fpu                77 arch/sparc/kernel/sigutil_32.c 					&fpu->si_fpqueue[0],
fpu                15 arch/sparc/kernel/sigutil_64.c int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu)
fpu                23 arch/sparc/kernel/sigutil_64.c 		err |= copy_to_user(&fpu->si_float_regs[0], fpregs,
fpu                26 arch/sparc/kernel/sigutil_64.c 		err |= copy_to_user(&fpu->si_float_regs[32], fpregs+16,
fpu                28 arch/sparc/kernel/sigutil_64.c 	err |= __put_user(current_thread_info()->xfsr[0], &fpu->si_fsr);
fpu                29 arch/sparc/kernel/sigutil_64.c 	err |= __put_user(current_thread_info()->gsr[0], &fpu->si_gsr);
fpu                30 arch/sparc/kernel/sigutil_64.c 	err |= __put_user(fprs, &fpu->si_fprs);
fpu                35 arch/sparc/kernel/sigutil_64.c int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu)
fpu                41 arch/sparc/kernel/sigutil_64.c 	if (((unsigned long) fpu) & 7)
fpu                44 arch/sparc/kernel/sigutil_64.c 	err = get_user(fprs, &fpu->si_fprs);
fpu                48 arch/sparc/kernel/sigutil_64.c 		err |= copy_from_user(fpregs, &fpu->si_float_regs[0],
fpu                51 arch/sparc/kernel/sigutil_64.c 		err |= copy_from_user(fpregs+16, &fpu->si_float_regs[32],
fpu                53 arch/sparc/kernel/sigutil_64.c 	err |= __get_user(current_thread_info()->xfsr[0], &fpu->si_fsr);
fpu                54 arch/sparc/kernel/sigutil_64.c 	err |= __get_user(current_thread_info()->gsr[0], &fpu->si_gsr);
fpu               443 arch/um/kernel/process.c int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu)
fpu               447 arch/um/kernel/process.c 	return save_i387_registers(userspace_pid[cpu], (unsigned long *) fpu);
fpu                28 arch/x86/include/asm/fpu/internal.h extern void fpu__prepare_read(struct fpu *fpu);
fpu                29 arch/x86/include/asm/fpu/internal.h extern void fpu__prepare_write(struct fpu *fpu);
fpu                30 arch/x86/include/asm/fpu/internal.h extern void fpu__save(struct fpu *fpu);
fpu                32 arch/x86/include/asm/fpu/internal.h extern void fpu__drop(struct fpu *fpu);
fpu                34 arch/x86/include/asm/fpu/internal.h extern void fpu__clear(struct fpu *fpu);
fpu                35 arch/x86/include/asm/fpu/internal.h extern int  fpu__exception_code(struct fpu *fpu, int trap_nr);
fpu               103 arch/x86/include/asm/fpu/internal.h extern void fpstate_sanitize_xstate(struct fpu *fpu);
fpu               198 arch/x86/include/asm/fpu/internal.h static inline void copy_fxregs_to_kernel(struct fpu *fpu)
fpu               201 arch/x86/include/asm/fpu/internal.h 		asm volatile( "fxsave %[fx]" : [fx] "=m" (fpu->state.fxsave));
fpu               203 arch/x86/include/asm/fpu/internal.h 		asm volatile("fxsaveq %[fx]" : [fx] "=m" (fpu->state.fxsave));
fpu               417 arch/x86/include/asm/fpu/internal.h static inline int copy_fpregs_to_fpstate(struct fpu *fpu)
fpu               420 arch/x86/include/asm/fpu/internal.h 		copy_xregs_to_kernel(&fpu->state.xsave);
fpu               426 arch/x86/include/asm/fpu/internal.h 		if (fpu->state.xsave.header.xfeatures & XFEATURE_MASK_AVX512)
fpu               427 arch/x86/include/asm/fpu/internal.h 			fpu->avx512_timestamp = jiffies;
fpu               432 arch/x86/include/asm/fpu/internal.h 		copy_fxregs_to_kernel(fpu);
fpu               440 arch/x86/include/asm/fpu/internal.h 	asm volatile("fnsave %[fp]; fwait" : [fp] "=m" (fpu->state.fsave));
fpu               481 arch/x86/include/asm/fpu/internal.h DECLARE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx);
fpu               505 arch/x86/include/asm/fpu/internal.h static inline void __fpu_invalidate_fpregs_state(struct fpu *fpu)
fpu               507 arch/x86/include/asm/fpu/internal.h 	fpu->last_cpu = -1;
fpu               510 arch/x86/include/asm/fpu/internal.h static inline int fpregs_state_valid(struct fpu *fpu, unsigned int cpu)
fpu               512 arch/x86/include/asm/fpu/internal.h 	return fpu == this_cpu_read(fpu_fpregs_owner_ctx) && cpu == fpu->last_cpu;
fpu               519 arch/x86/include/asm/fpu/internal.h static inline void fpregs_deactivate(struct fpu *fpu)
fpu               522 arch/x86/include/asm/fpu/internal.h 	trace_x86_fpu_regs_deactivated(fpu);
fpu               525 arch/x86/include/asm/fpu/internal.h static inline void fpregs_activate(struct fpu *fpu)
fpu               527 arch/x86/include/asm/fpu/internal.h 	this_cpu_write(fpu_fpregs_owner_ctx, fpu);
fpu               528 arch/x86/include/asm/fpu/internal.h 	trace_x86_fpu_regs_activated(fpu);
fpu               536 arch/x86/include/asm/fpu/internal.h 	struct fpu *fpu = &current->thread.fpu;
fpu               542 arch/x86/include/asm/fpu/internal.h 	if (!fpregs_state_valid(fpu, cpu)) {
fpu               543 arch/x86/include/asm/fpu/internal.h 		copy_kernel_to_fpregs(&fpu->state);
fpu               544 arch/x86/include/asm/fpu/internal.h 		fpregs_activate(fpu);
fpu               545 arch/x86/include/asm/fpu/internal.h 		fpu->last_cpu = cpu;
fpu               572 arch/x86/include/asm/fpu/internal.h static inline void switch_fpu_prepare(struct fpu *old_fpu, int cpu)
fpu               593 arch/x86/include/asm/fpu/internal.h static inline void switch_fpu_finish(struct fpu *new_fpu)
fpu               619 arch/x86/include/asm/kvm_host.h 	struct fpu *user_fpu;
fpu               620 arch/x86/include/asm/kvm_host.h 	struct fpu *guest_fpu;
fpu               143 arch/x86/include/asm/pgtable.h 	pk = get_xsave_addr(&current->thread.fpu.state.xsave, XFEATURE_PKRU);
fpu               494 arch/x86/include/asm/processor.h 	struct fpu		fpu;
fpu               505 arch/x86/include/asm/processor.h 	*offset = offsetof(struct thread_struct, fpu.state);
fpu                11 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                12 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu),
fpu                15 arch/x86/include/asm/trace/fpu.h 		__field(struct fpu *, fpu)
fpu                22 arch/x86/include/asm/trace/fpu.h 		__entry->fpu		= fpu;
fpu                25 arch/x86/include/asm/trace/fpu.h 			__entry->xfeatures = fpu->state.xsave.header.xfeatures;
fpu                26 arch/x86/include/asm/trace/fpu.h 			__entry->xcomp_bv  = fpu->state.xsave.header.xcomp_bv;
fpu                30 arch/x86/include/asm/trace/fpu.h 			__entry->fpu,
fpu                38 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                39 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                43 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                44 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                48 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                49 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                53 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                54 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                58 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                59 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                63 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                64 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                68 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                69 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                73 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                74 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                78 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                79 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                83 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                84 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                88 arch/x86/include/asm/trace/fpu.h 	TP_PROTO(struct fpu *fpu),
fpu                89 arch/x86/include/asm/trace/fpu.h 	TP_ARGS(fpu)
fpu                95 arch/x86/include/asm/trace/fpu.h #define TRACE_INCLUDE_FILE fpu
fpu                44 arch/x86/kernel/fpu/core.c DEFINE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx);
fpu               101 arch/x86/kernel/fpu/core.c 		copy_fpregs_to_fpstate(&current->thread.fpu);
fpu               121 arch/x86/kernel/fpu/core.c void fpu__save(struct fpu *fpu)
fpu               123 arch/x86/kernel/fpu/core.c 	WARN_ON_FPU(fpu != &current->thread.fpu);
fpu               126 arch/x86/kernel/fpu/core.c 	trace_x86_fpu_before_save(fpu);
fpu               129 arch/x86/kernel/fpu/core.c 		if (!copy_fpregs_to_fpstate(fpu)) {
fpu               130 arch/x86/kernel/fpu/core.c 			copy_kernel_to_fpregs(&fpu->state);
fpu               134 arch/x86/kernel/fpu/core.c 	trace_x86_fpu_after_save(fpu);
fpu               169 arch/x86/kernel/fpu/core.c 	struct fpu *dst_fpu = &dst->thread.fpu;
fpu               170 arch/x86/kernel/fpu/core.c 	struct fpu *src_fpu = &src->thread.fpu;
fpu               177 arch/x86/kernel/fpu/core.c 	WARN_ON_FPU(src_fpu != &current->thread.fpu);
fpu               214 arch/x86/kernel/fpu/core.c static void fpu__initialize(struct fpu *fpu)
fpu               216 arch/x86/kernel/fpu/core.c 	WARN_ON_FPU(fpu != &current->thread.fpu);
fpu               219 arch/x86/kernel/fpu/core.c 	fpstate_init(&fpu->state);
fpu               220 arch/x86/kernel/fpu/core.c 	trace_x86_fpu_init_state(fpu);
fpu               237 arch/x86/kernel/fpu/core.c void fpu__prepare_read(struct fpu *fpu)
fpu               239 arch/x86/kernel/fpu/core.c 	if (fpu == &current->thread.fpu)
fpu               240 arch/x86/kernel/fpu/core.c 		fpu__save(fpu);
fpu               255 arch/x86/kernel/fpu/core.c void fpu__prepare_write(struct fpu *fpu)
fpu               261 arch/x86/kernel/fpu/core.c 	WARN_ON_FPU(fpu == &current->thread.fpu);
fpu               264 arch/x86/kernel/fpu/core.c 	__fpu_invalidate_fpregs_state(fpu);
fpu               276 arch/x86/kernel/fpu/core.c void fpu__drop(struct fpu *fpu)
fpu               280 arch/x86/kernel/fpu/core.c 	if (fpu == &current->thread.fpu) {
fpu               285 arch/x86/kernel/fpu/core.c 		fpregs_deactivate(fpu);
fpu               288 arch/x86/kernel/fpu/core.c 	trace_x86_fpu_dropped(fpu);
fpu               321 arch/x86/kernel/fpu/core.c void fpu__clear(struct fpu *fpu)
fpu               323 arch/x86/kernel/fpu/core.c 	WARN_ON_FPU(fpu != &current->thread.fpu); /* Almost certainly an anomaly */
fpu               325 arch/x86/kernel/fpu/core.c 	fpu__drop(fpu);
fpu               330 arch/x86/kernel/fpu/core.c 	fpu__initialize(fpu);
fpu               355 arch/x86/kernel/fpu/core.c 	struct fpu *fpu = &current->thread.fpu;
fpu               360 arch/x86/kernel/fpu/core.c 	WARN_ON_FPU(!fpregs_state_valid(fpu, smp_processor_id()));
fpu               367 arch/x86/kernel/fpu/core.c 	struct fpu *fpu = &current->thread.fpu;
fpu               369 arch/x86/kernel/fpu/core.c 	fpregs_activate(fpu);
fpu               370 arch/x86/kernel/fpu/core.c 	fpu->last_cpu = smp_processor_id();
fpu               379 arch/x86/kernel/fpu/core.c int fpu__exception_code(struct fpu *fpu, int trap_nr)
fpu               396 arch/x86/kernel/fpu/core.c 			cwd = fpu->state.fxsave.cwd;
fpu               397 arch/x86/kernel/fpu/core.c 			swd = fpu->state.fxsave.swd;
fpu               399 arch/x86/kernel/fpu/core.c 			cwd = (unsigned short)fpu->state.fsave.cwd;
fpu               400 arch/x86/kernel/fpu/core.c 			swd = (unsigned short)fpu->state.fsave.swd;
fpu               414 arch/x86/kernel/fpu/core.c 			mxcsr = fpu->state.fxsave.mxcsr;
fpu                38 arch/x86/kernel/fpu/init.c 		fpstate_init_soft(&current->thread.fpu.state.soft);
fpu               166 arch/x86/kernel/fpu/init.c 	task_size -= sizeof(((struct task_struct *)0)->thread.fpu.state);
fpu               181 arch/x86/kernel/fpu/init.c 	CHECK_MEMBER_AT_END_OF(struct fpu, state);
fpu               182 arch/x86/kernel/fpu/init.c 	CHECK_MEMBER_AT_END_OF(struct thread_struct, fpu);
fpu                33 arch/x86/kernel/fpu/regset.c 	struct fpu *fpu = &target->thread.fpu;
fpu                38 arch/x86/kernel/fpu/regset.c 	fpu__prepare_read(fpu);
fpu                39 arch/x86/kernel/fpu/regset.c 	fpstate_sanitize_xstate(fpu);
fpu                42 arch/x86/kernel/fpu/regset.c 				   &fpu->state.fxsave, 0, -1);
fpu                49 arch/x86/kernel/fpu/regset.c 	struct fpu *fpu = &target->thread.fpu;
fpu                55 arch/x86/kernel/fpu/regset.c 	fpu__prepare_write(fpu);
fpu                56 arch/x86/kernel/fpu/regset.c 	fpstate_sanitize_xstate(fpu);
fpu                59 arch/x86/kernel/fpu/regset.c 				 &fpu->state.fxsave, 0, -1);
fpu                64 arch/x86/kernel/fpu/regset.c 	fpu->state.fxsave.mxcsr &= mxcsr_feature_mask;
fpu                71 arch/x86/kernel/fpu/regset.c 		fpu->state.xsave.header.xfeatures |= XFEATURE_MASK_FPSSE;
fpu                80 arch/x86/kernel/fpu/regset.c 	struct fpu *fpu = &target->thread.fpu;
fpu                87 arch/x86/kernel/fpu/regset.c 	xsave = &fpu->state.xsave;
fpu                89 arch/x86/kernel/fpu/regset.c 	fpu__prepare_read(fpu);
fpu                97 arch/x86/kernel/fpu/regset.c 		fpstate_sanitize_xstate(fpu);
fpu               117 arch/x86/kernel/fpu/regset.c 	struct fpu *fpu = &target->thread.fpu;
fpu               130 arch/x86/kernel/fpu/regset.c 	xsave = &fpu->state.xsave;
fpu               132 arch/x86/kernel/fpu/regset.c 	fpu__prepare_write(fpu);
fpu               154 arch/x86/kernel/fpu/regset.c 		fpstate_init(&fpu->state);
fpu               234 arch/x86/kernel/fpu/regset.c 	struct fxregs_state *fxsave = &tsk->thread.fpu.state.fxsave;
fpu               299 arch/x86/kernel/fpu/regset.c 	struct fpu *fpu = &target->thread.fpu;
fpu               302 arch/x86/kernel/fpu/regset.c 	fpu__prepare_read(fpu);
fpu               309 arch/x86/kernel/fpu/regset.c 					   &fpu->state.fsave, 0,
fpu               312 arch/x86/kernel/fpu/regset.c 	fpstate_sanitize_xstate(fpu);
fpu               328 arch/x86/kernel/fpu/regset.c 	struct fpu *fpu = &target->thread.fpu;
fpu               332 arch/x86/kernel/fpu/regset.c 	fpu__prepare_write(fpu);
fpu               333 arch/x86/kernel/fpu/regset.c 	fpstate_sanitize_xstate(fpu);
fpu               340 arch/x86/kernel/fpu/regset.c 					  &fpu->state.fsave, 0,
fpu               348 arch/x86/kernel/fpu/regset.c 		convert_to_fxsr(&target->thread.fpu.state.fxsave, &env);
fpu               355 arch/x86/kernel/fpu/regset.c 		fpu->state.xsave.header.xfeatures |= XFEATURE_MASK_FP;
fpu                61 arch/x86/kernel/fpu/signal.c 		struct xregs_state *xsave = &tsk->thread.fpu.state.xsave;
fpu                67 arch/x86/kernel/fpu/signal.c 			copy_fxregs_to_kernel(&tsk->thread.fpu);
fpu               278 arch/x86/kernel/fpu/signal.c 	struct fpu *fpu = &tsk->thread.fpu;
fpu               288 arch/x86/kernel/fpu/signal.c 		fpu__clear(fpu);
fpu               310 arch/x86/kernel/fpu/signal.c 			trace_x86_fpu_xstate_check_failed(fpu);
fpu               325 arch/x86/kernel/fpu/signal.c 	__fpu_invalidate_fpregs_state(fpu);
fpu               355 arch/x86/kernel/fpu/signal.c 		fpregs_deactivate(fpu);
fpu               364 arch/x86/kernel/fpu/signal.c 			ret = copy_user_to_xstate(&fpu->state.xsave, buf_fx);
fpu               366 arch/x86/kernel/fpu/signal.c 			ret = __copy_from_user(&fpu->state.xsave, buf_fx, state_size);
fpu               369 arch/x86/kernel/fpu/signal.c 				ret = validate_xstate_header(&fpu->state.xsave.header);
fpu               374 arch/x86/kernel/fpu/signal.c 		sanitize_restored_xstate(&fpu->state, envp, xfeatures, fx_only);
fpu               379 arch/x86/kernel/fpu/signal.c 		ret = copy_kernel_to_xregs_err(&fpu->state.xsave, xfeatures);
fpu               382 arch/x86/kernel/fpu/signal.c 		ret = __copy_from_user(&fpu->state.fxsave, buf_fx, state_size);
fpu               388 arch/x86/kernel/fpu/signal.c 		sanitize_restored_xstate(&fpu->state, envp, xfeatures, fx_only);
fpu               396 arch/x86/kernel/fpu/signal.c 		ret = copy_kernel_to_fxregs_err(&fpu->state.fxsave);
fpu               398 arch/x86/kernel/fpu/signal.c 		ret = __copy_from_user(&fpu->state.fsave, buf_fx, state_size);
fpu               403 arch/x86/kernel/fpu/signal.c 		ret = copy_kernel_to_fregs_err(&fpu->state.fsave);
fpu               408 arch/x86/kernel/fpu/signal.c 		fpregs_deactivate(fpu);
fpu               413 arch/x86/kernel/fpu/signal.c 		fpu__clear(fpu);
fpu               146 arch/x86/kernel/fpu/xstate.c void fpstate_sanitize_xstate(struct fpu *fpu)
fpu               148 arch/x86/kernel/fpu/xstate.c 	struct fxregs_state *fx = &fpu->state.fxsave;
fpu               155 arch/x86/kernel/fpu/xstate.c 	xfeatures = fpu->state.xsave.header.xfeatures;
fpu               885 arch/x86/kernel/fpu/xstate.c 	struct fpu *fpu = &current->thread.fpu;
fpu               891 arch/x86/kernel/fpu/xstate.c 	fpu__save(fpu);
fpu               893 arch/x86/kernel/fpu/xstate.c 	return get_xsave_addr(&fpu->state.xsave, xfeature_nr);
fpu              1254 arch/x86/kernel/fpu/xstate.c 	unsigned long timestamp = READ_ONCE(task->thread.fpu.avx512_timestamp);
fpu               114 arch/x86/kernel/process.c 	struct fpu *fpu = &t->fpu;
fpu               132 arch/x86/kernel/process.c 	fpu__drop(fpu);
fpu               142 arch/x86/kernel/process.c 	fpu__clear(&tsk->thread.fpu);
fpu               232 arch/x86/kernel/process_32.c 	struct fpu *prev_fpu = &prev->fpu;
fpu               233 arch/x86/kernel/process_32.c 	struct fpu *next_fpu = &next->fpu;
fpu               508 arch/x86/kernel/process_64.c 	struct fpu *prev_fpu = &prev->fpu;
fpu               509 arch/x86/kernel/process_64.c 	struct fpu *next_fpu = &next->fpu;
fpu               714 arch/x86/kernel/signal.c 	struct fpu *fpu = &current->thread.fpu;
fpu               766 arch/x86/kernel/signal.c 		fpu__clear(fpu);
fpu               821 arch/x86/kernel/traps.c 	struct fpu *fpu = &task->thread.fpu;
fpu               844 arch/x86/kernel/traps.c 	fpu__save(fpu);
fpu               849 arch/x86/kernel/traps.c 	si_code = fpu__exception_code(fpu, trapnr);
fpu              7275 arch/x86/kvm/x86.c 	x86_fpu_cache = kmem_cache_create("x86_fpu", sizeof(struct fpu),
fpu              7276 arch/x86/kvm/x86.c 					  __alignof__(struct fpu), SLAB_ACCOUNT,
fpu              8513 arch/x86/kvm/x86.c static void kvm_save_current_fpu(struct fpu *fpu)
fpu              8520 arch/x86/kvm/x86.c 		memcpy(&fpu->state, &current->thread.fpu.state,
fpu              8523 arch/x86/kvm/x86.c 		copy_fpregs_to_fpstate(fpu);
fpu              9044 arch/x86/kvm/x86.c int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu              9051 arch/x86/kvm/x86.c 	memcpy(fpu->fpr, fxsave->st_space, 128);
fpu              9052 arch/x86/kvm/x86.c 	fpu->fcw = fxsave->cwd;
fpu              9053 arch/x86/kvm/x86.c 	fpu->fsw = fxsave->swd;
fpu              9054 arch/x86/kvm/x86.c 	fpu->ftwx = fxsave->twd;
fpu              9055 arch/x86/kvm/x86.c 	fpu->last_opcode = fxsave->fop;
fpu              9056 arch/x86/kvm/x86.c 	fpu->last_ip = fxsave->rip;
fpu              9057 arch/x86/kvm/x86.c 	fpu->last_dp = fxsave->rdp;
fpu              9058 arch/x86/kvm/x86.c 	memcpy(fpu->xmm, fxsave->xmm_space, sizeof(fxsave->xmm_space));
fpu              9064 arch/x86/kvm/x86.c int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu)
fpu              9072 arch/x86/kvm/x86.c 	memcpy(fxsave->st_space, fpu->fpr, 128);
fpu              9073 arch/x86/kvm/x86.c 	fxsave->cwd = fpu->fcw;
fpu              9074 arch/x86/kvm/x86.c 	fxsave->swd = fpu->fsw;
fpu              9075 arch/x86/kvm/x86.c 	fxsave->twd = fpu->ftwx;
fpu              9076 arch/x86/kvm/x86.c 	fxsave->fop = fpu->last_opcode;
fpu              9077 arch/x86/kvm/x86.c 	fxsave->rip = fpu->last_ip;
fpu              9078 arch/x86/kvm/x86.c 	fxsave->rdp = fpu->last_dp;
fpu              9079 arch/x86/kvm/x86.c 	memcpy(fxsave->xmm_space, fpu->xmm, sizeof(fxsave->xmm_space));
fpu                56 arch/x86/math-emu/fpu_aux.c 	fpstate_init_soft(&current->thread.fpu.state.soft);
fpu               643 arch/x86/math-emu/fpu_entry.c 	struct swregs_state *s387 = &target->thread.fpu.state.soft;
fpu               695 arch/x86/math-emu/fpu_entry.c 	struct swregs_state *s387 = &target->thread.fpu.state.soft;
fpu                76 arch/x86/math-emu/fpu_system.h #define I387			(&current->thread.fpu.state)
fpu               204 arch/x86/um/asm/elf.h extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu);
fpu               206 arch/x86/um/asm/elf.h #define ELF_CORE_COPY_FPREGS(t, fpu) elf_core_copy_fpregs(t, fpu)
fpu              1921 fs/binfmt_elf.c 	elf_fpregset_t fpu;		/* NT_PRFPREG */
fpu              1950 fs/binfmt_elf.c 								&t->fpu))) {
fpu              1951 fs/binfmt_elf.c 		fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu),
fpu              1952 fs/binfmt_elf.c 			  &(t->fpu));
fpu              1974 fs/binfmt_elf.c 	elf_fpregset_t *fpu;
fpu              1998 fs/binfmt_elf.c 	info->fpu = kmalloc(sizeof(*info->fpu), GFP_KERNEL);
fpu              1999 fs/binfmt_elf.c 	if (!info->fpu)
fpu              2065 fs/binfmt_elf.c 							       info->fpu);
fpu              2068 fs/binfmt_elf.c 			  "CORE", NT_PRFPREG, sizeof(*info->fpu), info->fpu);
fpu              2127 fs/binfmt_elf.c 	kfree(info->fpu);
fpu              1426 fs/binfmt_elf_fdpic.c 	elf_fpregset_t fpu;		/* NT_PRFPREG */
fpu              1455 fs/binfmt_elf_fdpic.c 	t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, &t->fpu);
fpu              1457 fs/binfmt_elf_fdpic.c 		fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu),
fpu              1458 fs/binfmt_elf_fdpic.c 			  &t->fpu);
fpu              1564 fs/binfmt_elf_fdpic.c 	elf_fpregset_t *fpu = NULL;
fpu              1603 fs/binfmt_elf_fdpic.c 	fpu = kmalloc(sizeof(*fpu), GFP_KERNEL);
fpu              1604 fs/binfmt_elf_fdpic.c 	if (!fpu)
fpu              1672 fs/binfmt_elf_fdpic.c 	     elf_core_copy_task_fpregs(current, cprm->regs, fpu)))
fpu              1674 fs/binfmt_elf_fdpic.c 			  "CORE", NT_PRFPREG, sizeof(*fpu), fpu);
fpu              1804 fs/binfmt_elf_fdpic.c 	kfree(fpu);
fpu                45 include/linux/elfcore.h static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregset_t *fpu)
fpu                48 include/linux/elfcore.h 	return ELF_CORE_COPY_FPREGS(t, fpu);
fpu                50 include/linux/elfcore.h 	return dump_fpu(regs, fpu);
fpu               833 include/linux/kvm_host.h int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu);
fpu               834 include/linux/kvm_host.h int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu);
fpu              2879 virt/kvm/kvm_main.c 	struct kvm_fpu *fpu = NULL;
fpu              3048 virt/kvm/kvm_main.c 		fpu = kzalloc(sizeof(struct kvm_fpu), GFP_KERNEL_ACCOUNT);
fpu              3050 virt/kvm/kvm_main.c 		if (!fpu)
fpu              3052 virt/kvm/kvm_main.c 		r = kvm_arch_vcpu_ioctl_get_fpu(vcpu, fpu);
fpu              3056 virt/kvm/kvm_main.c 		if (copy_to_user(argp, fpu, sizeof(struct kvm_fpu)))
fpu              3062 virt/kvm/kvm_main.c 		fpu = memdup_user(argp, sizeof(*fpu));
fpu              3063 virt/kvm/kvm_main.c 		if (IS_ERR(fpu)) {
fpu              3064 virt/kvm/kvm_main.c 			r = PTR_ERR(fpu);
fpu              3065 virt/kvm/kvm_main.c 			fpu = NULL;
fpu              3068 virt/kvm/kvm_main.c 		r = kvm_arch_vcpu_ioctl_set_fpu(vcpu, fpu);
fpu              3076 virt/kvm/kvm_main.c 	kfree(fpu);