Searched refs:TIF_SPEC_IB (Results 1 – 4 of 4) sorted by relevance
58 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_tif_to_spec_ctrl()59 return (tifn & _TIF_SPEC_IB) >> (TIF_SPEC_IB - SPEC_CTRL_STIBP_SHIFT); in stibp_tif_to_spec_ctrl()70 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()71 return (spec_ctrl & SPEC_CTRL_STIBP) << (TIF_SPEC_IB - SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()
86 #define TIF_SPEC_IB 9 /* Indirect branch speculation mitigation */ macro109 #define _TIF_SPEC_IB (1 << TIF_SPEC_IB)
655 set_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()657 clear_tsk_thread_flag(tsk, TIF_SPEC_IB); in speculation_ctrl_update_tif()
372 unsigned long spec_bits = (next_tif >> TIF_SPEC_IB) & LAST_USER_MM_SPEC_MASK; in mm_mangle_tif_spec_bits()378 BUILD_BUG_ON(TIF_SPEC_L1D_FLUSH != TIF_SPEC_IB + 1); in mm_mangle_tif_spec_bits()