Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dpkey-helpers.h132 #define read_pkey_reg() _read_pkey_reg(__LINE__) macro
139 read_pkey_reg(); in write_pkey_reg()
152 u64 pkey_reg = read_pkey_reg(); in __pkey_access_allow()
160 dprintf4("pkey_reg now: %016llx\n", read_pkey_reg()); in __pkey_access_allow()
166 u64 pkey_reg = read_pkey_reg(); in __pkey_write_allow()
175 dprintf4("pkey_reg now: %016llx\n", read_pkey_reg()); in __pkey_write_allow()
Dprotection_keys.c214 u64 orig_pkey_reg = read_pkey_reg(); in pkey_disable_set()
243 __func__, pkey, read_pkey_reg()); in pkey_disable_set()
245 pkey_assert(read_pkey_reg() >= orig_pkey_reg); in pkey_disable_set()
255 u64 orig_pkey_reg = read_pkey_reg(); in pkey_disable_clear()
274 pkey, read_pkey_reg()); in pkey_disable_clear()
276 assert(read_pkey_reg() <= orig_pkey_reg); in pkey_disable_clear()
535 read_pkey_reg(); in alloc_pkey()
709 read_pkey_reg(); in malloc_pkey_with_mprotect()
718 read_pkey_reg(); in malloc_pkey_with_mprotect()
1038 read_pkey_reg(); in test_read_of_access_disabled_region()
[all …]