Searched refs:riscv_v_flags (Results 1 – 5 of 5) sorted by relevance
55 static inline u32 riscv_v_flags(void) in riscv_v_flags() function57 return READ_ONCE(current->thread.riscv_v_flags); in riscv_v_flags()330 return !!(task->thread.riscv_v_flags & RISCV_PREEMPT_V_DIRTY); in riscv_preempt_v_dirty()335 return !!(task->thread.riscv_v_flags & RISCV_PREEMPT_V_NEED_RESTORE); in riscv_preempt_v_restore()341 task->thread.riscv_v_flags &= ~RISCV_PREEMPT_V_DIRTY; in riscv_preempt_v_clear_dirty()347 task->thread.riscv_v_flags |= RISCV_PREEMPT_V_NEED_RESTORE; in riscv_preempt_v_set_restore()352 return !!(task->thread.riscv_v_flags & RISCV_PREEMPT_V); in riscv_preempt_v_started()
52 return !irqs_disabled() && !(riscv_v_flags() & RISCV_KERNEL_MODE_V); in may_use_simd()
106 u32 riscv_v_flags; member
23 WRITE_ONCE(current->thread.riscv_v_flags, flags); in riscv_v_flags_set()30 orig = riscv_v_flags(); in riscv_v_start()41 orig = riscv_v_flags(); in riscv_v_stop()86 return ¤t->thread.riscv_v_flags; in riscv_v_flags_ptr()
242 p->thread.riscv_v_flags = 0; in copy_thread()