vpd_buf            68 drivers/misc/cxl/guest.c 	unsigned long **vpd_buf = NULL;
vpd_buf            88 drivers/misc/cxl/guest.c 	vpd_buf = kcalloc(entries, sizeof(unsigned long *), GFP_KERNEL);
vpd_buf            89 drivers/misc/cxl/guest.c 	if (!vpd_buf)
vpd_buf            99 drivers/misc/cxl/guest.c 		vpd_buf[i] = (unsigned long *)get_zeroed_page(GFP_KERNEL);
vpd_buf           100 drivers/misc/cxl/guest.c 		if (!vpd_buf[i]) {
vpd_buf           104 drivers/misc/cxl/guest.c 		le[i].phys_addr = cpu_to_be64(virt_to_phys(vpd_buf[i]));
vpd_buf           133 drivers/misc/cxl/guest.c 				memcpy(buf, vpd_buf[i], tocopy);
vpd_buf           141 drivers/misc/cxl/guest.c 		if (vpd_buf[i])
vpd_buf           142 drivers/misc/cxl/guest.c 			free_page((unsigned long) vpd_buf[i]);
vpd_buf           146 drivers/misc/cxl/guest.c 	kfree(vpd_buf);
vpd_buf           403 drivers/scsi/scsi.c 	struct scsi_vpd *vpd_buf;
vpd_buf           407 drivers/scsi/scsi.c 	vpd_buf = kmalloc(sizeof(*vpd_buf) + vpd_len, GFP_KERNEL);
vpd_buf           408 drivers/scsi/scsi.c 	if (!vpd_buf)
vpd_buf           411 drivers/scsi/scsi.c 	result = scsi_vpd_inquiry(sdev, vpd_buf->data, page, vpd_len);
vpd_buf           413 drivers/scsi/scsi.c 		kfree(vpd_buf);
vpd_buf           418 drivers/scsi/scsi.c 		kfree(vpd_buf);
vpd_buf           422 drivers/scsi/scsi.c 	vpd_buf->len = result;
vpd_buf           424 drivers/scsi/scsi.c 	return vpd_buf;
vpd_buf           430 drivers/scsi/scsi.c 	struct scsi_vpd *vpd_buf;
vpd_buf           432 drivers/scsi/scsi.c 	vpd_buf = scsi_get_vpd_buf(sdev, page);
vpd_buf           433 drivers/scsi/scsi.c 	if (!vpd_buf)
vpd_buf           437 drivers/scsi/scsi.c 	rcu_swap_protected(*sdev_vpd_buf, vpd_buf,
vpd_buf           441 drivers/scsi/scsi.c 	if (vpd_buf)
vpd_buf           442 drivers/scsi/scsi.c 		kfree_rcu(vpd_buf, rcu);
vpd_buf           457 drivers/scsi/scsi.c 	struct scsi_vpd *vpd_buf;
vpd_buf           463 drivers/scsi/scsi.c 	vpd_buf = scsi_get_vpd_buf(sdev, 0);
vpd_buf           464 drivers/scsi/scsi.c 	if (!vpd_buf)
vpd_buf           467 drivers/scsi/scsi.c 	for (i = 4; i < vpd_buf->len; i++) {
vpd_buf           468 drivers/scsi/scsi.c 		if (vpd_buf->data[i] == 0x80)
vpd_buf           470 drivers/scsi/scsi.c 		if (vpd_buf->data[i] == 0x83)
vpd_buf           473 drivers/scsi/scsi.c 	kfree(vpd_buf);