Lines Matching defs:nphysicals
1644 * *nphysicals and *nlogicals, respectively.
1649 struct ReportLUNdata *physdev, u32 *nphysicals,
1656 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 8;
1657 if (*nphysicals > HPSA_MAX_PHYS_LUN) {
1660 *nphysicals - HPSA_MAX_PHYS_LUN);
1661 *nphysicals = HPSA_MAX_PHYS_LUN;
1676 if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) {
1680 *nphysicals + *nlogicals - HPSA_MAX_PHYS_LUN);
1681 *nlogicals = HPSA_MAX_PHYS_LUN - *nphysicals;
1687 int nphysicals, int nlogicals, struct ReportLUNdata *physdev_list,
1695 int logicals_start = nphysicals + (raid_ctlr_position == 0);
1696 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0);
1705 return &logdev_list->LUN[i - nphysicals -
1726 u32 nphysicals = 0;
1751 if (hpsa_gather_lun_info(h, reportlunsize, physdev_list, &nphysicals,
1759 ndevs_to_allocate = nphysicals + nlogicals + MAX_MSA2XXX_ENCLOSURES + 1;
1775 raid_ctlr_position = nphysicals + nlogicals;
1779 for (i = 0; i < nphysicals + nlogicals + 1; i++) {
1784 i, nphysicals, nlogicals, physdev_list, logdev_list);
1787 i < nphysicals + (raid_ctlr_position == 0))
1834 if (i < nphysicals)