Lines Matching refs:image_partition_entry

57 struct image_partition_entry {
237 static struct image_partition_entry alloc_image_partition(const char *name, size_t len) {
238 struct image_partition_entry entry = {name, len, malloc(len)};
246 static void free_image_partition(struct image_partition_entry entry) {
251 static struct image_partition_entry make_partition_table(const struct flash_partition_entry *p) {
252 struct image_partition_entry entry = alloc_image_partition("partition-table", 0x800);
287 static struct image_partition_entry make_soft_version(uint32_t rev) {
288 struct image_partition_entry entry = alloc_image_partition("soft-version", sizeof(struct soft_version));
318 static struct image_partition_entry make_support_list(const char *support_list, bool trailzero) {
320 struct image_partition_entry entry = alloc_image_partition("support-list", len + 9);
331 static struct image_partition_entry read_file(const char *part_name, const char *filename, bool add_jffs2_eof) {
342 struct image_partition_entry entry = alloc_image_partition(part_name, len);
391 static void put_partitions(uint8_t *buffer, const struct image_partition_entry *parts) {
441 static void * generate_factory_image(const char *vendor, const struct image_partition_entry *parts, size_t *len) {
472 static void * generate_sysupgrade_image(const struct flash_partition_entry *flash_parts, const struct image_partition_entry *image_parts, size_t *len) {
478 const struct image_partition_entry *image_os_image = &image_parts[3];
479 const struct image_partition_entry *image_soft_version = &image_parts[1];
480 const struct image_partition_entry *image_support_list = &image_parts[2];
481 const struct image_partition_entry *image_file_system = &image_parts[4];
514 static void * generate_sysupgrade_image_c2600(const struct flash_partition_entry *flash_parts, const struct image_partition_entry *image_parts, size_t *len) {
518 const struct image_partition_entry *image_os_image = &image_parts[3];
519 const struct image_partition_entry *image_file_system = &image_parts[4];
546 static void * generate_sysupgrade_image_tl1043ndv4(const struct flash_partition_entry *flash_parts, const struct image_partition_entry *image_parts, size_t *len) {
550 const struct image_partition_entry *image_os_image = &image_parts[3];
551 const struct image_partition_entry *image_file_system = &image_parts[4];
580 struct image_partition_entry parts[6] = {};
613 struct image_partition_entry parts[6] = {};
646 struct image_partition_entry parts[6] = {};