Lines Matching defs:offset
57 read_uimage_header(struct mtd_info *mtd, size_t offset, u_char *buf,
63 ret = mtd_read(mtd, offset, header_len, &retlen, buf);
80 * @find_header: function to call for a block of data that will return offset
91 size_t offset;
112 for (offset = 0; offset < master->size; offset += master->erasesize) {
117 ret = read_uimage_header(master, offset, buf, MAX_HEADER_LEN);
123 pr_debug("no valid uImage found in \"%s\" at offset %llx\n",
124 master->name, (unsigned long long) offset);
130 if ((offset + uimage_size) > master->size) {
144 uimage_offset = offset;
165 /* check rootfs presence at offset 0 */
184 parts[uimage_part].offset = uimage_offset;
191 parts[rf_part].offset = rootfs_offset;