Searched refs:riscv_preempt_v_started (Results 1 – 3 of 3) sorted by relevance
116 if (riscv_v_ctx_get_depth() != 0 || !riscv_preempt_v_started(current)) in riscv_v_stop_kernel_context()132 if (riscv_preempt_v_started(current)) { in riscv_v_start_kernel_context()159 if (!riscv_preempt_v_started(current)) in riscv_v_context_nesting_start()176 if (!riscv_preempt_v_started(current)) in riscv_v_context_nesting_end()
227 static inline bool riscv_preempt_v_started(struct task_struct *task) in riscv_preempt_v_started() function235 static inline bool riscv_preempt_v_started(struct task_struct *task) { return false; } in riscv_preempt_v_started() function245 if (riscv_preempt_v_started(prev)) { in __switch_to_vector()256 if (riscv_preempt_v_started(next)) in __switch_to_vector()
44 if (!riscv_preempt_v_started(current)) in may_use_simd()