Searched refs:elf64_to_cpu (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/kernel/ |
D | kexec_elf.c | 29 static uint64_t elf64_to_cpu(const struct elfhdr *ehdr, uint64_t value) in elf64_to_cpu() function 162 ehdr->e_entry = elf64_to_cpu(ehdr, buf_ehdr->e_entry); in elf_read_ehdr() 163 ehdr->e_phoff = elf64_to_cpu(ehdr, buf_ehdr->e_phoff); in elf_read_ehdr() 164 ehdr->e_shoff = elf64_to_cpu(ehdr, buf_ehdr->e_shoff); in elf_read_ehdr() 220 phdr->p_offset = elf64_to_cpu(ehdr, buf_phdr->p_offset); in elf_read_phdr() 221 phdr->p_paddr = elf64_to_cpu(ehdr, buf_phdr->p_paddr); in elf_read_phdr() 222 phdr->p_vaddr = elf64_to_cpu(ehdr, buf_phdr->p_vaddr); in elf_read_phdr() 223 phdr->p_filesz = elf64_to_cpu(ehdr, buf_phdr->p_filesz); in elf_read_phdr() 224 phdr->p_memsz = elf64_to_cpu(ehdr, buf_phdr->p_memsz); in elf_read_phdr() 225 phdr->p_align = elf64_to_cpu(ehdr, buf_phdr->p_align); in elf_read_phdr()
|
/linux-6.1.9/arch/mips/boot/tools/ |
D | relocs.c | 189 static uint64_t elf64_to_cpu(uint64_t val) in elf64_to_cpu() function 196 #define elf_addr_to_cpu(x) elf64_to_cpu(x) 197 #define elf_off_to_cpu(x) elf64_to_cpu(x) 198 #define elf_xword_to_cpu(x) elf64_to_cpu(x)
|
/linux-6.1.9/arch/x86/tools/ |
D | relocs.c | 336 static uint64_t elf64_to_cpu(uint64_t val) in elf64_to_cpu() function 340 #define elf_addr_to_cpu(x) elf64_to_cpu(x) 341 #define elf_off_to_cpu(x) elf64_to_cpu(x) 342 #define elf_xword_to_cpu(x) elf64_to_cpu(x)
|