Home
last modified time | relevance | path

Searched refs:kernel_vstate (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/riscv/kernel/
Dvector.c119 riscv_v_thread_zalloc(riscv_v_kernel_cachep, &tsk->thread.kernel_vstate); in riscv_v_thread_alloc()
128 if (tsk->thread.kernel_vstate.datap) in riscv_v_thread_free()
129 kmem_cache_free(riscv_v_kernel_cachep, tsk->thread.kernel_vstate.datap); in riscv_v_thread_free()
Dkernel_mode_vector.c128 kvstate = &current->thread.kernel_vstate; in riscv_v_start_kernel_context()
171 struct __riscv_v_ext_state *vstate = &current->thread.kernel_vstate; in riscv_v_context_nesting_end()
Dprocess.c198 memset(&dst->thread.kernel_vstate, 0, sizeof(struct __riscv_v_ext_state)); in arch_dup_task_struct()
/linux-6.12.1/arch/riscv/include/asm/
Dsimd.h43 if (IS_ENABLED(CONFIG_RISCV_ISA_V_PREEMPTIVE) && current->thread.kernel_vstate.datap) { in may_use_simd()
Dvector.h247 __riscv_v_vstate_save(&prev->thread.kernel_vstate, in __switch_to_vector()
248 prev->thread.kernel_vstate.datap); in __switch_to_vector()
Dprocessor.h109 struct __riscv_v_ext_state kernel_vstate; member