Lines Matching defs:oldlen
97 static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen)
102 if (((p + oldlen) < p) || ((p + oldlen) > end))
104 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt)))
106 memmove(p + newlen, p + oldlen, end - p - oldlen);
124 int oldlen, int newlen)
126 int delta = newlen - oldlen;
129 if ((err = _fdt_splice(fdt, p, oldlen, newlen)))
208 int oldlen;
211 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
213 return oldlen;
215 if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen),
254 int oldlen, newlen;
259 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
261 return oldlen;
265 err = _fdt_splice_struct(fdt, namep, FDT_TAGALIGN(oldlen+1),