Searched refs:buf_phdr (Results 1 – 1 of 1) sorted by relevance
223 struct elf_phdr *buf_phdr; in elf_read_phdr() local225 pbuf = buf + elf_info->ehdr->e_phoff + (idx * sizeof(*buf_phdr)); in elf_read_phdr()226 buf_phdr = (struct elf_phdr *) pbuf; in elf_read_phdr()228 phdr->p_type = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_type); in elf_read_phdr()229 phdr->p_offset = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_offset); in elf_read_phdr()230 phdr->p_paddr = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_paddr); in elf_read_phdr()231 phdr->p_vaddr = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_vaddr); in elf_read_phdr()232 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()238 phdr->p_filesz = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_filesz); in elf_read_phdr()239 phdr->p_memsz = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_memsz); in elf_read_phdr()[all …]