Home
last modified time | relevance | path

Searched refs:filesz (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/remoteproc/
Dremoteproc_elf_loader.c178 u64 filesz = elf_phdr_get_p_filesz(class, phdr); local
188 type, da, memsz, filesz);
190 if (filesz > memsz) {
192 filesz, memsz);
197 if (offset + filesz > fw->size) {
199 offset + filesz, fw->size);
221 if (filesz) {
223 memcpy_toio((void __iomem *)ptr, elf_data + offset, filesz);
225 memcpy(ptr, elf_data + offset, filesz);
235 if (memsz > filesz) {
[all …]
Dpru_rproc.c595 u32 filesz = phdr->p_filesz; in pru_rproc_load_elf_segments() local
600 if (phdr->p_type != PT_LOAD || !filesz) in pru_rproc_load_elf_segments()
604 phdr->p_type, da, memsz, filesz); in pru_rproc_load_elf_segments()
606 if (filesz > memsz) { in pru_rproc_load_elf_segments()
608 filesz, memsz); in pru_rproc_load_elf_segments()
613 if (offset + filesz > fw->size) { in pru_rproc_load_elf_segments()
615 offset + filesz, fw->size); in pru_rproc_load_elf_segments()
631 filesz); in pru_rproc_load_elf_segments()
638 memcpy(ptr, elf_data + phdr->p_offset, filesz); in pru_rproc_load_elf_segments()
Dmtk_scp.c248 u32 filesz = phdr->p_filesz; in scp_elf_load_segments() local
253 phdr->p_type, da, memsz, filesz); in scp_elf_load_segments()
257 if (!filesz) in scp_elf_load_segments()
260 if (filesz > memsz) { in scp_elf_load_segments()
262 filesz, memsz); in scp_elf_load_segments()
267 if (offset + filesz > fw->size) { in scp_elf_load_segments()
269 offset + filesz, fw->size); in scp_elf_load_segments()
283 scp_memcpy_aligned(ptr, elf_data + phdr->p_offset, filesz); in scp_elf_load_segments()
/linux-5.19.10/arch/x86/um/
Delfcore.c54 size_t filesz = phdrp[i].p_filesz; in elf_core_write_extra_data() local
55 if (!dump_emit(cprm, addr, filesz)) in elf_core_write_extra_data()