driver_dump 3049 drivers/scsi/ipr.c struct ipr_driver_dump *driver_dump) driver_dump 3053 drivers/scsi/ipr.c ipr_init_dump_entry_hdr(&driver_dump->ioa_type_entry.hdr); driver_dump 3054 drivers/scsi/ipr.c driver_dump->ioa_type_entry.hdr.len = driver_dump 3057 drivers/scsi/ipr.c driver_dump->ioa_type_entry.hdr.data_type = IPR_DUMP_DATA_TYPE_BINARY; driver_dump 3058 drivers/scsi/ipr.c driver_dump->ioa_type_entry.hdr.id = IPR_DUMP_DRIVER_TYPE_ID; driver_dump 3059 drivers/scsi/ipr.c driver_dump->ioa_type_entry.type = ioa_cfg->type; driver_dump 3060 drivers/scsi/ipr.c driver_dump->ioa_type_entry.fw_version = (ucode_vpd->major_release << 24) | driver_dump 3063 drivers/scsi/ipr.c driver_dump->hdr.num_entries++; driver_dump 3075 drivers/scsi/ipr.c struct ipr_driver_dump *driver_dump) driver_dump 3077 drivers/scsi/ipr.c ipr_init_dump_entry_hdr(&driver_dump->version_entry.hdr); driver_dump 3078 drivers/scsi/ipr.c driver_dump->version_entry.hdr.len = driver_dump 3081 drivers/scsi/ipr.c driver_dump->version_entry.hdr.data_type = IPR_DUMP_DATA_TYPE_ASCII; driver_dump 3082 drivers/scsi/ipr.c driver_dump->version_entry.hdr.id = IPR_DUMP_DRIVER_VERSION_ID; driver_dump 3083 drivers/scsi/ipr.c strcpy(driver_dump->version_entry.version, IPR_DRIVER_VERSION); driver_dump 3084 drivers/scsi/ipr.c driver_dump->hdr.num_entries++; driver_dump 3096 drivers/scsi/ipr.c struct ipr_driver_dump *driver_dump) driver_dump 3098 drivers/scsi/ipr.c ipr_init_dump_entry_hdr(&driver_dump->trace_entry.hdr); driver_dump 3099 drivers/scsi/ipr.c driver_dump->trace_entry.hdr.len = driver_dump 3102 drivers/scsi/ipr.c driver_dump->trace_entry.hdr.data_type = IPR_DUMP_DATA_TYPE_BINARY; driver_dump 3103 drivers/scsi/ipr.c driver_dump->trace_entry.hdr.id = IPR_DUMP_TRACE_ID; driver_dump 3104 drivers/scsi/ipr.c memcpy(driver_dump->trace_entry.trace, ioa_cfg->trace, IPR_TRACE_SIZE); driver_dump 3105 drivers/scsi/ipr.c driver_dump->hdr.num_entries++; driver_dump 3117 drivers/scsi/ipr.c struct ipr_driver_dump *driver_dump) driver_dump 3119 drivers/scsi/ipr.c ipr_init_dump_entry_hdr(&driver_dump->location_entry.hdr); driver_dump 3120 drivers/scsi/ipr.c driver_dump->location_entry.hdr.len = driver_dump 3123 drivers/scsi/ipr.c driver_dump->location_entry.hdr.data_type = IPR_DUMP_DATA_TYPE_ASCII; driver_dump 3124 drivers/scsi/ipr.c driver_dump->location_entry.hdr.id = IPR_DUMP_LOCATION_ID; driver_dump 3125 drivers/scsi/ipr.c strcpy(driver_dump->location_entry.location, dev_name(&ioa_cfg->pdev->dev)); driver_dump 3126 drivers/scsi/ipr.c driver_dump->hdr.num_entries++; driver_dump 3141 drivers/scsi/ipr.c struct ipr_driver_dump *driver_dump = &dump->driver_dump; driver_dump 3175 drivers/scsi/ipr.c driver_dump->hdr.eye_catcher = IPR_DUMP_EYE_CATCHER; driver_dump 3178 drivers/scsi/ipr.c driver_dump->hdr.len = sizeof(struct ipr_driver_dump); driver_dump 3179 drivers/scsi/ipr.c driver_dump->hdr.num_entries = 1; driver_dump 3180 drivers/scsi/ipr.c driver_dump->hdr.first_entry_offset = sizeof(struct ipr_dump_header); driver_dump 3181 drivers/scsi/ipr.c driver_dump->hdr.status = IPR_DUMP_STATUS_SUCCESS; driver_dump 3182 drivers/scsi/ipr.c driver_dump->hdr.os = IPR_DUMP_OS_LINUX; driver_dump 3183 drivers/scsi/ipr.c driver_dump->hdr.driver_name = IPR_DUMP_DRIVER_NAME; driver_dump 3185 drivers/scsi/ipr.c ipr_dump_version_data(ioa_cfg, driver_dump); driver_dump 3186 drivers/scsi/ipr.c ipr_dump_location_data(ioa_cfg, driver_dump); driver_dump 3187 drivers/scsi/ipr.c ipr_dump_ioa_type_data(ioa_cfg, driver_dump); driver_dump 3188 drivers/scsi/ipr.c ipr_dump_trace_data(ioa_cfg, driver_dump); driver_dump 3191 drivers/scsi/ipr.c driver_dump->hdr.len += sizeof(struct ipr_dump_entry_header); driver_dump 3224 drivers/scsi/ipr.c driver_dump->hdr.status = IPR_DUMP_STATUS_FAILED; driver_dump 3236 drivers/scsi/ipr.c dump->driver_dump.hdr.len += sizeof(struct ipr_sdt_header); driver_dump 3238 drivers/scsi/ipr.c dump->driver_dump.hdr.len += num_entries * sizeof(struct ipr_sdt_entry); driver_dump 3240 drivers/scsi/ipr.c dump->driver_dump.hdr.len += max_num_entries * sizeof(struct ipr_sdt_entry); driver_dump 3246 drivers/scsi/ipr.c driver_dump->hdr.status = IPR_DUMP_STATUS_QUAL_SUCCESS; driver_dump 3276 drivers/scsi/ipr.c driver_dump->hdr.status = IPR_DUMP_STATUS_QUAL_SUCCESS; driver_dump 3286 drivers/scsi/ipr.c driver_dump->hdr.len += ioa_dump->hdr.len; driver_dump 4278 drivers/scsi/ipr.c if (off > dump->driver_dump.hdr.len) { driver_dump 4283 drivers/scsi/ipr.c if (off + count > dump->driver_dump.hdr.len) { driver_dump 4284 drivers/scsi/ipr.c count = dump->driver_dump.hdr.len - off; driver_dump 4288 drivers/scsi/ipr.c if (count && off < sizeof(dump->driver_dump)) { driver_dump 4289 drivers/scsi/ipr.c if (off + count > sizeof(dump->driver_dump)) driver_dump 4290 drivers/scsi/ipr.c len = sizeof(dump->driver_dump) - off; driver_dump 4293 drivers/scsi/ipr.c src = (u8 *)&dump->driver_dump + off; driver_dump 4300 drivers/scsi/ipr.c off -= sizeof(dump->driver_dump); driver_dump 1726 drivers/scsi/ipr.h struct ipr_driver_dump driver_dump;