| /u-boot/scripts/dtc/libfdt/ |
| A D | fdt.c | 20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() 99 if ((fdt_totalsize(fdt) < hdrsize) in fdt_check_header() 100 || (fdt_totalsize(fdt) > INT_MAX)) in fdt_check_header() 104 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 112 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 116 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 123 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 143 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr() 314 if (fdt_totalsize(fdt) > (unsigned int)bufsize) in fdt_move() 317 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
|
| A D | fdt_sw.c | 74 if (fdt_off_dt_strings(fdt) != fdt_totalsize(fdt)) in fdt_sw_probe_struct_() 102 spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) in fdt_grab_space_() 164 if (fdt_chk_extra() && (headsize + tailsize) > fdt_totalsize(fdt)) in fdt_resize() 170 oldtail = (char *)fdt + fdt_totalsize(fdt) - tailsize; in fdt_resize() 198 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry() 217 fdt_set_off_dt_strings(fdt, fdt_totalsize(fdt)); in fdt_finish_reservemap() 254 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_add_string_() 261 if (fdt_totalsize(fdt) - offset < struct_top) in fdt_add_string_() 280 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_find_add_string_() 356 oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); in fdt_finish()
|
| A D | fdt_rw.c | 23 || (fdt_totalsize(fdt) < in fdt_blocks_misordered_() 65 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in fdt_splice_() 422 const char *fdtend = fdtstart + fdt_totalsize(fdt); in fdt_open_into()
|
| /u-boot/cmd/ |
| A D | spl.c | 123 env_set_hex("fdtargslen", fdt_totalsize(images.ft_addr)); in spl_export() 125 if (fdt_totalsize(images.ft_addr) > in spl_export()
|
| A D | fdt.c | 215 if (len < fdt_totalsize(blob)) { in do_fdt() 218 len, fdt_totalsize(blob)); in do_fdt() 256 len = fdt_totalsize(working_fdt); in do_fdt() 259 if (len < fdt_totalsize(working_fdt)) { in do_fdt() 262 len, fdt_totalsize(working_fdt)); in do_fdt() 583 printf("totalsize:\t\t0x%x (%d)\n", fdt_totalsize(working_fdt), in do_fdt() 584 fdt_totalsize(working_fdt)); in do_fdt()
|
| A D | bootefi.c | 204 fdt_pages = efi_size_in_pages(fdt_totalsize(fdt) + 0x3000); in copy_fdt() 215 memcpy(new_fdt, fdt, fdt_totalsize(fdt)); in copy_fdt()
|
| /u-boot/arch/mips/mach-mtmips/ |
| A D | spl.c | 42 return (unsigned long)uboot_base + fdt_totalsize(uboot_base); in spl_nor_get_uboot_base()
|
| /u-boot/arch/riscv/lib/ |
| A D | fdt_fixup.c | 52 err = fdt_open_into(dst, dst, fdt_totalsize(dst) + 1024); in riscv_fdt_copy_resv_mem_node() 143 size = fdt_totalsize(blob); in arch_fixup_fdt()
|
| /u-boot/test/dm/ |
| A D | fdtdec.c | 22 blob_sz = fdt_totalsize(gd->fdt_blob) + 4096; in dm_test_fdtdec_set_carveout() 71 blob_sz = fdt_totalsize(gd->fdt_blob) + 128; in dm_test_fdtdec_add_reserved_memory()
|
| /u-boot/tools/libfdt/ |
| A D | fdt_rw.c | 9 int size = fdt_totalsize(old); in fdt_remove_unused_strings()
|
| /u-boot/boot/ |
| A D | boot_fit.c | 64 size = fdt_totalsize(fit); in locate_dtb_in_fit()
|
| A D | image-fdt.c | 522 if (fdt_totalsize(fdt_blob) != fdt_len) { in boot_get_fdt() 549 if (fdt_totalsize(fdt_blob) != fdt_len) in boot_get_fdt() 571 *of_size = fdt_totalsize(fdt_blob); in boot_get_fdt() 687 (phys_size_t)fdt_totalsize(blob)); in image_setup_libfdt()
|
| A D | image-android-dt.c | 89 fdt_size = fdt_totalsize(fdt); in android_dt_print_fdt_info()
|
| A D | image-android.c | 634 dtb_size = fdt_totalsize(fdt); in android_image_get_dtb_by_index() 730 fdt_size = fdt_totalsize(fdt); in android_image_print_dtb_info() 804 dtb_size = fdt_totalsize(fdt); in android_image_print_dtb_contents()
|
| A D | vbe_simple_fw.c | 74 size = fdt_totalsize(sbuf); in vbe_simple_read_bootflow_fw()
|
| /u-boot/arch/arm/mach-imx/ |
| A D | spl.c | 347 offset = ALIGN(fdt_totalsize(fit), 0x1000); in spl_load_simple_fit_fix_load() 348 size = ALIGN(fdt_totalsize(fit), 4); in spl_load_simple_fit_fix_load()
|
| /u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
| A D | ppa.c | 140 fw_length = fdt_totalsize(fitp); in ppa_init() 207 fw_length = fdt_totalsize(&fit); in ppa_init()
|
| /u-boot/tools/ |
| A D | fit_image.c | 436 return fdt_totalsize(fdt); in fit_build_fdt() 514 fit_size = fdt_totalsize(fdt); in fit_extract_data() 567 new_size = fdt_totalsize(fdt); in fit_extract_data() 570 debug("Size reduced from %x to %x\n", fit_size, fdt_totalsize(fdt)); in fit_extract_data() 629 fit_size = fdt_totalsize(old_fdt); in fit_import_data() 686 new_size = fdt_totalsize(fdt); in fit_import_data()
|
| A D | fdtgrep.c | 253 fprintf(f, "// totalsize:\t\t0x%x (%d)\n", fdt_totalsize(blob), in display_fdt_by_regions() 254 fdt_totalsize(blob)); in display_fdt_by_regions() 847 int size = fdt_totalsize(blob) + 16; in do_fdtgrep() 880 size = fdt_totalsize(fdt); in do_fdtgrep()
|
| /u-boot/test/ |
| A D | test-main.c | 96 fdt_totalsize(gd->fdt_blob)); in dm_test_pre_run() 124 chksum = crc8(0, gd->fdt_blob, fdt_totalsize(gd->fdt_blob)); in dm_test_post_run() 623 uts.fdt_size = fdt_totalsize(gd->fdt_blob); in ut_run_list()
|
| /u-boot/common/ |
| A D | splash_source.c | 372 fit_size = fdt_totalsize(img_header); in splash_load_fit() 408 fit_size = ALIGN(fdt_totalsize(fit_header), 4); in splash_load_fit()
|
| /u-boot/lib/efi_loader/ |
| A D | efi_dt_fixup.c | 166 total_size = fdt_totalsize(dtb); in efi_dt_fixup()
|
| /u-boot/common/spl/ |
| A D | spl_spi.c | 137 roundup(fdt_totalsize(header), 4), in spl_spi_load_image()
|
| /u-boot/arch/sandbox/cpu/ |
| A D | state.c | 30 size = fdt_totalsize(blob); in state_ensure_space() 292 size = fdt_totalsize(state->state_fdt); in sandbox_write_state()
|
| /u-boot/test/cmd/ |
| A D | fdt.c | 257 ts = fdt_totalsize(fdt); in fdt_test_move() 291 ts = fdt_totalsize(fdt); in fdt_test_resize() 298 ut_asserteq(ts + newsize, fdt_totalsize(fdt)); in fdt_test_resize() 1144 ut_assert_nextline("totalsize:\t\t0x%x (%d)", fdt_totalsize(fdt), fdt_totalsize(fdt)); in fdt_test_header() 1159 fdt_test_header_get(uts, "totalsize", fdt_totalsize(fdt)); in fdt_test_header()
|