Home
last modified time | relevance | path

Searched refs:AMR_WR_BIT (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/arch/powerpc/mm/
Dpkeys.c26 #define AMR_WR_BIT 0x2UL macro
259 new_amr_bits |= AMR_RD_BIT | AMR_WR_BIT; in __arch_set_user_pkey_access()
261 new_amr_bits |= AMR_WR_BIT; in __arch_set_user_pkey_access()
315 return !(read_amr() & ((AMR_RD_BIT|AMR_WR_BIT) << pkey_shift)); in pkey_allows_readwrite()
373 (write && !(amr & (AMR_WR_BIT << pkey_shift)))); in pkey_access_permitted()