Lines Matching refs:report_lun_header
960 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()
1037 struct report_lun_header report_lun_header; in pqi_get_device_lists() local
1059 memset(&report_lun_header, 0, sizeof(report_lun_header)); in pqi_get_device_lists()
1061 (struct report_log_lun_extended *)&report_lun_header; in pqi_get_device_lists()
1065 logdev_data_length = sizeof(struct report_lun_header) + in pqi_get_device_lists()