Home
last modified time | relevance | path

Searched full:tprot (Results 1 – 8 of 8) sorted by relevance

/kvm-unit-tests/s390x/
H A Dtprot.c27 permission = tprot((unsigned long)pagebuf, 0); in test_tprot_rw()
41 permission = tprot((unsigned long)pagebuf, 0); in test_tprot_ro()
56 permission = tprot(0, 0); in test_tprot_low_addr_prot()
71 permission = tprot((unsigned long)pagebuf, 0); in test_tprot_transl_unavail()
86 tprot((unsigned long)pagebuf, 0); in test_tprot_transl_pte_bit52_set()
96 report_prefix_push("tprot"); in main()
H A Dskey.c128 report_prefix_push("TPROT"); in test_test_protection()
131 report(tprot(addr, 0) == TPROT_READ_WRITE, "zero key: no protection"); in test_test_protection()
132 report(tprot(addr, 1) == TPROT_READ_WRITE, "matching key: no protection"); in test_test_protection()
136 report(tprot(addr, 2) == TPROT_READ, "no fetch protection: store protection"); in test_test_protection()
139 report(tprot(addr, 2) == TPROT_RW_PROTECTED, in test_test_protection()
144 report(tprot(0, 2) == TPROT_RW_PROTECTED, "disabled: fetch & store protection"); in test_test_protection()
146 report(tprot(0, 2) == TPROT_READ, "enabled: store protection"); in test_test_protection()
147 report(tprot(2048, 2) == TPROT_RW_PROTECTED, "invalid: fetch & store protection"); in test_test_protection()
154 report(tprot(addr, 2) == TPROT_READ_WRITE, in test_test_protection()
H A Dskrf.c102 report_prefix_push("tprot"); in test_tprot()
104 tprot((unsigned long)pagebuf, 0xf); in test_tprot()
H A DMakefile8 tests += $(TEST_DIR)/tprot.elf
H A Dunittests.cfg157 [tprot]
158 file = tprot.elf
/kvm-unit-tests/lib/s390x/asm/
H A Darch_def.h295 static inline enum tprot_permission tprot(unsigned long addr, char access_key) in tprot() function
300 " tprot 0(%1),0(%2)\n" in tprot()
/kvm-unit-tests/lib/s390x/
H A Dsclp.c231 permission = tprot(ram_size + storage_increment_size - 1, 0); in sclp_memory_setup()
/kvm-unit-tests/
H A D.gitlab-ci.yml300 tprot