Lines Matching refs:mte_ctrl
177 unsigned long mte_ctrl = task->thread.mte_ctrl; in mte_update_sctlr_user() local
185 resolved_mte_tcf = (mte_ctrl & pref) ? pref : mte_ctrl; in mte_update_sctlr_user()
211 ((task->thread.mte_ctrl >> MTE_CTRL_GCR_USER_EXCL_SHIFT) & in mte_update_gcr_excl()
335 u64 mte_ctrl = (~((arg & PR_MTE_TAG_MASK) >> PR_MTE_TAG_SHIFT) & in set_mte_ctrl() local
342 mte_ctrl |= MTE_CTRL_TCF_ASYNC; in set_mte_ctrl()
344 mte_ctrl |= MTE_CTRL_TCF_SYNC; in set_mte_ctrl()
355 mte_ctrl |= MTE_CTRL_TCF_ASYMM; in set_mte_ctrl()
357 task->thread.mte_ctrl = mte_ctrl; in set_mte_ctrl()
372 u64 mte_ctrl = task->thread.mte_ctrl; in get_mte_ctrl() local
373 u64 incl = (~mte_ctrl >> MTE_CTRL_GCR_USER_EXCL_SHIFT) & in get_mte_ctrl()
380 if (mte_ctrl & MTE_CTRL_TCF_ASYNC) in get_mte_ctrl()
382 if (mte_ctrl & MTE_CTRL_TCF_SYNC) in get_mte_ctrl()