Searched refs:user_fp (Results 1 – 17 of 17) sorted by relevance
| /Linux-v5.4/arch/csky/abiv2/ |
| D | fpu.c | 154 void save_to_user_fp(struct user_fp *user_fp) in save_to_user_fp() argument 165 user_fp->fcr = tmp1; in save_to_user_fp() 166 user_fp->fesr = tmp2; in save_to_user_fp() 168 fpregs = &user_fp->vr[0]; in save_to_user_fp() 216 void restore_from_user_fp(struct user_fp *user_fp) in restore_from_user_fp() argument 224 tmp1 = user_fp->fcr; in restore_from_user_fp() 225 tmp2 = user_fp->fesr; in restore_from_user_fp() 230 fpregs = &user_fp->vr[0]; in restore_from_user_fp()
|
| /Linux-v5.4/arch/csky/kernel/ |
| D | signal.c | 19 struct user_fp user_fp; in restore_fpu_state() local 21 err = __copy_from_user(&user_fp, &sc->sc_user_fp, sizeof(user_fp)); in restore_fpu_state() 23 restore_from_user_fp(&user_fp); in restore_fpu_state() 30 struct user_fp user_fp; in save_fpu_state() local 32 save_to_user_fp(&user_fp); in save_fpu_state() 34 return __copy_to_user(&sc->sc_user_fp, &user_fp, sizeof(user_fp)); in save_fpu_state()
|
| D | ptrace.c | 115 struct user_fp *regs = (struct user_fp *)&target->thread.user_fp; in fpr_get() 119 struct user_fp tmp = *regs; in fpr_get() 141 struct user_fp *regs = (struct user_fp *)&target->thread.user_fp; in fpr_set() 145 struct user_fp tmp; in fpr_set() 176 .n = sizeof(struct user_fp) / sizeof(u32),
|
| D | process.c | 46 save_to_user_fp(&p->thread.user_fp); in copy_thread() 77 int dump_fpu(struct pt_regs *regs, struct user_fp *fpu) in dump_fpu() 79 memcpy(fpu, ¤t->thread.user_fp, sizeof(*fpu)); in dump_fpu()
|
| D | asm-offsets.c | 23 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); in main() 24 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main() 25 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); in main()
|
| /Linux-v5.4/arch/csky/abiv2/inc/abi/ |
| D | fpu.h | 14 void save_to_user_fp(struct user_fp *user_fp); 15 void restore_from_user_fp(struct user_fp *user_fp);
|
| /Linux-v5.4/arch/csky/include/asm/ |
| D | switch_to.h | 13 save_to_user_fp(&prev->thread.user_fp); in __switch_to_fpu() 14 restore_from_user_fp(&next->thread.user_fp); in __switch_to_fpu()
|
| D | processor.h | 48 struct user_fp __aligned(16) user_fp;
|
| D | elf.h | 33 typedef struct user_fp elf_fpregset_t;
|
| /Linux-v5.4/arch/arm/include/asm/ |
| D | user.h | 34 struct user_fp { struct 76 struct user_fp u_fp; /* FP state */
|
| D | elf.h | 23 typedef struct user_fp elf_fpregset_t;
|
| /Linux-v5.4/arch/nds32/include/asm/ |
| D | elf.h | 109 struct user_fp { struct 114 typedef struct user_fp elf_fpregset_t; argument
|
| /Linux-v5.4/arch/arm/nwfpe/ |
| D | ChangeLog | 46 as a struct user_fp (see user.h). This pointer was cast to a 47 FPA11*. Unfortunately FPA11 and user_fp are of different sizes; 48 user_fp is smaller. This meant that the FPE scribbled on things 53 * user_fp and FPA11 have now been harmonized. Most of the changes
|
| /Linux-v5.4/arch/csky/include/uapi/asm/ |
| D | sigcontext.h | 11 struct user_fp sc_user_fp;
|
| D | ptrace.h | 43 struct user_fp { struct
|
| /Linux-v5.4/arch/arm/kernel/ |
| D | ptrace.c | 611 0, sizeof(struct user_fp)); in fpa_get() 625 0, sizeof(struct user_fp)); in fpa_set() 752 .n = sizeof(struct user_fp) / sizeof(u32),
|
| D | process.c | 286 int dump_fpu (struct pt_regs *regs, struct user_fp *fp) in dump_fpu()
|