Searched refs:fdt_totalsize (Results 1 – 25 of 28) sorted by relevance
12
/external/dtc/libfdt/ |
D | fdt.c | 20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() 102 if ((fdt_totalsize(fdt) < hdrsize) in fdt_check_header() 103 || (fdt_totalsize(fdt) > INT_MAX)) in fdt_check_header() 107 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 115 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 119 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 126 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 142 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr() 311 if (fdt_totalsize(fdt) > bufsize) in fdt_move() 314 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
|
D | fdt_sw.c | 71 fdt_off_dt_strings(fdt) != fdt_totalsize(fdt)) in fdt_sw_probe_struct_() 99 spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) in fdt_grab_space_() 159 headsize + tailsize > fdt_totalsize(fdt)) in fdt_resize() 165 oldtail = (char *)fdt + fdt_totalsize(fdt) - tailsize; in fdt_resize() 193 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry() 212 fdt_set_off_dt_strings(fdt, fdt_totalsize(fdt)); in fdt_finish_reservemap() 249 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_add_string_() 256 if (fdt_totalsize(fdt) + offset < struct_top) in fdt_add_string_() 275 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_find_add_string_() 351 oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); in fdt_finish()
|
D | fdt_check.c | 28 if (bufsize < fdt_totalsize(fdt)) in fdt_check_full()
|
D | fdt_rw.c | 21 || (fdt_totalsize(fdt) < in fdt_blocks_misordered_() 64 if (dsize - oldlen + newlen > fdt_totalsize(fdt)) in fdt_splice_() 421 const char *fdtend = fdtstart + fdt_totalsize(fdt); in fdt_open_into()
|
/external/dtc/ |
D | fdtoverlay.c | 56 tmpo = xmalloc(fdt_totalsize(overlay)); in apply_one() 68 memcpy(tmpo, overlay, fdt_totalsize(overlay)); in apply_one() 107 if (fdt_totalsize(blob) > buf_len) { in do_fdtoverlay() 110 (unsigned long)buf_len, fdt_totalsize(blob)); in do_fdtoverlay() 126 if (fdt_totalsize(ovblob[i]) > ov_len) { in do_fdtoverlay() 130 fdt_totalsize(ovblob[i])); in do_fdtoverlay() 135 buf_len = fdt_totalsize(blob); in do_fdtoverlay()
|
D | fdtdump.c | 172 fdt_totalsize(p) >= len || in valid_header()
|
D | fdtput.c | 121 int new_sz = fdt_totalsize(fdt) + delta; in realloc_fdt()
|
/external/dtc/tests/ |
D | del_property.c | 32 oldsize = fdt_totalsize(fdt); in main() 62 delsize = fdt_totalsize(fdt); in main() 68 newsize = fdt_totalsize(fdt); in main()
|
D | testutils.c | 257 size_memrsv = fdt_totalsize(fdt) - off_memrsv; in vg_prepare_blob() 271 size_strings = fdt_totalsize(fdt) - off_strings; in vg_prepare_blob() 277 size_struct = fdt_totalsize(fdt) - off_struct; in vg_prepare_blob() 284 size_struct = fdt_totalsize(fdt) - off_struct; in vg_prepare_blob() 319 size_t size = fdt_totalsize(fdt); in save_blob() 340 err = fdt_open_into(blob, buf, fdt_totalsize(blob)); in open_blob_rw() 343 int newsize = fdt_totalsize(blob) + 8; in open_blob_rw()
|
D | nopulate.c | 69 fdt2 = xmalloc(fdt_totalsize(fdt) + newsize); in main() 79 fdt_totalsize(fdt) - struct_end_old); in main() 81 fdt_set_totalsize(fdt2, fdt_totalsize(fdt) + delta); in main()
|
D | del_node.c | 31 oldsize = fdt_totalsize(fdt); in main() 95 delsize = fdt_totalsize(fdt); in main() 101 newsize = fdt_totalsize(fdt); in main()
|
D | open_pack.c | 32 oldsize = fdt_totalsize(fdt); in main() 53 packsize = fdt_totalsize(fdt1); in main()
|
D | move_and_save.c | 33 shuntsize = ALIGN(fdt_totalsize(fdt) / 2, sizeof(uint64_t)); in main() 34 bufsize = fdt_totalsize(fdt) + shuntsize; in main()
|
D | truncated_property.c | 26 vg_prepare_blob(fdt, fdt_totalsize(fdt)); in main()
|
D | dumptrees.c | 52 size = fdt_totalsize(blob); in main()
|
D | add_subnode_with_nops.c | 55 fdt_totalsize(fdt)); in main()
|
D | truncated_string.c | 27 vg_prepare_blob(fdt, fdt_totalsize(fdt)); in main()
|
D | check_header.c | 16 size_t bufsize = fdt_totalsize(dt); in dtdup()
|
D | dtb_reverse.c | 133 bufsize = fdt_totalsize(in); in main()
|
D | sw_tree1.c | 221 fdt_totalsize(fdt)); in main()
|
/external/arm-trusted-firmware/plat/arm/common/ |
D | arm_dyn_cfg.c | 122 flush_dcache_range(tb_fw_cfg_dtb, fdt_totalsize(dtb)); in arm_bl1_set_mbedtls_heap() 176 flush_dcache_range(tb_fw_cfg_dtb, fdt_totalsize((void *)tb_fw_cfg_dtb)); in arm_bl1_set_bl2_hash()
|
D | arm_dyn_cfg_helpers.c | 218 flush_dcache_range(config_base, fdt_totalsize(dtb)); in arm_set_event_log_info()
|
/external/arm-trusted-firmware/lib/fconf/ |
D | fconf_dyn_cfg_getter.c | 77 uint32_t config_max_size = fdt_totalsize(dtb); in fconf_populate_dtb_registry()
|
/external/arm-trusted-firmware/plat/common/ |
D | plat_spmd_manifest.c | 164 if (mapped_size < fdt_totalsize(pm_addr)) { in plat_spm_core_manifest_load()
|
/external/dtc/pylibfdt/ |
D | libfdt.i | 215 return fdt_totalsize(self._fdt) 1099 uint32_t fdt_totalsize(const void *fdt);
|
12