Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/vm/
Dpkey-helpers.h134 #define read_pkey_reg() _read_pkey_reg(__LINE__) macro
141 read_pkey_reg(); in write_pkey_reg()
154 u64 pkey_reg = read_pkey_reg(); in __pkey_access_allow()
162 dprintf4("pkey_reg now: %016llx\n", read_pkey_reg()); in __pkey_access_allow()
168 u64 pkey_reg = read_pkey_reg(); in __pkey_write_allow()
177 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 …]