Searched refs:set_pkey_bits (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | protection_keys.c | 198 new_pkey_reg = set_pkey_bits(old_pkey_reg, pkey, rights); in hw_pkey_set() 232 shadow_pkey_reg = set_pkey_bits(shadow_pkey_reg, pkey, pkey_rights); in pkey_disable_set() 266 shadow_pkey_reg = set_pkey_bits(shadow_pkey_reg, pkey, pkey_rights); in pkey_disable_clear() 515 shadow_pkey_reg = set_pkey_bits(shadow_pkey_reg, ret, in alloc_pkey() 526 shadow_pkey_reg = set_pkey_bits(shadow_pkey_reg, ret, in alloc_pkey()
|
D | pkey-helpers.h | 98 static inline u64 set_pkey_bits(u64 reg, int pkey, u64 flags) in set_pkey_bits() function
|