Lines Matching refs:HPSA_MAX_DEVICES
1209 DECLARE_BITMAP(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1211 bitmap_zero(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1218 i = find_first_zero_bit(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
1219 if (i < HPSA_MAX_DEVICES) { in hpsa_find_target_lun()
1294 if (n >= HPSA_MAX_DEVICES) { in hpsa_scsi_add_entry()
1366 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_update_entry()
1421 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_replace_entry()
1449 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_remove_entry()
1945 added = kcalloc(HPSA_MAX_DEVICES, sizeof(*added), GFP_KERNEL); in adjust_hpsa_scsi_table()
1946 removed = kcalloc(HPSA_MAX_DEVICES, sizeof(*removed), GFP_KERNEL); in adjust_hpsa_scsi_table()
4358 currentsd = kcalloc(HPSA_MAX_DEVICES, sizeof(*currentsd), GFP_KERNEL); in hpsa_update_scsi_devices()
4396 if (i >= HPSA_MAX_DEVICES) { in hpsa_update_scsi_devices()
4398 " %d devices ignored.\n", HPSA_MAX_DEVICES, in hpsa_update_scsi_devices()
4399 ndevs_to_allocate - HPSA_MAX_DEVICES); in hpsa_update_scsi_devices()
4532 if (ncurrent >= HPSA_MAX_DEVICES) in hpsa_update_scsi_devices()