Lines Matching refs:skeyclass
107 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()
313 skeyclass->set_skeys = qemu_s390_skeys_set; in qemu_s390_skeys_class_init()
330 S390SKeysClass *skeyclass = S390_SKEYS_GET_CLASS(ss); in s390_storage_keys_save() local
337 if (!skeyclass->skeys_are_enabled(ss)) { in s390_storage_keys_save()
364 error = skeyclass->get_skeys(ss, gfn, cur_pages, buf); in s390_storage_keys_save()
398 S390SKeysClass *skeyclass = S390_SKEYS_GET_CLASS(ss); in s390_storage_keys_load() local
405 if (skeyclass->enable_skeys) { in s390_storage_keys_load()
406 skeyclass->enable_skeys(ss); in s390_storage_keys_load()
435 ret = skeyclass->set_skeys(ss, cur_gfn, cur_count, buf); in s390_storage_keys_load()