Home
last modified time | relevance | path

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

/external/dtc/libfdt/
Dfdt_sw.c78 spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) in _fdt_grab_space()
123 oldtail = (char *)fdt + fdt_totalsize(fdt) - tailsize; in fdt_resize()
153 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry()
202 char *strtab = (char *)fdt + fdt_totalsize(fdt); in _fdt_find_add_string()
215 if (fdt_totalsize(fdt) + offset < struct_top) in _fdt_find_add_string()
262 oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); in fdt_finish()
Dfdt.c83 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr()
246 if (fdt_totalsize(fdt) > bufsize) in fdt_move()
249 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
Dfdt_rw.c66 || (fdt_totalsize(fdt) < in _fdt_blocks_misordered()
106 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in _fdt_splice()
421 const char *fdtend = fdtstart + fdt_totalsize(fdt); in fdt_open_into()
Dlibfdt.h217 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) macro
/external/dtc/tests/
Ddel_property.c45 oldsize = fdt_totalsize(fdt); in main()
75 delsize = fdt_totalsize(fdt); in main()
81 newsize = fdt_totalsize(fdt); in main()
Dnopulate.c82 fdt2 = xmalloc(fdt_totalsize(fdt) + newsize); in main()
92 fdt_totalsize(fdt) - struct_end_old); in main()
94 fdt_set_totalsize(fdt2, fdt_totalsize(fdt) + delta); in main()
Ddel_node.c44 oldsize = fdt_totalsize(fdt); in main()
108 delsize = fdt_totalsize(fdt); in main()
114 newsize = fdt_totalsize(fdt); in main()
Dopen_pack.c45 oldsize = fdt_totalsize(fdt); in main()
66 packsize = fdt_totalsize(fdt1); in main()
Dmove_and_save.c46 shuntsize = ALIGN(fdt_totalsize(fdt) / 2, sizeof(uint64_t)); in main()
47 bufsize = fdt_totalsize(fdt) + shuntsize; in main()
Dtestutils.c191 err = fdt_open_into(blob, buf, fdt_totalsize(blob)); in open_blob_rw()
194 int newsize = fdt_totalsize(blob) + 8; in open_blob_rw()
Ddumptrees.c55 size = fdt_totalsize(blob); in main()
Dadd_subnode_with_nops.c68 fdt_totalsize(fdt)); in main()
Ddtb_reverse.c146 bufsize = fdt_totalsize(in); in main()
Dsw_tree1.c169 fdt_totalsize(fdt)); in main()
/external/dtc/
Dfdtdump.c169 fdt_totalsize(p) >= len || in valid_header()
Dutil.c311 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
Dfdtput.c135 int new_sz = fdt_totalsize(fdt) + delta; in _realloc_fdt()