Home
last modified time | relevance | path

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

/qemu/hw/s390x/
H A Dipl.h121 IPLBlockPV *ipib_pv = &iplb->pv; in ipl_valid_pv_components() local
124 if (ipib_pv->num_comp == 0) { in ipl_valid_pv_components()
128 for (i = 0; i < ipib_pv->num_comp; i++) { in ipl_valid_pv_components()
130 if (ipib_pv->components[i].addr & ~TARGET_PAGE_MASK) { in ipl_valid_pv_components()
135 if (i < ipib_pv->num_comp - 1 && in ipl_valid_pv_components()
136 ipib_pv->components[i].tweak_pref >= in ipl_valid_pv_components()
137 ipib_pv->components[i + 1].tweak_pref) { in ipl_valid_pv_components()
146 IPLBlockPV *ipib_pv = &iplb->pv; in ipl_valid_pv_header() local
148 if (ipib_pv->pv_header_len > 2 * TARGET_PAGE_SIZE) { in ipl_valid_pv_header()
153 ipib_pv->pv_header_addr, in ipl_valid_pv_header()
[all …]
H A Dipl.c700 IPLBlockPV *ipib_pv = &ipib->pv; in s390_ipl_prepare_pv_header() local
701 void *hdr = g_malloc(ipib_pv->pv_header_len); in s390_ipl_prepare_pv_header()
704 cpu_physical_memory_read(ipib_pv->pv_header_addr, hdr, in s390_ipl_prepare_pv_header()
705 ipib_pv->pv_header_len); in s390_ipl_prepare_pv_header()
706 rc = s390_pv_set_sec_parms((uintptr_t)hdr, ipib_pv->pv_header_len, errp); in s390_ipl_prepare_pv_header()
714 IPLBlockPV *ipib_pv = &ipib->pv; in s390_ipl_pv_unpack() local
717 for (i = 0; i < ipib_pv->num_comp; i++) { in s390_ipl_pv_unpack()
718 rc = s390_pv_unpack(ipib_pv->components[i].addr, in s390_ipl_pv_unpack()
719 TARGET_PAGE_ALIGN(ipib_pv->components[i].size), in s390_ipl_pv_unpack()
720 ipib_pv->components[i].tweak_pref); in s390_ipl_pv_unpack()