Searched refs:fpu_context (Results 1 – 3 of 3) sorted by relevance
236 if (tsk->thread.fpu_context) { in copy_thread()239 ctx = kmemdup(tsk->thread.fpu_context, in copy_thread()241 tsk->thread.fpu_context = ctx; in copy_thread()265 thread->fpu_context = kzalloc(sizeof(struct meta_fpu_context), in alloc_fpu_context()272 kfree(thread->fpu_context); in clear_fpu()273 thread->fpu_context = NULL; in clear_fpu()317 if (!prev->thread.fpu_context) in __switch_to()319 if (prev->thread.fpu_context) in __switch_to()320 __TBICtxFPUSave(state, prev->thread.fpu_context); in __switch_to()326 if (prev->thread.fpu_context) in __switch_to()[all …]
328 if (current->thread.fpu_context && in tail_end_sys()329 current->thread.fpu_context->needs_restore) { in tail_end_sys()330 __TBICtxFPURestore(State, current->thread.fpu_context); in tail_end_sys()336 current->thread.fpu_context->needs_restore = false; in tail_end_sys()
81 struct meta_fpu_context *fpu_context; member