Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi.h827 struct report_lun_header { struct
839 struct report_lun_header header; argument
857 struct report_lun_header header;
Dsmartpqi_init.c960 struct report_lun_header *report_lun_header; in pqi_report_phys_logical_luns() local
962 report_lun_header = kmalloc(sizeof(*report_lun_header), GFP_KERNEL); in pqi_report_phys_logical_luns()
963 if (!report_lun_header) { in pqi_report_phys_logical_luns()
968 rc = pqi_report_luns(ctrl_info, cmd, report_lun_header, in pqi_report_phys_logical_luns()
969 sizeof(*report_lun_header)); in pqi_report_phys_logical_luns()
973 lun_list_length = get_unaligned_be32(&report_lun_header->list_length); in pqi_report_phys_logical_luns()
976 lun_data_length = sizeof(struct report_lun_header) + lun_list_length; in pqi_report_phys_logical_luns()
985 memcpy(lun_data, report_lun_header, sizeof(*report_lun_header)); in pqi_report_phys_logical_luns()
994 &((struct report_lun_header *)lun_data)->list_length); in pqi_report_phys_logical_luns()
1003 kfree(report_lun_header); in pqi_report_phys_logical_luns()
[all …]