Lines Matching refs:HPSA_MAX_DEVICES
1137 DECLARE_BITMAP(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1139 bitmap_zero(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1146 i = find_first_zero_bit(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1147 if (i < HPSA_MAX_DEVICES) { in hpsa_find_target_lun()
1221 if (n >= HPSA_MAX_DEVICES) { in hpsa_scsi_add_entry()
1292 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_update_entry()
1341 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_replace_entry()
1370 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_remove_entry()
1769 added = kzalloc(sizeof(*added) * HPSA_MAX_DEVICES, GFP_KERNEL); in adjust_hpsa_scsi_table()
1770 removed = kzalloc(sizeof(*removed) * HPSA_MAX_DEVICES, GFP_KERNEL); in adjust_hpsa_scsi_table()
3961 currentsd = kzalloc(sizeof(*currentsd) * HPSA_MAX_DEVICES, GFP_KERNEL); in hpsa_update_scsi_devices()
3998 if (i >= HPSA_MAX_DEVICES) { in hpsa_update_scsi_devices()
4000 " %d devices ignored.\n", HPSA_MAX_DEVICES, in hpsa_update_scsi_devices()
4001 ndevs_to_allocate - HPSA_MAX_DEVICES); in hpsa_update_scsi_devices()
4135 if (ncurrent >= HPSA_MAX_DEVICES) in hpsa_update_scsi_devices()