Lines Matching full:segment
35 unsigned int segment, const char *fw_name, in mdt_load_split_segment() argument
38 const struct elf32_phdr *phdr = &phdrs[segment]; in mdt_load_split_segment()
50 sprintf(seg_name + strlen(fw_name) - 3, "b%02d", segment); in mdt_load_split_segment()
61 "failed to load segment %d from truncated file %s\n", in mdt_load_split_segment()
62 segment, seg_name); in mdt_load_split_segment()
111 * @fw_name: name of the firmware, for construction of segment file names
115 * expects an ELF header directly followed by the segment of hashes, with no
156 dev_err(dev, "no hash segment found in %s\n", fw_name); in qcom_mdt_read_metadata()
175 /* Hash is in its own segment, but within the loaded file */ in qcom_mdt_read_metadata()
179 /* Hash is in its own segment, beyond the loaded file */ in qcom_mdt_read_metadata()
197 * @fw_name: name of the firmware, for construction of segment file names
334 * The image is relocatable, so offset each segment based on in __qcom_mdt_load()
335 * the lowest segment address. in __qcom_mdt_load()
340 * Image is not relocatable, so offset each segment based on in __qcom_mdt_load()
354 dev_err(dev, "segment outside memory range\n"); in __qcom_mdt_load()
361 "refusing to load segment %d with p_filesz > p_memsz\n", in __qcom_mdt_load()
372 dev_err(dev, "file %s segment %d would be truncated\n", in __qcom_mdt_load()
400 * @firmware: name of the firmware, for construction of segment file names
429 * @firmware: name of the firmware, for construction of segment file names