Lines Matching refs:file_len
781 u32 file_len, fifo_len = 0, prph_len = 0, radio_len = 0; in iwl_fw_error_dump_file() local
817 file_len = sizeof(*dump_file) + fifo_len + prph_len + radio_len; in iwl_fw_error_dump_file()
820 file_len += sizeof(*dump_data) + sizeof(*dump_info); in iwl_fw_error_dump_file()
822 file_len += sizeof(*dump_data) + sizeof(*dump_smem_cfg); in iwl_fw_error_dump_file()
830 ADD_LEN(file_len, sram_len, hdr_len); in iwl_fw_error_dump_file()
833 ADD_LEN(file_len, smem_len, hdr_len); in iwl_fw_error_dump_file()
834 ADD_LEN(file_len, sram2_len, hdr_len); in iwl_fw_error_dump_file()
837 ADD_LEN(file_len, le32_to_cpu(fw_mem[i].len), hdr_len); in iwl_fw_error_dump_file()
842 file_len += fwrt->num_of_paging_blk * in iwl_fw_error_dump_file()
848 file_len += sizeof(*dump_data) + in iwl_fw_error_dump_file()
854 file_len = sizeof(*dump_file) + sizeof(*dump_data) * 2 + in iwl_fw_error_dump_file()
860 file_len += sizeof(*dump_data) + sizeof(*dump_trig) + in iwl_fw_error_dump_file()
863 dump_file = vzalloc(file_len); in iwl_fw_error_dump_file()
1009 dump_file->file_len = cpu_to_le32(file_len); in iwl_fw_error_dump_file()
2717 hdr->file_len = cpu_to_le32(size + entry->size); in iwl_dump_ini_file_gen()
2721 return le32_to_cpu(hdr->file_len); in iwl_dump_ini_file_gen()
2742 u32 file_len; in iwl_fw_error_dump() local
2755 file_len = le32_to_cpu(dump_file->file_len); in iwl_fw_error_dump()
2756 fw_error_dump.fwrt_len = file_len; in iwl_fw_error_dump()
2759 file_len += fw_error_dump.trans_ptr->len; in iwl_fw_error_dump()
2760 dump_file->file_len = cpu_to_le32(file_len); in iwl_fw_error_dump()
2763 sg_dump_data = alloc_sgtable(file_len); in iwl_fw_error_dump()
2775 dev_coredumpsg(fwrt->trans->dev, sg_dump_data, file_len, in iwl_fw_error_dump()
2805 u32 file_len = iwl_dump_ini_file_gen(fwrt, dump_data, &dump_list); in iwl_fw_error_ini_dump() local
2807 if (!file_len) in iwl_fw_error_ini_dump()
2810 sg_dump_data = alloc_sgtable(file_len); in iwl_fw_error_ini_dump()
2821 dev_coredumpsg(fwrt->trans->dev, sg_dump_data, file_len, in iwl_fw_error_ini_dump()