Searched refs:fdt_totalsize (Results 1 – 17 of 17) sorted by relevance
78 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()
83 || (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()
66 || (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()
217 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) macro
45 oldsize = fdt_totalsize(fdt); in main()75 delsize = fdt_totalsize(fdt); in main()81 newsize = fdt_totalsize(fdt); in main()
82 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()
44 oldsize = fdt_totalsize(fdt); in main()108 delsize = fdt_totalsize(fdt); in main()114 newsize = fdt_totalsize(fdt); in main()
45 oldsize = fdt_totalsize(fdt); in main()66 packsize = fdt_totalsize(fdt1); in main()
46 shuntsize = ALIGN(fdt_totalsize(fdt) / 2, sizeof(uint64_t)); in main()47 bufsize = fdt_totalsize(fdt) + shuntsize; in main()
191 err = fdt_open_into(blob, buf, fdt_totalsize(blob)); in open_blob_rw()194 int newsize = fdt_totalsize(blob) + 8; in open_blob_rw()
55 size = fdt_totalsize(blob); in main()
68 fdt_totalsize(fdt)); in main()
146 bufsize = fdt_totalsize(in); in main()
169 fdt_totalsize(fdt)); in main()
169 fdt_totalsize(p) >= len || in valid_header()
311 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
135 int new_sz = fdt_totalsize(fdt) + delta; in _realloc_fdt()