Lines Matching refs:new_size
415 int fit_size, new_size; in fit_extract_data() local
478 new_size = fdt_totalsize(fdt); in fit_extract_data()
479 new_size = (new_size + 3) & ~3; in fit_extract_data()
482 if (ftruncate(fd, new_size)) { in fit_extract_data()
491 if (params->external_offset < new_size) { in fit_extract_data()
493 params->external_offset, new_size); in fit_extract_data()
497 new_size = params->external_offset; in fit_extract_data()
499 if (lseek(fd, new_size, SEEK_SET) < 0) { in fit_extract_data()
527 int fit_size, new_size, size, data_base; in fit_import_data() local
592 new_size = fdt_totalsize(fdt); in fit_import_data()
593 debug("Size expanded from %x to %x\n", fit_size, new_size); in fit_import_data()
602 if (write(fd, fdt, new_size) != new_size) { in fit_import_data()