Home
last modified time | relevance | path

Searched refs:newsize (Results 1 – 2 of 2) sorted by relevance

/scripts/dtc/
Ddata.c27 int newsize; in data_grow_for() local
34 newsize = xlen; in data_grow_for()
36 while ((d.len + xlen) > newsize) in data_grow_for()
37 newsize *= 2; in data_grow_for()
39 nd.val = xrealloc(d.val, newsize); in data_grow_for()
/scripts/dtc/libfdt/
Dfdt_rw.c404 int newsize; in fdt_open_into() local
436 newsize = FDT_ALIGN(sizeof(struct fdt_header), 8) + mem_rsv_size in fdt_open_into()
439 if (bufsize < newsize) in fdt_open_into()
445 if (((tmp + newsize) > fdtstart) && (tmp < fdtend)) { in fdt_open_into()
448 if ((tmp + newsize) > ((char *)buf + bufsize)) in fdt_open_into()
453 memmove(buf, tmp, newsize); in fdt_open_into()