Lines Matching refs:dump_size
3468 uint32_t dump_size, fixed_size, mem_size, req_q_size, rsp_q_size, in qla2x00_alloc_fw_dump() local
3475 dump_size = fixed_size = mem_size = eft_size = fce_size = mq_size = 0; in qla2x00_alloc_fw_dump()
3532 fwdt->dump_size = qla27xx_fwdt_calculate_dump_size( in qla2x00_alloc_fw_dump()
3536 j, fwdt->dump_size); in qla2x00_alloc_fw_dump()
3537 dump_size += fwdt->dump_size; in qla2x00_alloc_fw_dump()
3540 dump_size += ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump()
3544 dump_size = offsetof(struct qla2xxx_fw_dump, isp); in qla2x00_alloc_fw_dump()
3545 dump_size += fixed_size + mem_size + req_q_size + rsp_q_size in qla2x00_alloc_fw_dump()
3547 ha->chain_offset = dump_size; in qla2x00_alloc_fw_dump()
3548 dump_size += mq_size + fce_size; in qla2x00_alloc_fw_dump()
3550 dump_size += sizeof(struct qla2xxx_offld_chain) + in qla2x00_alloc_fw_dump()
3553 dump_size += sizeof(struct qla2xxx_offld_chain) + in qla2x00_alloc_fw_dump()
3557 if (!ha->fw_dump_len || dump_size > ha->fw_dump_alloc_len) { in qla2x00_alloc_fw_dump()
3561 __func__, dump_size, ha->fw_dump_len, in qla2x00_alloc_fw_dump()
3564 fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump()
3568 dump_size / 1024); in qla2x00_alloc_fw_dump()
3575 ha->fw_dump_alloc_len = dump_size; in qla2x00_alloc_fw_dump()
3578 dump_size / 1024); in qla2x00_alloc_fw_dump()
3584 dump_size; in qla2x00_alloc_fw_dump()
3587 dump_size / 1024); in qla2x00_alloc_fw_dump()
3591 ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump()