Lines Matching refs:read_pkey_reg
215 u64 orig_pkey_reg = read_pkey_reg(); in pkey_disable_set()
244 __func__, pkey, read_pkey_reg()); in pkey_disable_set()
246 pkey_assert(read_pkey_reg() >= orig_pkey_reg); in pkey_disable_set()
256 u64 orig_pkey_reg = read_pkey_reg(); in pkey_disable_clear()
275 pkey, read_pkey_reg()); in pkey_disable_clear()
277 assert(read_pkey_reg() <= orig_pkey_reg); in pkey_disable_clear()
527 read_pkey_reg(); in alloc_pkey()
701 read_pkey_reg(); in malloc_pkey_with_mprotect()
710 read_pkey_reg(); in malloc_pkey_with_mprotect()
1030 read_pkey_reg(); in test_read_of_access_disabled_region()
1047 read_pkey_reg(); in test_read_of_access_disabled_region_with_page_already_mapped()
1220 read_pkey_reg(); /* for shadow checking */ in test_pkey_alloc_exhaust()
1268 read_pkey_reg(); /* for shadow checking */ in test_pkey_alloc_exhaust()
1282 if (read_pkey_reg()) in arch_force_pkey_reg_init()
1335 read_pkey_reg(); in test_pkey_init_state()
1340 read_pkey_reg(); /* for shadow checking */ in test_pkey_init_state()
1486 dprintf2("pkey_reg: %016llx\n", read_pkey_reg()); in test_executing_on_unreadable_memory()
1522 dprintf2("pkey_reg: %016llx\n", read_pkey_reg()); in test_implicit_mprotect_exec_only_memory()
1558 new_pkru = ~read_pkey_reg(); in test_ptrace_modifies_pkru()
1603 pkey_assert(*pkey_register == read_pkey_reg()); in test_ptrace_modifies_pkru()
1771 printf("startup pkey_reg: %016llx\n", read_pkey_reg()); in main()