Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A Dpkru.h9 #define PKRU_BITS_PER_PKEY 2 macro
21 int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY; in __pkru_allows_read()
27 int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY; in __pkru_allows_write()
/openbmc/linux/arch/x86/mm/
H A Dpkeys.c113 #define PKRU_AD_MASK(pkey) (PKRU_AD_BIT << ((pkey) * PKRU_BITS_PER_PKEY))
/openbmc/linux/arch/x86/kernel/fpu/
H A Dxstate.c1032 pkey_shift = pkey * PKRU_BITS_PER_PKEY; in arch_set_user_pkey_access()