Searched refs:vpd_buf (Results 1 – 1 of 1) sorted by relevance
72 unsigned long **vpd_buf = NULL; in guest_collect_vpd() local92 vpd_buf = kcalloc(entries, sizeof(unsigned long *), GFP_KERNEL); in guest_collect_vpd()93 if (!vpd_buf) in guest_collect_vpd()103 vpd_buf[i] = (unsigned long *)get_zeroed_page(GFP_KERNEL); in guest_collect_vpd()104 if (!vpd_buf[i]) { in guest_collect_vpd()108 le[i].phys_addr = cpu_to_be64(virt_to_phys(vpd_buf[i])); in guest_collect_vpd()137 memcpy(buf, vpd_buf[i], tocopy); in guest_collect_vpd()145 if (vpd_buf[i]) in guest_collect_vpd()146 free_page((unsigned long) vpd_buf[i]); in guest_collect_vpd()150 kfree(vpd_buf); in guest_collect_vpd()