Searched refs:lun_data (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/scsi/ ! |
D | scsi_scan.c | 1402 struct scsi_lun *lunp, *lun_data; in scsi_report_lun_scan() local 1444 lun_data = kmalloc(length, GFP_KERNEL); in scsi_report_lun_scan() 1445 if (!lun_data) { in scsi_report_lun_scan() 1481 lun_data, length, &sshdr, in scsi_report_lun_scan() 1508 if (get_unaligned_be32(lun_data->scsi_lun) + in scsi_report_lun_scan() 1510 length = get_unaligned_be32(lun_data->scsi_lun) + in scsi_report_lun_scan() 1512 kfree(lun_data); in scsi_report_lun_scan() 1515 length = get_unaligned_be32(lun_data->scsi_lun); in scsi_report_lun_scan() 1526 for (lunp = &lun_data[1]; lunp <= &lun_data[num_luns]; lunp++) { in scsi_report_lun_scan() 1552 kfree(lun_data); in scsi_report_lun_scan()
|
/linux-6.1.9/drivers/scsi/smartpqi/ ! |
D | smartpqi_init.c | 1105 void *lun_data = NULL; in pqi_report_phys_logical_luns() local 1123 lun_data = kmalloc(lun_data_length, GFP_KERNEL); in pqi_report_phys_logical_luns() 1124 if (!lun_data) { in pqi_report_phys_logical_luns() 1130 memcpy(lun_data, report_lun_header, sizeof(*report_lun_header)); in pqi_report_phys_logical_luns() 1134 rc = pqi_report_luns(ctrl_info, cmd, lun_data, lun_data_length); in pqi_report_phys_logical_luns() 1139 get_unaligned_be32(&((struct report_lun_header *)lun_data)->list_length); in pqi_report_phys_logical_luns() 1143 kfree(lun_data); in pqi_report_phys_logical_luns() 1151 kfree(lun_data); in pqi_report_phys_logical_luns() 1152 lun_data = NULL; in pqi_report_phys_logical_luns() 1155 *buffer = lun_data; in pqi_report_phys_logical_luns()
|