pkey_shift        312 arch/powerpc/mm/book3s64/pkeys.c 	int pkey_shift = pkeyshift(pkey);
pkey_shift        317 arch/powerpc/mm/book3s64/pkeys.c 	return !(read_amr() & ((AMR_RD_BIT|AMR_WR_BIT) << pkey_shift));
pkey_shift        363 arch/powerpc/mm/book3s64/pkeys.c 	int pkey_shift;
pkey_shift        369 arch/powerpc/mm/book3s64/pkeys.c 	pkey_shift = pkeyshift(pkey);
pkey_shift        370 arch/powerpc/mm/book3s64/pkeys.c 	if (execute && !(read_iamr() & (IAMR_EX_BIT << pkey_shift)))
pkey_shift        374 arch/powerpc/mm/book3s64/pkeys.c 	return ((!write && !(amr & (AMR_RD_BIT << pkey_shift))) ||
pkey_shift        375 arch/powerpc/mm/book3s64/pkeys.c 		(write &&  !(amr & (AMR_WR_BIT << pkey_shift))));
pkey_shift        908 arch/x86/kernel/fpu/xstate.c 	int pkey_shift = (pkey * PKRU_BITS_PER_PKEY);
pkey_shift        925 arch/x86/kernel/fpu/xstate.c 	new_pkru_bits <<= pkey_shift;
pkey_shift        929 arch/x86/kernel/fpu/xstate.c 	old_pkru &= ~((PKRU_AD_BIT|PKRU_WD_BIT) << pkey_shift);