Lines Matching refs:nlogicals
3793 struct ReportLUNdata *logdev, u32 *nlogicals) in hpsa_gather_lun_info() argument
3809 *nlogicals = be32_to_cpu(*((__be32 *) logdev->LUNListLength)) / 8; in hpsa_gather_lun_info()
3811 if (*nlogicals > HPSA_MAX_LUN) { in hpsa_gather_lun_info()
3815 *nlogicals - HPSA_MAX_LUN); in hpsa_gather_lun_info()
3816 *nlogicals = HPSA_MAX_LUN; in hpsa_gather_lun_info()
3818 if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) { in hpsa_gather_lun_info()
3822 *nphysicals + *nlogicals - HPSA_MAX_PHYS_LUN); in hpsa_gather_lun_info()
3823 *nlogicals = HPSA_MAX_PHYS_LUN - *nphysicals; in hpsa_gather_lun_info()
3829 int i, int nphysicals, int nlogicals, in figure_lunaddrbytes() argument
3839 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
3951 u32 nlogicals = 0; in hpsa_update_scsi_devices() local
3978 logdev_list, &nlogicals)) { in hpsa_update_scsi_devices()
3994 ndevs_to_allocate = nphysicals + nlogicals + MAX_EXT_TARGETS + 1; in hpsa_update_scsi_devices()
4018 raid_ctlr_position = nphysicals + nlogicals; in hpsa_update_scsi_devices()
4022 for (i = 0; i < nphysicals + nlogicals + 1; i++) { in hpsa_update_scsi_devices()
4031 i, nphysicals, nlogicals, physdev_list, logdev_list); in hpsa_update_scsi_devices()