Searched refs:current_thread_amr (Results 1 – 2 of 2) sorted by relevance
216 static __always_inline u64 current_thread_amr(void) in current_thread_amr() function365 thread_amr = current_thread_amr(); in allow_user_access()
318 u64 old_amr = current_thread_amr() & ~((u64)(0x3ul) << pkeyshift(pkey)); in init_amr()424 amr = current_thread_amr(); in pkey_access_permitted()