Home
last modified time | relevance | path

Searched refs:currentsd (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/block/
Dcciss_scsi.c1182 struct cciss_scsi_dev_t *currentsd, *this_device; in cciss_update_non_disk_devices() local
1189 currentsd = kzalloc(sizeof(*currentsd) * in cciss_update_non_disk_devices()
1191 if (ld_buff == NULL || inq_buff == NULL || currentsd == NULL) { in cciss_update_non_disk_devices()
1195 this_device = &currentsd[CCISS_MAX_SCSI_DEVS_PER_HBA]; in cciss_update_non_disk_devices()
1269 currentsd[ncurrent] = *this_device; in cciss_update_non_disk_devices()
1277 adjust_cciss_scsi_table(h, hostno, currentsd, ncurrent); in cciss_update_non_disk_devices()
1281 kfree(currentsd); in cciss_update_non_disk_devices()
/linux-2.6.39/drivers/scsi/
Dhpsa.c1788 struct hpsa_scsi_dev_t **currentsd, *this_device, *tmpdevice; in hpsa_update_scsi_devices() local
1796 currentsd = kzalloc(sizeof(*currentsd) * HPSA_MAX_SCSI_DEVS_PER_HBA, in hpsa_update_scsi_devices()
1803 if (!currentsd || !physdev_list || !logdev_list || in hpsa_update_scsi_devices()
1822 currentsd[i] = kzalloc(sizeof(*currentsd[i]), GFP_KERNEL); in hpsa_update_scsi_devices()
1823 if (!currentsd[i]) { in hpsa_update_scsi_devices()
1854 this_device = currentsd[ncurrent]; in hpsa_update_scsi_devices()
1867 this_device = currentsd[ncurrent]; in hpsa_update_scsi_devices()
1917 adjust_hpsa_scsi_table(h, hostno, currentsd, ncurrent); in hpsa_update_scsi_devices()
1921 kfree(currentsd[i]); in hpsa_update_scsi_devices()
1922 kfree(currentsd); in hpsa_update_scsi_devices()