Lines Matching defs:fwdt
3832 struct fwdt *fwdt = ha->fwdt;
3835 for (j = 0; j < 2; j++, fwdt++) {
3836 if (!fwdt->template) {
3838 "-> fwdt%u no template\n", j);
3842 "-> fwdt%u calculating fwdump size...\n", j);
3843 fwdt->dump_size = qla27xx_fwdt_calculate_dump_size(
3844 vha, fwdt->template);
3846 "-> fwdt%u calculated fwdump size = %#lx bytes\n",
3847 j, fwdt->dump_size);
3848 dump_size += fwdt->dump_size;
3851 dump_size += ha->fwdt[1].dump_size;
3902 ha->fwdt[1].dump_size;
8415 struct fwdt *fwdt = ha->fwdt;
8478 for (j = 0; j < templates; j++, fwdt++) {
8479 vfree(fwdt->template);
8480 fwdt->template = NULL;
8481 fwdt->length = 0;
8487 "-> fwdt%u template array at %#x (%#x dwords)\n",
8491 "-> fwdt%u failed to read array\n", j);
8500 "-> fwdt%u template allocate template %#x words...\n",
8502 fwdt->template = vmalloc_array(risc_size, sizeof(*dcode));
8503 if (!fwdt->template) {
8505 "-> fwdt%u failed allocate template.\n", j);
8509 dcode = fwdt->template;
8514 "-> fwdt%u failed template validate\n", j);
8520 "-> fwdt%u template size %#lx bytes (%#lx words)\n",
8524 "-> fwdt%u template exceeds array (%-lu bytes)\n",
8529 fwdt->length = dlen;
8531 "-> fwdt%u loaded template ok\n", j);
8539 vfree(fwdt->template);
8540 fwdt->template = NULL;
8541 fwdt->length = 0;
8662 struct fwdt *fwdt = ha->fwdt;
8734 for (j = 0; j < templates; j++, fwdt++) {
8735 vfree(fwdt->template);
8736 fwdt->template = NULL;
8737 fwdt->length = 0;
8741 "-> fwdt%u template array at %#x (%#x dwords)\n",
8746 "-> fwdt%u failed to read array\n", j);
8755 "-> fwdt%u template allocate template %#x words...\n",
8757 fwdt->template = vmalloc_array(risc_size, sizeof(*dcode));
8758 if (!fwdt->template) {
8760 "-> fwdt%u failed allocate template.\n", j);
8764 dcode = fwdt->template;
8770 "-> fwdt%u failed template validate\n", j);
8776 "-> fwdt%u template size %#lx bytes (%#lx words)\n",
8780 "-> fwdt%u template exceeds array (%-lu bytes)\n",
8785 fwdt->length = dlen;
8787 "-> fwdt%u loaded template ok\n", j);
8795 vfree(fwdt->template);
8796 fwdt->template = NULL;
8797 fwdt->length = 0;