Lines Matching refs:shdr

349 static int pe_load_pmem_section(int id, const void *data, Elf32_Shdr *shdr)  in pe_load_pmem_section()  argument
351 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_pmem_section()
352 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_pmem_section()
353 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_pmem_section()
354 u32 type = be32_to_cpu(shdr->sh_type); in pe_load_pmem_section()
400 static int pe_load_dmem_section(int id, const void *data, Elf32_Shdr *shdr) in pe_load_dmem_section() argument
402 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_dmem_section()
403 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_dmem_section()
404 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_dmem_section()
405 u32 type = be32_to_cpu(shdr->sh_type); in pe_load_dmem_section()
457 static int pe_load_ddr_section(int id, const void *data, Elf32_Shdr *shdr) in pe_load_ddr_section() argument
459 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_ddr_section()
460 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_ddr_section()
461 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_ddr_section()
462 u32 type = be32_to_cpu(shdr->sh_type); in pe_load_ddr_section()
463 u32 flags = be32_to_cpu(shdr->sh_flags); in pe_load_ddr_section()
541 static int pe_load_pe_lmem_section(int id, const void *data, Elf32_Shdr *shdr) in pe_load_pe_lmem_section() argument
543 u32 offset = be32_to_cpu(shdr->sh_offset); in pe_load_pe_lmem_section()
544 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_pe_lmem_section()
545 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_pe_lmem_section()
546 u32 type = be32_to_cpu(shdr->sh_type); in pe_load_pe_lmem_section()
596 int pe_load_elf_section(int id, const void *data, Elf32_Shdr *shdr) in pe_load_elf_section() argument
598 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_elf_section()
599 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_elf_section()
602 return pe_load_dmem_section(id, data, shdr); in pe_load_elf_section()
604 return pe_load_pmem_section(id, data, shdr); in pe_load_elf_section()
608 return pe_load_ddr_section(id, data, shdr); in pe_load_elf_section()
610 return pe_load_pe_lmem_section(id, data, shdr); in pe_load_elf_section()