Lines Matching refs:nphysicals

2856 	u32 nphysicals = 0;	/* number of reported physical devs */  in hpsa_get_pdisk_of_ioaccel2()  local
2908 nphysicals = be32_to_cpu(*((__be32 *)physicals->LUNListLength)) / in hpsa_get_pdisk_of_ioaccel2()
2912 for (i = 0; i < nphysicals; i++) { in hpsa_get_pdisk_of_ioaccel2()
2942 struct ReportExtendedLUNdata *physdev, u32 *nphysicals, in hpsa_gather_lun_info() argument
2949 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 24; in hpsa_gather_lun_info()
2950 if (*nphysicals > HPSA_MAX_PHYS_LUN) { in hpsa_gather_lun_info()
2952 HPSA_MAX_PHYS_LUN, *nphysicals - HPSA_MAX_PHYS_LUN); in hpsa_gather_lun_info()
2953 *nphysicals = HPSA_MAX_PHYS_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
2988 int logicals_start = nphysicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
2989 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
2999 return &logdev_list->LUN[i - nphysicals - in figure_lunaddrbytes()
3070 u32 nphysicals = 0; in hpsa_update_scsi_devices() local
3104 if (hpsa_gather_lun_info(h, physdev_list, &nphysicals, 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()
3147 i < nphysicals + (raid_ctlr_position == 0)) in hpsa_update_scsi_devices()
3192 if (i >= nphysicals) { in hpsa_update_scsi_devices()
3197 if (i < nphysicals) in hpsa_update_scsi_devices()