Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dpkeys.c285 u64 pkey_bits, uamor_pkey_bits; in __arch_set_user_pkey_access() local
290 pkey_bits = 0x3ul << pkeyshift(pkey); in __arch_set_user_pkey_access()
291 uamor_pkey_bits = (default_uamor & pkey_bits); in __arch_set_user_pkey_access()
296 if (uamor_pkey_bits != pkey_bits) in __arch_set_user_pkey_access()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu.c4344 unsigned pfec, pkey_bits; in update_pkru_bitmask() local
4367 pkey_bits = !!check_pkey; in update_pkru_bitmask()
4369 pkey_bits |= (!!check_write) << 1; in update_pkru_bitmask()
4371 mmu->pkru_mask |= (pkey_bits & 3) << pfec; in update_pkru_bitmask()