Lines Matching refs:report_lun_header
1106 struct report_lun_header *report_lun_header; in pqi_report_phys_logical_luns() local
1108 report_lun_header = kmalloc(sizeof(*report_lun_header), GFP_KERNEL); in pqi_report_phys_logical_luns()
1109 if (!report_lun_header) { in pqi_report_phys_logical_luns()
1114 rc = pqi_report_luns(ctrl_info, cmd, report_lun_header, sizeof(*report_lun_header)); in pqi_report_phys_logical_luns()
1118 lun_list_length = get_unaligned_be32(&report_lun_header->list_length); in pqi_report_phys_logical_luns()
1121 lun_data_length = sizeof(struct report_lun_header) + lun_list_length; in pqi_report_phys_logical_luns()
1130 memcpy(lun_data, report_lun_header, sizeof(*report_lun_header)); in pqi_report_phys_logical_luns()
1139 get_unaligned_be32(&((struct report_lun_header *)lun_data)->list_length); in pqi_report_phys_logical_luns()
1148 kfree(report_lun_header); in pqi_report_phys_logical_luns()
1168 struct report_lun_header *rpl_header; in pqi_report_phys_luns()
1195 …rpl_16byte_wwid_list_length = sizeof(struct report_lun_header) + (num_physicals * sizeof(struct re… in pqi_report_phys_luns()
1236 struct report_lun_header report_lun_header; in pqi_get_device_lists() local
1258 memset(&report_lun_header, 0, sizeof(report_lun_header)); in pqi_get_device_lists()
1260 (struct report_log_lun_list *)&report_lun_header; in pqi_get_device_lists()
1264 logdev_data_length = sizeof(struct report_lun_header) + in pqi_get_device_lists()