Lines Matching refs:ehdr
44 const struct elf32_hdr *ehdr; in qcom_mdt_get_size() local
49 ehdr = (struct elf32_hdr *)fw->data; in qcom_mdt_get_size()
50 phdrs = (struct elf32_phdr *)(ehdr + 1); in qcom_mdt_get_size()
52 for (i = 0; i < ehdr->e_phnum; i++) { in qcom_mdt_get_size()
89 const struct elf32_hdr *ehdr; in qcom_mdt_read_metadata() local
95 ehdr = (struct elf32_hdr *)fw->data; in qcom_mdt_read_metadata()
96 phdrs = (struct elf32_phdr *)(ehdr + 1); in qcom_mdt_read_metadata()
98 if (ehdr->e_phnum < 2) in qcom_mdt_read_metadata()
136 const struct elf32_hdr *ehdr; in __qcom_mdt_load() local
154 ehdr = (struct elf32_hdr *)fw->data; in __qcom_mdt_load()
155 phdrs = (struct elf32_phdr *)(ehdr + 1); in __qcom_mdt_load()
185 for (i = 0; i < ehdr->e_phnum; i++) { in __qcom_mdt_load()
226 for (i = 0; i < ehdr->e_phnum; i++) { in __qcom_mdt_load()