Lines Matching refs:dump_size
3796 uint32_t dump_size, fixed_size, mem_size, req_q_size, rsp_q_size, in qla2x00_alloc_fw_dump() local
3811 dump_size = fixed_size = mem_size = eft_size = fce_size = mq_size = 0; in qla2x00_alloc_fw_dump()
3867 fwdt->dump_size = qla27xx_fwdt_calculate_dump_size( in qla2x00_alloc_fw_dump()
3871 j, fwdt->dump_size); in qla2x00_alloc_fw_dump()
3872 dump_size += fwdt->dump_size; in qla2x00_alloc_fw_dump()
3875 dump_size += ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump()
3879 dump_size = offsetof(struct qla2xxx_fw_dump, isp); in qla2x00_alloc_fw_dump()
3880 dump_size += fixed_size + mem_size + req_q_size + rsp_q_size in qla2x00_alloc_fw_dump()
3882 ha->chain_offset = dump_size; in qla2x00_alloc_fw_dump()
3883 dump_size += mq_size + fce_size; in qla2x00_alloc_fw_dump()
3885 dump_size += sizeof(struct qla2xxx_offld_chain) + in qla2x00_alloc_fw_dump()
3888 dump_size += sizeof(struct qla2xxx_offld_chain) + in qla2x00_alloc_fw_dump()
3892 if (!ha->fw_dump_len || dump_size > ha->fw_dump_alloc_len) { in qla2x00_alloc_fw_dump()
3896 __func__, dump_size, ha->fw_dump_len, in qla2x00_alloc_fw_dump()
3899 fw_dump = vmalloc(dump_size); in qla2x00_alloc_fw_dump()
3903 dump_size / 1024); in qla2x00_alloc_fw_dump()
3910 ha->fw_dump_alloc_len = dump_size; in qla2x00_alloc_fw_dump()
3913 dump_size / 1024); in qla2x00_alloc_fw_dump()
3919 dump_size; in qla2x00_alloc_fw_dump()
3922 dump_size / 1024); in qla2x00_alloc_fw_dump()
3926 ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump()