Home
last modified time | relevance | path

Searched refs:user_fp (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/arch/csky/abiv2/
Dfpu.c149 void save_to_user_fp(struct user_fp *user_fp) in save_to_user_fp() argument
160 user_fp->fcr = tmp1; in save_to_user_fp()
161 user_fp->fesr = tmp2; in save_to_user_fp()
163 fpregs = &user_fp->vr[0]; in save_to_user_fp()
211 void restore_from_user_fp(struct user_fp *user_fp) in restore_from_user_fp() argument
219 tmp1 = user_fp->fcr; in restore_from_user_fp()
220 tmp2 = user_fp->fesr; in restore_from_user_fp()
225 fpregs = &user_fp->vr[0]; in restore_from_user_fp()
/linux-6.12.1/arch/csky/kernel/
Dsignal.c19 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()
Dptrace.c117 struct user_fp *regs = (struct user_fp *)&target->thread.user_fp; in fpr_get()
121 struct user_fp tmp = *regs; in fpr_get()
143 struct user_fp *regs = (struct user_fp *)&target->thread.user_fp; in fpr_set()
147 struct user_fp tmp; in fpr_set()
178 .n = sizeof(struct user_fp) / sizeof(u32),
Dasm-offsets.c21 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); in main()
22 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main()
23 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); in main()
Dprocess.c42 save_to_user_fp(&p->thread.user_fp); in copy_thread()
75 memcpy(fpu, &current->thread.user_fp, sizeof(*fpu)); in elf_core_copy_task_fpregs()
/linux-6.12.1/arch/csky/abiv2/inc/abi/
Dfpu.h14 void save_to_user_fp(struct user_fp *user_fp);
15 void restore_from_user_fp(struct user_fp *user_fp);
/linux-6.12.1/arch/arm/include/asm/
Duser.h34 struct user_fp { struct
76 struct user_fp u_fp; /* FP state */
Delf.h22 typedef struct user_fp elf_fpregset_t;
/linux-6.12.1/arch/csky/include/asm/
Dswitch_to.h12 save_to_user_fp(&prev->thread.user_fp); in __switch_to_fpu()
13 restore_from_user_fp(&next->thread.user_fp); in __switch_to_fpu()
Dprocessor.h46 struct user_fp __aligned(16) user_fp;
Delf.h32 typedef struct user_fp elf_fpregset_t;
/linux-6.12.1/arch/arm/nwfpe/
DChangeLog46 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-6.12.1/arch/csky/include/uapi/asm/
Dsigcontext.h10 struct user_fp sc_user_fp;
Dptrace.h42 struct user_fp { struct
/linux-6.12.1/arch/arm/kernel/
Dptrace.c577 sizeof(struct user_fp)); in fpa_get()
589 0, sizeof(struct user_fp)); in fpa_set()
693 .n = sizeof(struct user_fp) / sizeof(u32),