Lines Matching defs:segment
35 unsigned int segment, const char *fw_name,
38 const struct elf32_phdr *phdr = &phdrs[segment];
50 sprintf(seg_name + strlen(fw_name) - 3, "b%02d", segment);
61 "failed to load segment %d from truncated file %s\n",
62 segment, seg_name);
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);
175 /* Hash is in its own segment, but within the loaded file */
179 /* Hash is in its own segment, beyond the loaded file */
197 * @fw_name: name of the firmware, for construction of segment file names
334 * The image is relocatable, so offset each segment based on
335 * the lowest segment address.
340 * Image is not relocatable, so offset each segment based on
354 dev_err(dev, "segment outside memory range\n");
361 "refusing to load segment %d with p_filesz > p_memsz\n",
372 dev_err(dev, "file %s segment %d would be truncated\n",
400 * @firmware: name of the firmware, for construction of segment file names
429 * @firmware: name of the firmware, for construction of segment file names