vpd_size 4457 drivers/net/ethernet/marvell/sky2.c size_t vpd_size; vpd_size 4464 drivers/net/ethernet/marvell/sky2.c vpd_size = 1 << ( ((reg2 & PCI_VPD_ROM_SZ) >> 14) + 8); vpd_size 4467 drivers/net/ethernet/marvell/sky2.c buf = kmalloc(vpd_size, GFP_KERNEL); vpd_size 4473 drivers/net/ethernet/marvell/sky2.c if (pci_read_vpd(hw->pdev, 0, vpd_size, buf) < 0) { vpd_size 4483 drivers/net/ethernet/marvell/sky2.c if (len == 0 || len > vpd_size - 4) { vpd_size 4491 drivers/net/ethernet/marvell/sky2.c while (offs < vpd_size - 4) { vpd_size 4497 drivers/net/ethernet/marvell/sky2.c if (offs + len + 3 >= vpd_size) vpd_size 3378 drivers/net/ethernet/sfc/efx.c ssize_t vpd_size; vpd_size 3382 drivers/net/ethernet/sfc/efx.c vpd_size = pci_read_vpd(dev, 0, sizeof(vpd_data), vpd_data); vpd_size 3383 drivers/net/ethernet/sfc/efx.c if (vpd_size <= 0) { vpd_size 3389 drivers/net/ethernet/sfc/efx.c ro_start = pci_vpd_find_tag(vpd_data, 0, vpd_size, PCI_VPD_LRDT_RO_DATA); vpd_size 3398 drivers/net/ethernet/sfc/efx.c if (i + j > vpd_size) vpd_size 3399 drivers/net/ethernet/sfc/efx.c j = vpd_size - i; vpd_size 3410 drivers/net/ethernet/sfc/efx.c if (i + j > vpd_size) { vpd_size 3428 drivers/net/ethernet/sfc/efx.c if (i + j > vpd_size) { vpd_size 2792 drivers/net/ethernet/sfc/falcon/efx.c ssize_t vpd_size; vpd_size 2796 drivers/net/ethernet/sfc/falcon/efx.c vpd_size = pci_read_vpd(dev, 0, sizeof(vpd_data), vpd_data); vpd_size 2797 drivers/net/ethernet/sfc/falcon/efx.c if (vpd_size <= 0) { vpd_size 2803 drivers/net/ethernet/sfc/falcon/efx.c ro_start = pci_vpd_find_tag(vpd_data, 0, vpd_size, PCI_VPD_LRDT_RO_DATA); vpd_size 2812 drivers/net/ethernet/sfc/falcon/efx.c if (i + j > vpd_size) vpd_size 2813 drivers/net/ethernet/sfc/falcon/efx.c j = vpd_size - i; vpd_size 2824 drivers/net/ethernet/sfc/falcon/efx.c if (i + j > vpd_size) { vpd_size 2842 drivers/net/ethernet/sfc/falcon/efx.c if (i + j > vpd_size) { vpd_size 1639 drivers/scsi/cxlflash/main.c ssize_t vpd_size; vpd_size 1648 drivers/scsi/cxlflash/main.c vpd_size = cfg->ops->read_adapter_vpd(pdev, vpd_data, sizeof(vpd_data)); vpd_size 1649 drivers/scsi/cxlflash/main.c if (unlikely(vpd_size <= 0)) { vpd_size 1651 drivers/scsi/cxlflash/main.c __func__, vpd_size); vpd_size 1657 drivers/scsi/cxlflash/main.c ro_start = pci_vpd_find_tag(vpd_data, 0, vpd_size, vpd_size 1669 drivers/scsi/cxlflash/main.c if (unlikely((i + j) > vpd_size)) { vpd_size 1671 drivers/scsi/cxlflash/main.c __func__, (i + j), vpd_size); vpd_size 1672 drivers/scsi/cxlflash/main.c ro_size = vpd_size - i; vpd_size 1704 drivers/scsi/cxlflash/main.c if (unlikely((i + j > vpd_size) || (j != WWPN_LEN))) { vpd_size 5290 drivers/scsi/lpfc/lpfc_sli.c uint8_t *vpd, uint32_t *vpd_size) vpd_size 5305 drivers/scsi/lpfc/lpfc_sli.c dma_size = *vpd_size; vpd_size 5339 drivers/scsi/lpfc/lpfc_sli.c if (mqe->un.read_rev.avail_vpd_len < *vpd_size) vpd_size 5340 drivers/scsi/lpfc/lpfc_sli.c *vpd_size = mqe->un.read_rev.avail_vpd_len; vpd_size 5342 drivers/scsi/lpfc/lpfc_sli.c memcpy(vpd, dmabuf->virt, *vpd_size); vpd_size 7165 drivers/scsi/lpfc/lpfc_sli.c uint32_t vpd_size; vpd_size 7196 drivers/scsi/lpfc/lpfc_sli.c vpd_size = SLI4_PAGE_SIZE; vpd_size 7197 drivers/scsi/lpfc/lpfc_sli.c vpd = kzalloc(vpd_size, GFP_KERNEL); vpd_size 7203 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_read_rev(phba, mboxq, vpd, &vpd_size); vpd_size 7267 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_parse_vpd(phba, vpd, vpd_size); vpd_size 552 drivers/scsi/qla2xxx/qla_attr.c ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); vpd_size 555 drivers/scsi/qla2xxx/qla_attr.c ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); vpd_size 557 drivers/scsi/qla2xxx/qla_attr.c return memory_read_from_buffer(buf, count, &off, ha->vpd, ha->vpd_size); vpd_size 576 drivers/scsi/qla2xxx/qla_attr.c if (!capable(CAP_SYS_ADMIN) || off != 0 || count != ha->vpd_size || vpd_size 3922 drivers/scsi/qla2xxx/qla_def.h uint16_t vpd_size; vpd_size 7102 drivers/scsi/qla2xxx/qla_init.c ha->vpd_size = FA_NVRAM_VPD_SIZE; vpd_size 8275 drivers/scsi/qla2xxx/qla_init.c ha->vpd_size = FA_NVRAM_VPD_SIZE; vpd_size 8277 drivers/scsi/qla2xxx/qla_init.c ha->vpd_size = FA_VPD_SIZE_82XX; vpd_size 8294 drivers/scsi/qla2xxx/qla_init.c ha->isp_ops->read_optrom(vha, ha->vpd, faddr << 2, ha->vpd_size); vpd_size 3567 drivers/scsi/qla2xxx/qla_sup.c uint8_t *end = pos + ha->vpd_size;