Home
last modified time | relevance | path

Searched refs:fdt_totalsize (Results 1 – 25 of 28) sorted by relevance

12

/external/dtc/libfdt/
Dfdt.c20 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()
Dfdt_sw.c71 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()
Dfdt_check.c28 if (bufsize < fdt_totalsize(fdt)) in fdt_check_full()
Dfdt_rw.c21 || (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/
Dfdtoverlay.c56 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()
Dfdtdump.c172 fdt_totalsize(p) >= len || in valid_header()
Dfdtput.c121 int new_sz = fdt_totalsize(fdt) + delta; in realloc_fdt()
/external/dtc/tests/
Ddel_property.c32 oldsize = fdt_totalsize(fdt); in main()
62 delsize = fdt_totalsize(fdt); in main()
68 newsize = fdt_totalsize(fdt); in main()
Dtestutils.c257 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()
Dnopulate.c69 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()
Ddel_node.c31 oldsize = fdt_totalsize(fdt); in main()
95 delsize = fdt_totalsize(fdt); in main()
101 newsize = fdt_totalsize(fdt); in main()
Dopen_pack.c32 oldsize = fdt_totalsize(fdt); in main()
53 packsize = fdt_totalsize(fdt1); in main()
Dmove_and_save.c33 shuntsize = ALIGN(fdt_totalsize(fdt) / 2, sizeof(uint64_t)); in main()
34 bufsize = fdt_totalsize(fdt) + shuntsize; in main()
Dtruncated_property.c26 vg_prepare_blob(fdt, fdt_totalsize(fdt)); in main()
Ddumptrees.c52 size = fdt_totalsize(blob); in main()
Dadd_subnode_with_nops.c55 fdt_totalsize(fdt)); in main()
Dtruncated_string.c27 vg_prepare_blob(fdt, fdt_totalsize(fdt)); in main()
Dcheck_header.c16 size_t bufsize = fdt_totalsize(dt); in dtdup()
Ddtb_reverse.c133 bufsize = fdt_totalsize(in); in main()
Dsw_tree1.c221 fdt_totalsize(fdt)); in main()
/external/arm-trusted-firmware/plat/arm/common/
Darm_dyn_cfg.c122 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()
Darm_dyn_cfg_helpers.c218 flush_dcache_range(config_base, fdt_totalsize(dtb)); in arm_set_event_log_info()
/external/arm-trusted-firmware/lib/fconf/
Dfconf_dyn_cfg_getter.c77 uint32_t config_max_size = fdt_totalsize(dtb); in fconf_populate_dtb_registry()
/external/arm-trusted-firmware/plat/common/
Dplat_spmd_manifest.c164 if (mapped_size < fdt_totalsize(pm_addr)) { in plat_spm_core_manifest_load()
/external/dtc/pylibfdt/
Dlibfdt.i215 return fdt_totalsize(self._fdt)
1099 uint32_t fdt_totalsize(const void *fdt);

12