Lines Matching defs:nphysicals
3540 u32 nphysicals;
3553 nphysicals = get_unaligned_be32(physdev->LUNListLength) / 24;
3555 for (i = 0; i < nphysicals; i++)
3596 u32 nphysicals;
3602 nphysicals = (get_unaligned_be32(physdev->LUNListLength) / 24) + 1;
3604 for (i = 0; i < nphysicals; i++) {
4089 int i, int nphysicals, int nlocal_logicals)
4094 int logicals_start = nphysicals + (raid_ctlr_position == 0);
4103 if ((i - nphysicals - (raid_ctlr_position == 0)) < nlocal_logicals)
4112 * *nphysicals and *nlogicals, respectively.
4116 struct ReportExtendedLUNdata *physdev, u32 *nphysicals,
4123 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 24;
4124 if (*nphysicals > HPSA_MAX_PHYS_LUN) {
4126 HPSA_MAX_PHYS_LUN, *nphysicals - HPSA_MAX_PHYS_LUN);
4127 *nphysicals = HPSA_MAX_PHYS_LUN;
4142 if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) {
4146 *nphysicals + *nlogicals - HPSA_MAX_PHYS_LUN);
4147 *nlogicals = HPSA_MAX_PHYS_LUN - *nphysicals;
4153 int i, int nphysicals, int nlogicals,
4162 int logicals_start = nphysicals + (raid_ctlr_position == 0);
4163 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0);
4173 return &logdev_list->LUN[i - nphysicals -
4348 u32 nphysicals = 0;
4373 if (hpsa_gather_lun_info(h, physdev_list, &nphysicals,
4390 ndevs_to_allocate = nphysicals + nlogicals + MAX_EXT_TARGETS + 1;
4414 raid_ctlr_position = nphysicals + nlogicals;
4417 for (i = 0; i < nphysicals + nlogicals + 1; i++) {
4425 physical_device = i < nphysicals + (raid_ctlr_position == 0);
4429 i, nphysicals, nlogicals, physdev_list, logdev_list);
4434 nphysicals, nlocal_logicals);