Searched refs:newsize (Results 1 – 2 of 2) sorted by relevance
27 int newsize; in data_grow_for() local34 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()
404 int newsize; in fdt_open_into() local436 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()