Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm/include/asm/
Dfpstate.h73 union fp_state { union
81 #define FP_SIZE (sizeof(union fp_state) / sizeof(int))
Dthread_info.h63 union fp_state fpstate __attribute__((aligned(8)));
/linux-4.4.14/arch/powerpc/kernel/
Dptrace32.c107 tmp = ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace()
149 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
208 ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace()
252 tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
Dsignal_32.c273 buf[i] = task->thread.fp_state.fpscr; in copy_fpr_to_user()
287 task->thread.fp_state.fpscr = buf[i]; in copy_fpr_from_user()
300 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_vsx_to_user()
313 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_vsx_from_user()
375 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user()
382 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user()
738 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_user_regs()
855 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_tm_user_regs()
1050 current->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */ in handle_rt_signal32()
1470 current->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */ in handle_signal32()
Dptrace.c374 buf[32] = target->thread.fp_state.fpscr; in fpr_get()
382 &target->thread.fp_state, 0, -1); in fpr_get()
403 target->thread.fp_state.fpscr = buf[32]; in fpr_set()
410 &target->thread.fp_state, 0, -1); in fpr_set()
524 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_get()
543 target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in vsr_set()
1561 tmp = child->thread.fp_state.fpscr; in arch_ptrace()
1594 child->thread.fp_state.fpscr = data; in arch_ptrace()
Dsignal_64.c401 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_sigcontext()
538 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_tm_sigcontexts()
769 current->thread.fp_state.fpscr = 0; in handle_rt_signal64()
Dprocess.c545 memcpy(&thr->transact_fp, &thr->fp_state, in tm_reclaim_thread()
748 load_fp_state(&current->thread.fp_state); in restore_tm_state()
1312 memset(&current->thread.fp_state, 0, sizeof(current->thread.fp_state)); in start_thread()
Dtraps.c862 code = __parse_fpscr(current->thread.fp_state.fpscr); in parse_fpe()
1122 code = __parse_fpscr(current->thread.fp_state.fpscr); in emulate_math()
Dalign.c662 ptr = (char *) &current->thread.fp_state.fpr[reg][0]; in emulate_vsx()
Dasm-offsets.c95 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fp_state)); in main()
/linux-4.4.14/arch/unicore32/include/asm/
Dfpstate.h20 struct fp_state { struct
Dsuspend.h23 struct fp_state fpstate __attribute__((aligned(8)));
Delf.h29 typedef struct fp_state elf_fpregset_t;
Dthread_info.h78 struct fp_state fpstate __attribute__((aligned(8)));
/linux-4.4.14/arch/ia64/kernel/
Dtraps.c240 fp_state_t fp_state; in fp_emulate() local
246 memset(&fp_state, 0, sizeof(fp_state_t)); in fp_emulate()
253 fp_state.bitmask_low64 = 0xfc0; /* bit6..bit11 */ in fp_emulate()
255 fp_state.fp_state_low_volatile = (fp_state_low_volatile_t *) &regs->f6; in fp_emulate()
270 (unsigned long *) ifs, &fp_state); in fp_emulate()
/linux-4.4.14/arch/ia64/include/asm/
Dfpswa.h59 unsigned long *ifs, fp_state_t *fp_state);
/linux-4.4.14/arch/arm/nwfpe/
Dfpa11.c85 void nwfpe_init_fpa(union fp_state *fp) in nwfpe_init_fpa()
Dfpa11.h95 extern void nwfpe_init_fpa(union fp_state *fp);
Dfpmodule.c88 if (sizeof(FPA11) > sizeof(union fp_state)) { in fpe_init()
/linux-4.4.14/arch/powerpc/include/asm/
Dprocessor.h155 #define TS_FPR(i) fp_state.fpr[i][TS_FPROFFSET]
227 struct thread_fp_state fp_state; member
Dsfp-machine.h128 #define __FPU_FPSCR (current->thread.fp_state.fpscr)
/linux-4.4.14/arch/unicore32/kernel/
Dprocess.c219 memset(&thread->fpstate, 0, sizeof(struct fp_state)); in flush_thread()
Dentry.S412 @ r20 = fp_state
/linux-4.4.14/arch/arm/kernel/
Dptrace.c830 0, sizeof(union fp_state), in arch_ptrace()
837 0, sizeof(union fp_state), in arch_ptrace()
Dprocess.c210 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread()