Searched refs:elf16_to_cpu (Results 1 – 1 of 1) sorted by relevance
49 static uint16_t elf16_to_cpu(const struct elfhdr *ehdr, uint16_t value) in elf16_to_cpu() function145 if (elf16_to_cpu(ehdr, buf_ehdr->e_ehsize) != sizeof(*buf_ehdr)) { in elf_read_ehdr()150 ehdr->e_type = elf16_to_cpu(ehdr, buf_ehdr->e_type); in elf_read_ehdr()151 ehdr->e_machine = elf16_to_cpu(ehdr, buf_ehdr->e_machine); in elf_read_ehdr()154 ehdr->e_phentsize = elf16_to_cpu(ehdr, buf_ehdr->e_phentsize); in elf_read_ehdr()155 ehdr->e_phnum = elf16_to_cpu(ehdr, buf_ehdr->e_phnum); in elf_read_ehdr()156 ehdr->e_shentsize = elf16_to_cpu(ehdr, buf_ehdr->e_shentsize); in elf_read_ehdr()157 ehdr->e_shnum = elf16_to_cpu(ehdr, buf_ehdr->e_shnum); in elf_read_ehdr()158 ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); in elf_read_ehdr()