Searched refs:PR_RISCV_V_VSTATE_CTRL_ON (Results 1 – 6 of 6) sorted by relevance
106 rc = prctl(PR_RISCV_V_SET_CONTROL, PR_RISCV_V_VSTATE_CTRL_ON); in main()116 flag = PR_RISCV_V_VSTATE_CTRL_ON; in main()132 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main()133 if (test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_ON, 0)) in main()142 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main()144 expected = flag | PR_RISCV_V_VSTATE_CTRL_ON; in main()
130 return riscv_v_ctrl_get_cur(current) == PR_RISCV_V_VSTATE_CTRL_ON; in riscv_v_vstate_ctrl_user_allowed()185 cur = PR_RISCV_V_VSTATE_CTRL_ON; in riscv_v_vstate_ctrl_init()226 case PR_RISCV_V_VSTATE_CTRL_ON: in riscv_v_vstate_ctrl_set_current()240 case PR_RISCV_V_VSTATE_CTRL_ON: in riscv_v_vstate_ctrl_set_current()
303 # define PR_RISCV_V_VSTATE_CTRL_ON 2 macro
37 * :c:macro:`PR_RISCV_V_VSTATE_CTRL_ON`: Allow Vector to be run for the
52 #define PR_RISCV_V_VSTATE_CTRL_ON 2 macro1860 ret = prctl(PR_RISCV_V_SET_CONTROL, PR_RISCV_V_VSTATE_CTRL_ON); in kvm_cpu_realize()