Lines Matching refs:nlogicals
2943 struct ReportLUNdata *logdev, u32 *nlogicals) in hpsa_gather_lun_info() argument
2959 *nlogicals = be32_to_cpu(*((__be32 *) logdev->LUNListLength)) / 8; in hpsa_gather_lun_info()
2961 if (*nlogicals > HPSA_MAX_LUN) { in hpsa_gather_lun_info()
2965 *nlogicals - HPSA_MAX_LUN); in hpsa_gather_lun_info()
2966 *nlogicals = HPSA_MAX_LUN; in hpsa_gather_lun_info()
2968 if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) { in hpsa_gather_lun_info()
2972 *nphysicals + *nlogicals - HPSA_MAX_PHYS_LUN); in hpsa_gather_lun_info()
2973 *nlogicals = HPSA_MAX_PHYS_LUN - *nphysicals; in hpsa_gather_lun_info()
2979 int i, int nphysicals, int nlogicals, in figure_lunaddrbytes() argument
2989 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
3071 u32 nlogicals = 0; in hpsa_update_scsi_devices() local
3105 logdev_list, &nlogicals)) in hpsa_update_scsi_devices()
3112 ndevs_to_allocate = nphysicals + nlogicals + MAX_EXT_TARGETS + 1; in hpsa_update_scsi_devices()
3135 raid_ctlr_position = nphysicals + nlogicals; in hpsa_update_scsi_devices()
3139 for (i = 0; i < nphysicals + nlogicals + 1; i++) { in hpsa_update_scsi_devices()
3144 i, nphysicals, nlogicals, physdev_list, logdev_list); in hpsa_update_scsi_devices()