Lines Matching refs:nlogicals
4090 struct ReportLUNdata *logdev, u32 *nlogicals) in hpsa_gather_lun_info() argument
4106 *nlogicals = be32_to_cpu(*((__be32 *) logdev->LUNListLength)) / 8; in hpsa_gather_lun_info()
4108 if (*nlogicals > HPSA_MAX_LUN) { in hpsa_gather_lun_info()
4112 *nlogicals - HPSA_MAX_LUN); in hpsa_gather_lun_info()
4113 *nlogicals = HPSA_MAX_LUN; in hpsa_gather_lun_info()
4115 if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) { in hpsa_gather_lun_info()
4119 *nphysicals + *nlogicals - HPSA_MAX_PHYS_LUN); in hpsa_gather_lun_info()
4120 *nlogicals = HPSA_MAX_PHYS_LUN - *nphysicals; in hpsa_gather_lun_info()
4126 int i, int nphysicals, int nlogicals, in figure_lunaddrbytes() argument
4136 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
4314 u32 nlogicals = 0; in hpsa_update_scsi_devices() local
4341 logdev_list, &nlogicals)) { in hpsa_update_scsi_devices()
4357 ndevs_to_allocate = nphysicals + nlogicals + MAX_EXT_TARGETS + 1; in hpsa_update_scsi_devices()
4381 raid_ctlr_position = nphysicals + nlogicals; in hpsa_update_scsi_devices()
4385 for (i = 0; i < nphysicals + nlogicals + 1; i++) { in hpsa_update_scsi_devices()
4397 i, nphysicals, nlogicals, physdev_list, logdev_list); in hpsa_update_scsi_devices()