Lines Matching refs:HPSA_MAX_DEVICES
865 DECLARE_BITMAP(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
867 bitmap_zero(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
874 i = find_first_zero_bit(lun_taken, HPSA_MAX_DEVICES); in hpsa_find_target_lun()
875 if (i < HPSA_MAX_DEVICES) { in hpsa_find_target_lun()
895 if (n >= HPSA_MAX_DEVICES) { in hpsa_scsi_add_entry()
968 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_update_entry()
1004 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_replace_entry()
1033 BUG_ON(entry < 0 || entry >= HPSA_MAX_DEVICES); in hpsa_scsi_remove_entry()
1356 added = kzalloc(sizeof(*added) * HPSA_MAX_DEVICES, GFP_KERNEL); in adjust_hpsa_scsi_table()
1357 removed = kzalloc(sizeof(*removed) * HPSA_MAX_DEVICES, GFP_KERNEL); in adjust_hpsa_scsi_table()
3080 currentsd = kzalloc(sizeof(*currentsd) * HPSA_MAX_DEVICES, GFP_KERNEL); in hpsa_update_scsi_devices()
3116 if (i >= HPSA_MAX_DEVICES) { in hpsa_update_scsi_devices()
3118 " %d devices ignored.\n", HPSA_MAX_DEVICES, in hpsa_update_scsi_devices()
3119 ndevs_to_allocate - HPSA_MAX_DEVICES); in hpsa_update_scsi_devices()
3227 if (ncurrent >= HPSA_MAX_DEVICES) in hpsa_update_scsi_devices()