fwdt
} fwdt[2];
struct fwdt *fwdt = ha->fwdt;
for (j = 0; j < 2; j++, fwdt++) {
if (!fwdt->template) {
fwdt->dump_size = qla27xx_fwdt_calculate_dump_size(
vha, fwdt->template);
j, fwdt->dump_size);
dump_size += fwdt->dump_size;
dump_size += ha->fwdt[1].dump_size;
ha->fwdt[1].dump_size;
struct fwdt *fwdt = ha->fwdt;
for (j = 0; j < templates; j++, fwdt++) {
vfree(fwdt->template);
fwdt->template = NULL;
fwdt->length = 0;
fwdt->template = vmalloc(risc_size * sizeof(*dcode));
if (!fwdt->template) {
dcode = fwdt->template;
fwdt->length = dlen;
vfree(fwdt->template);
fwdt->template = NULL;
fwdt->length = 0;
struct fwdt *fwdt = ha->fwdt;
for (j = 0; j < templates; j++, fwdt++) {
vfree(fwdt->template);
fwdt->template = NULL;
fwdt->length = 0;
fwdt->template = vmalloc_array(risc_size, sizeof(*dcode));
if (!fwdt->template) {
dcode = fwdt->template;
fwdt->length = dlen;
vfree(fwdt->template);
fwdt->template = NULL;
fwdt->length = 0;
struct fwdt *fwdt = ha->fwdt;
for (j = 0; j < templates; j++, fwdt++) {
vfree(fwdt->template);
fwdt->template = NULL;
fwdt->length = 0;
fwdt->template = vmalloc_array(risc_size, sizeof(*dcode));
if (!fwdt->template) {
dcode = fwdt->template;
fwdt->length = dlen;
vfree(fwdt->template);
fwdt->template = NULL;
fwdt->length = 0;
struct fwdt *fwdt = ha->fwdt;
for (j = 0; j < 2; j++, fwdt++) {
vfree(fwdt->template);
fwdt->template = NULL;
fwdt->length = 0;
struct fwdt *fwdt = &vha->hw->fwdt[1];
buf += fwdt->dump_size;
if (!fwdt->template) {
len = qla27xx_execute_fwdt_template(vha, fwdt->template, buf);
} else if (len != fwdt->dump_size) {
fwdt->dump_size - len);
struct fwdt *fwdt = vha->hw->fwdt;
if (!fwdt->template) {
len = qla27xx_execute_fwdt_template(vha, fwdt->template, buf);
} else if (len != fwdt->dump_size) {
fwdt->dump_size - len);