Searched refs:riscv_v_ctrl_get_cur (Results 1 – 1 of 1) sorted by relevance
137 static inline int riscv_v_ctrl_get_cur(struct task_struct *tsk) in riscv_v_ctrl_get_cur() function167 return riscv_v_ctrl_get_cur(current) == PR_RISCV_V_VSTATE_CTRL_ON; in riscv_v_vstate_ctrl_user_allowed()262 if (riscv_v_ctrl_get_cur(current) != PR_RISCV_V_VSTATE_CTRL_OFF) in riscv_v_vstate_ctrl_set_current()269 cur = riscv_v_ctrl_get_cur(current); in riscv_v_vstate_ctrl_set_current()