Lines Matching refs:HPSA_MAX_DEVICES
1202 DECLARE_BITMAP(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1204 bitmap_zero(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1211 i = find_first_zero_bit(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1212 if (i < HPSA_MAX_DEVICES) { in hpsa_find_target_lun()
1287 if (n >= HPSA_MAX_DEVICES) { in hpsa_scsi_add_entry()
1359 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_update_entry()
1414 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_replace_entry()
1442 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_remove_entry()
1938 added = kcalloc(HPSA_MAX_DEVICES, sizeof(*added), GFP_KERNEL); in adjust_hpsa_scsi_table()
1939 removed = kcalloc(HPSA_MAX_DEVICES, sizeof(*removed), GFP_KERNEL); in adjust_hpsa_scsi_table()
4352 currentsd = kcalloc(HPSA_MAX_DEVICES, sizeof(*currentsd), GFP_KERNEL); in hpsa_update_scsi_devices()
4390 if (i >= HPSA_MAX_DEVICES) { in hpsa_update_scsi_devices()
4392 " %d devices ignored.\n", HPSA_MAX_DEVICES, in hpsa_update_scsi_devices()
4393 ndevs_to_allocate - HPSA_MAX_DEVICES); in hpsa_update_scsi_devices()
4526 if (ncurrent >= HPSA_MAX_DEVICES) in hpsa_update_scsi_devices()