Home
last modified time | relevance | path

Searched refs:lun_data (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_scan.c1297 struct scsi_lun *lunp, *lun_data; in scsi_report_lun_scan() local
1339 lun_data = kmalloc(length, GFP_KERNEL | in scsi_report_lun_scan()
1341 if (!lun_data) { in scsi_report_lun_scan()
1377 lun_data, length, &sshdr, in scsi_report_lun_scan()
1402 * Get the length from the first four bytes of lun_data. in scsi_report_lun_scan()
1404 if (get_unaligned_be32(lun_data->scsi_lun) + in scsi_report_lun_scan()
1406 length = get_unaligned_be32(lun_data->scsi_lun) + in scsi_report_lun_scan()
1408 kfree(lun_data); in scsi_report_lun_scan()
1411 length = get_unaligned_be32(lun_data->scsi_lun); in scsi_report_lun_scan()
1419 * Scan the luns in lun_data in scsi_report_lun_scan()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_scan.c1407 struct scsi_lun *lunp, *lun_data; in scsi_report_lun_scan() local
1452 lun_data = kmalloc(length, GFP_KERNEL); in scsi_report_lun_scan()
1453 if (!lun_data) { in scsi_report_lun_scan()
1489 lun_data, length, in scsi_report_lun_scan()
1515 * Get the length from the first four bytes of lun_data. in scsi_report_lun_scan()
1517 if (get_unaligned_be32(lun_data->scsi_lun) + in scsi_report_lun_scan()
1519 length = get_unaligned_be32(lun_data->scsi_lun) + in scsi_report_lun_scan()
1521 kfree(lun_data); in scsi_report_lun_scan()
1524 length = get_unaligned_be32(lun_data->scsi_lun); in scsi_report_lun_scan()
1532 * Scan the luns in lun_data in scsi_report_lun_scan()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c920 void *lun_data = NULL; in pqi_report_phys_logical_luns() local
939 lun_data = kmalloc(lun_data_length, GFP_KERNEL); in pqi_report_phys_logical_luns()
940 if (!lun_data) { in pqi_report_phys_logical_luns()
946 memcpy(lun_data, report_lun_header, sizeof(*report_lun_header)); in pqi_report_phys_logical_luns()
950 rc = pqi_report_luns(ctrl_info, cmd, lun_data, lun_data_length); in pqi_report_phys_logical_luns()
955 &((struct report_lun_header *)lun_data)->list_length); in pqi_report_phys_logical_luns()
959 kfree(lun_data); in pqi_report_phys_logical_luns()
967 kfree(lun_data); in pqi_report_phys_logical_luns()
968 lun_data = NULL; in pqi_report_phys_logical_luns()
971 *buffer = lun_data; in pqi_report_phys_logical_luns()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c1163 void *lun_data = NULL; in pqi_report_phys_logical_luns() local
1181 lun_data = kmalloc(lun_data_length, GFP_KERNEL); in pqi_report_phys_logical_luns()
1182 if (!lun_data) { in pqi_report_phys_logical_luns()
1188 memcpy(lun_data, report_lun_header, sizeof(*report_lun_header)); in pqi_report_phys_logical_luns()
1192 rc = pqi_report_luns(ctrl_info, cmd, lun_data, lun_data_length); in pqi_report_phys_logical_luns()
1197 get_unaligned_be32(&((struct report_lun_header *)lun_data)->list_length); in pqi_report_phys_logical_luns()
1201 kfree(lun_data); in pqi_report_phys_logical_luns()
1209 kfree(lun_data); in pqi_report_phys_logical_luns()
1210 lun_data = NULL; in pqi_report_phys_logical_luns()
1213 *buffer = lun_data; in pqi_report_phys_logical_luns()
[all...]

Completed in 20 milliseconds