Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Dkexec_elf.c49 static uint16_t elf16_to_cpu(const struct elfhdr *ehdr, uint16_t value) in elf16_to_cpu() function
145 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()
/Linux-v5.4/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-v5.4/arch/x86/tools/
Drelocs.c311 static uint16_t elf16_to_cpu(uint16_t val) in elf16_to_cpu() function
321 #define elf_half_to_cpu(x) elf16_to_cpu(x)