Searched refs:fpsimd_state (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/arm64/kernel/
H A Dfpsimd.c46 * For (a), we add a 'cpu' field to struct fpsimd_state, which gets updated to
55 * task's fpsimd_state.cpu are still mutually in sync. If this is the case, we
65 * - the task gets scheduled in; if both the task's fpsimd_state.cpu field
67 * variable points to the task's fpsimd_state, the TIF_FOREIGN_FPSTATE flag is
72 * fpsimd_state.cpu field is set to the id of the current CPU, the current
73 * CPU's fpsimd_last_state pointer is set to this task's fpsimd_state and the
89 static DEFINE_PER_CPU(struct fpsimd_state *, fpsimd_last_state);
135 fpsimd_save_state(&current->thread.fpsimd_state); fpsimd_thread_switch()
145 struct fpsimd_state *st = &next->thread.fpsimd_state; fpsimd_thread_switch()
159 memset(&current->thread.fpsimd_state, 0, sizeof(struct fpsimd_state)); fpsimd_flush_thread()
172 fpsimd_save_state(&current->thread.fpsimd_state); fpsimd_preserve_current_state()
185 struct fpsimd_state *st = &current->thread.fpsimd_state; fpsimd_restore_current_state()
199 void fpsimd_update_current_state(struct fpsimd_state *state) fpsimd_update_current_state()
204 struct fpsimd_state *st = &current->thread.fpsimd_state; fpsimd_update_current_state()
217 t->thread.fpsimd_state.cpu = NR_CPUS; fpsimd_flush_task_state()
246 fpsimd_save_state(&current->thread.fpsimd_state); kernel_neon_begin_partial()
273 fpsimd_save_state(&current->thread.fpsimd_state); fpsimd_cpu_pm_notifier()
H A Dsignal.c50 struct fpsimd_state *fpsimd = &current->thread.fpsimd_state; preserve_fpsimd_context()
53 /* dump the hardware registers to the fpsimd_state structure */ preserve_fpsimd_context()
70 struct fpsimd_state fpsimd; restore_fpsimd_context()
88 /* load the hardware registers from the fpsimd_state structure */ restore_fpsimd_context()
H A Dsignal32.c236 struct fpsimd_state *fpsimd = &current->thread.fpsimd_state; compat_preserve_vfp_context()
243 * Save the hardware registers to the fpsimd_state structure. compat_preserve_vfp_context()
285 struct fpsimd_state fpsimd; compat_restore_vfp_context()
299 /* Copy the FP registers into the start of the fpsimd_state. */ compat_restore_vfp_context()
H A Dptrace.c518 uregs = &target->thread.fpsimd_state.user_fpsimd; fpr_get()
533 target->thread.fpsimd_state.user_fpsimd = newstate; fpr_set()
790 uregs = &target->thread.fpsimd_state.user_fpsimd; compat_vfp_get()
793 * The VFP registers are packed into the fpsimd_state, so they all sit compat_vfp_get()
820 uregs = &target->thread.fpsimd_state.user_fpsimd; compat_vfp_set()
/linux-4.1.27/arch/arm64/include/asm/
H A Dfpsimd.h31 struct fpsimd_state { struct
68 extern void fpsimd_save_state(struct fpsimd_state *state);
69 extern void fpsimd_load_state(struct fpsimd_state *state);
76 extern void fpsimd_update_current_state(struct fpsimd_state *state);
H A Dprocessor.h82 struct fpsimd_state fpsimd_state; member in struct:thread_struct

Completed in 149 milliseconds