Home
last modified time | relevance | path

Searched refs:elf16_to_cpu (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/powerpc/kernel/
Dkexec_elf_64.c69 static uint16_t elf16_to_cpu(const struct elfhdr *ehdr, uint16_t value) in elf16_to_cpu() function
175 if (elf16_to_cpu(ehdr, buf_ehdr->e_ehsize) != sizeof(*buf_ehdr)) { in elf_read_ehdr()
180 ehdr->e_type = elf16_to_cpu(ehdr, buf_ehdr->e_type); in elf_read_ehdr()
181 ehdr->e_machine = elf16_to_cpu(ehdr, buf_ehdr->e_machine); in elf_read_ehdr()
187 ehdr->e_phentsize = elf16_to_cpu(ehdr, buf_ehdr->e_phentsize); in elf_read_ehdr()
188 ehdr->e_phnum = elf16_to_cpu(ehdr, buf_ehdr->e_phnum); in elf_read_ehdr()
189 ehdr->e_shentsize = elf16_to_cpu(ehdr, buf_ehdr->e_shentsize); in elf_read_ehdr()
190 ehdr->e_shnum = elf16_to_cpu(ehdr, buf_ehdr->e_shnum); in elf_read_ehdr()
191 ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); in elf_read_ehdr()
/Linux-v4.19/arch/mips/boot/tools/
Drelocs.c161 static uint16_t elf16_to_cpu(uint16_t val) in elf16_to_cpu() function
185 #define elf_half_to_cpu(x) elf16_to_cpu(x)
/Linux-v4.19/arch/x86/tools/
Drelocs.c308 static uint16_t elf16_to_cpu(uint16_t val) in elf16_to_cpu() function
318 #define elf_half_to_cpu(x) elf16_to_cpu(x)