Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
Dkexec_elf.c39 static uint32_t elf32_to_cpu(const struct elfhdr *ehdr, uint32_t value) in elf32_to_cpu() function
152 ehdr->e_version = elf32_to_cpu(ehdr, buf_ehdr->e_version); in elf_read_ehdr()
153 ehdr->e_flags = elf32_to_cpu(ehdr, buf_ehdr->e_flags); in elf_read_ehdr()
168 ehdr->e_entry = elf32_to_cpu(ehdr, buf_ehdr->e_entry); in elf_read_ehdr()
169 ehdr->e_phoff = elf32_to_cpu(ehdr, buf_ehdr->e_phoff); in elf_read_ehdr()
170 ehdr->e_shoff = elf32_to_cpu(ehdr, buf_ehdr->e_shoff); in elf_read_ehdr()
215 phdr->p_type = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_type); in elf_read_phdr()
216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()
229 phdr->p_offset = elf32_to_cpu(ehdr, buf_phdr->p_offset); in elf_read_phdr()
230 phdr->p_paddr = elf32_to_cpu(ehdr, buf_phdr->p_paddr); in elf_read_phdr()
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/tools/
Drelocs.c169 static uint32_t elf32_to_cpu(uint32_t val) in elf32_to_cpu() function
186 #define elf_word_to_cpu(x) elf32_to_cpu(x)
200 #define elf_addr_to_cpu(x) elf32_to_cpu(x)
201 #define elf_off_to_cpu(x) elf32_to_cpu(x)
202 #define elf_xword_to_cpu(x) elf32_to_cpu(x)
398 ELF_R_SYM(rel->r_info) = elf32_to_cpu(ELF_R_SYM(rel->r_info)); in read_relocs()
/kernel/linux/linux-5.10/arch/x86/tools/
Drelocs.c316 static uint32_t elf32_to_cpu(uint32_t val) in elf32_to_cpu() function
322 #define elf_word_to_cpu(x) elf32_to_cpu(x)
333 #define elf_addr_to_cpu(x) elf32_to_cpu(x)
334 #define elf_off_to_cpu(x) elf32_to_cpu(x)
335 #define elf_xword_to_cpu(x) elf32_to_cpu(x)