Searched refs:struct_start (Results 1 – 2 of 2) sorted by relevance
/external/dtc/tests/ |
D | nopulate.c | 59 int newsize, struct_start, struct_end_old, struct_end_new, delta; in main() local 84 struct_start = fdt_off_dt_struct(fdt); in main() 86 struct_end_old = struct_start + fdt_size_dt_struct(fdt); in main() 87 struct_end_new = struct_start + newsize; in main() 89 memcpy(fdt2, fdt, struct_start); in main() 90 memcpy(fdt2 + struct_start, buf, newsize); in main() 97 if (fdt_off_mem_rsvmap(fdt) > struct_start) in main() 99 if (fdt_off_dt_strings(fdt) > struct_start) in main()
|
/external/u-boot/tools/ |
D | fdtgrep.c | 432 int size, struct_start; in dump_fdt_regions() local 440 struct_start = FDT_ALIGN(sizeof(struct fdt_header), in dump_fdt_regions() 442 fdt_set_off_mem_rsvmap(fdt, struct_start); in dump_fdt_regions() 457 struct_start += region[0].size; in dump_fdt_regions() 460 fdt_set_off_dt_struct(fdt, struct_start); in dump_fdt_regions() 468 fdt_set_off_dt_strings(fdt, struct_start + size - str_size); in dump_fdt_regions() 470 fdt_set_totalsize(fdt, struct_start + size); in dump_fdt_regions()
|