Lines Matching refs:p_filesz
41 i, dst, (ulong)phdr->p_filesz); in load_elf64_image_phdr()
42 if (phdr->p_filesz) in load_elf64_image_phdr()
43 memcpy(dst, src, phdr->p_filesz); in load_elf64_image_phdr()
44 if (phdr->p_filesz != phdr->p_memsz) in load_elf64_image_phdr()
45 memset(dst + phdr->p_filesz, 0x00, in load_elf64_image_phdr()
46 phdr->p_memsz - phdr->p_filesz); in load_elf64_image_phdr()
156 i, dst, phdr->p_filesz); in load_elf_image_phdr()
157 if (phdr->p_filesz) in load_elf_image_phdr()
158 memcpy(dst, src, phdr->p_filesz); in load_elf_image_phdr()
159 if (phdr->p_filesz != phdr->p_memsz) in load_elf_image_phdr()
160 memset(dst + phdr->p_filesz, 0x00, in load_elf_image_phdr()
161 phdr->p_memsz - phdr->p_filesz); in load_elf_image_phdr()