Lines Matching refs:phdr
3156 SIZEOF_ELF_STRUCT(phdr)
3170 set_xhdr_property(phdr, arg, class, member, value)
3253 void *phdr, *ehdr; in cnss_qcom_elf_dump() local
3285 phdr = data + sizeof_elf_hdr(class); in cnss_qcom_elf_dump()
3288 memset(phdr, 0, sizeof_elf_phdr(class)); in cnss_qcom_elf_dump()
3289 set_phdr_property(phdr, class, p_type, PT_LOAD); in cnss_qcom_elf_dump()
3290 set_phdr_property(phdr, class, p_offset, offset); in cnss_qcom_elf_dump()
3291 set_phdr_property(phdr, class, p_vaddr, segment->da); in cnss_qcom_elf_dump()
3292 set_phdr_property(phdr, class, p_paddr, segment->da); in cnss_qcom_elf_dump()
3293 set_phdr_property(phdr, class, p_filesz, segment->size); in cnss_qcom_elf_dump()
3294 set_phdr_property(phdr, class, p_memsz, segment->size); in cnss_qcom_elf_dump()
3295 set_phdr_property(phdr, class, p_flags, PF_R | PF_W | PF_X); in cnss_qcom_elf_dump()
3296 set_phdr_property(phdr, class, p_align, 0); in cnss_qcom_elf_dump()
3313 phdr += sizeof_elf_phdr(class); in cnss_qcom_elf_dump()