Home
last modified time | relevance | path

Searched refs:skeyclass (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/s390x/
H A Ds390-skeys.c107 S390SKeysClass *skeyclass = S390_SKEYS_GET_CLASS(ss); in hmp_info_skeys() local
113 if (!skeyclass->skeys_are_enabled(ss)) { in hmp_info_skeys()
125 r = skeyclass->get_skeys(ss, addr / TARGET_PAGE_SIZE, 1, &key); in hmp_info_skeys()
148 S390SKeysClass *skeyclass = S390_SKEYS_GET_CLASS(ss); in qmp_dump_skeys() local
159 if (!skeyclass->skeys_are_enabled(ss)) { in qmp_dump_skeys()
197 ret = skeyclass->get_skeys(ss, gfn, cur_pages, buf); in qmp_dump_skeys()
307 S390SKeysClass *skeyclass = S390_SKEYS_CLASS(oc); in qemu_s390_skeys_class_init() local
310 skeyclass->skeys_are_enabled = qemu_s390_skeys_are_enabled; in qemu_s390_skeys_class_init()
311 skeyclass->enable_skeys = qemu_s390_enable_skeys; in qemu_s390_skeys_class_init()
312 skeyclass->get_skeys = qemu_s390_skeys_get; in qemu_s390_skeys_class_init()
[all …]
H A Ds390-skeys-kvm.c20 S390SKeysClass *skeyclass = S390_SKEYS_GET_CLASS(ss); in kvm_s390_skeys_are_enabled() local
24 r = skeyclass->get_skeys(ss, 0, 1, &single_key); in kvm_s390_skeys_are_enabled()
57 S390SKeysClass *skeyclass = S390_SKEYS_CLASS(oc); in kvm_s390_skeys_class_init() local
60 skeyclass->skeys_are_enabled = kvm_s390_skeys_are_enabled; in kvm_s390_skeys_class_init()
61 skeyclass->get_skeys = kvm_s390_skeys_get; in kvm_s390_skeys_class_init()
62 skeyclass->set_skeys = kvm_s390_skeys_set; in kvm_s390_skeys_class_init()
/openbmc/qemu/target/s390x/
H A Dmmu_helper.c302 static S390SKeysClass *skeyclass; in mmu_handle_skey() local
312 skeyclass = S390_SKEYS_GET_CLASS(ss); in mmu_handle_skey()
319 if (!skeyclass->skeys_are_enabled(ss)) { in mmu_handle_skey()
/openbmc/qemu/target/s390x/tcg/
H A Dmem_helper.c2102 static S390SKeysClass *skeyclass; in HELPER() local
2114 skeyclass = S390_SKEYS_GET_CLASS(ss); in HELPER()
2115 if (skeyclass->enable_skeys && !skeyclass->enable_skeys(ss)) { in HELPER()
2131 static S390SKeysClass *skeyclass; in HELPER() local
2142 skeyclass = S390_SKEYS_GET_CLASS(ss); in HELPER()
2143 if (skeyclass->enable_skeys && !skeyclass->enable_skeys(ss)) { in HELPER()
2162 static S390SKeysClass *skeyclass; in HELPER() local
2173 skeyclass = S390_SKEYS_GET_CLASS(ss); in HELPER()
2174 if (skeyclass->enable_skeys && !skeyclass->enable_skeys(ss)) { in HELPER()