Searched refs:current_thread_amr (Results 1 – 2 of 2) sorted by relevance
215 static inline u64 current_thread_amr(void) in current_thread_amr() function374 thread_amr = current_thread_amr(); in allow_user_access()
317 u64 old_amr = current_thread_amr() & ~((u64)(0x3ul) << pkeyshift(pkey)); in init_amr()423 amr = current_thread_amr(); in pkey_access_permitted()