Lines Matching defs:nphysicals

3536 	u32 nphysicals;
3549 nphysicals = get_unaligned_be32(physdev->LUNListLength) / 24;
3551 for (i = 0; i < nphysicals; i++)
3592 u32 nphysicals;
3598 nphysicals = (get_unaligned_be32(physdev->LUNListLength) / 24) + 1;
3600 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;
4375 if (hpsa_gather_lun_info(h, physdev_list, &nphysicals,
4392 ndevs_to_allocate = nphysicals + nlogicals + MAX_EXT_TARGETS + 1;
4416 raid_ctlr_position = nphysicals + nlogicals;
4420 for (i = 0; i < nphysicals + nlogicals + 1; i++) {
4428 physical_device = i < nphysicals + (raid_ctlr_position == 0);
4432 i, nphysicals, nlogicals, physdev_list, logdev_list);
4437 nphysicals, nlocal_logicals);