Lines Matching defs:flash_file_system
476 const struct flash_partition_entry *flash_file_system = &flash_parts[8];
486 assert(strcmp(flash_file_system->name, "file-system") == 0);
495 if (image_file_system->size > flash_file_system->size)
496 error(1, 0, "rootfs image too big (more than %u bytes)", (unsigned)flash_file_system->size);
498 *len = flash_file_system->base - flash_os_image->base + image_file_system->size;
509 memcpy(image + flash_file_system->base - flash_os_image->base, image_file_system->data, image_file_system->size);
516 const struct flash_partition_entry *flash_file_system = &flash_parts[12];
522 assert(strcmp(flash_file_system->name, "file-system") == 0);
529 if (image_file_system->size > flash_file_system->size)
530 error(1, 0, "rootfs image too big (more than %u bytes)", (unsigned)flash_file_system->size);
532 *len = flash_file_system->base - flash_os_image->base + image_file_system->size;
541 memcpy(image + flash_file_system->base - flash_os_image->base, image_file_system->data, image_file_system->size);
548 const struct flash_partition_entry *flash_file_system = &flash_parts[2];
554 assert(strcmp(flash_file_system->name, "file-system") == 0);
561 if (image_file_system->size > flash_file_system->size)
562 error(1, 0, "rootfs image too big (more than %u bytes)", (unsigned)flash_file_system->size);
564 *len = flash_file_system->base - flash_os_image->base + image_file_system->size;
573 memcpy(image + flash_file_system->base - flash_os_image->base, image_file_system->data, image_file_system->size);