Lines Matching refs:p_filesz
52 ptr, phdr->p_filesz); in mdt_load_split_segment()
59 if (seg_fw->size != phdr->p_filesz) { in mdt_load_split_segment()
160 ehdr_size = phdrs[0].p_filesz; in qcom_mdt_read_metadata()
161 hash_size = phdrs[hash_segment].p_filesz; in qcom_mdt_read_metadata()
172 hash_offset = phdrs[0].p_filesz; in qcom_mdt_read_metadata()
283 if (!phdrs[i].p_filesz) in qcom_mdt_bins_are_split()
287 seg_end = phdrs[i].p_offset + phdrs[i].p_filesz; in qcom_mdt_bins_are_split()
359 if (phdr->p_filesz > phdr->p_memsz) { in __qcom_mdt_load()
369 if (phdr->p_filesz && !is_split) { in __qcom_mdt_load()
371 if (phdr->p_offset + phdr->p_filesz > fw->size) { in __qcom_mdt_load()
378 memcpy(ptr, fw->data + phdr->p_offset, phdr->p_filesz); in __qcom_mdt_load()
379 } else if (phdr->p_filesz) { in __qcom_mdt_load()
386 if (phdr->p_memsz > phdr->p_filesz) in __qcom_mdt_load()
387 memset(ptr + phdr->p_filesz, 0, phdr->p_memsz - phdr->p_filesz); in __qcom_mdt_load()