Lines Matching defs:newlen
76 static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen)
83 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt)))
85 memmove(p + newlen, p + oldlen, end - p - oldlen);
103 int oldlen, int newlen)
105 int delta = newlen - oldlen;
108 if ((err = _fdt_splice(fdt, p, oldlen, newlen)))
116 static int _fdt_splice_string(void *fdt, int newlen)
122 if ((err = _fdt_splice(fdt, p, 0, newlen)))
125 fdt_set_size_dt_strings(fdt, fdt_size_dt_strings(fdt) + newlen);
233 int oldlen, newlen;
242 newlen = strlen(name);
245 FDT_TAGALIGN(newlen+1));
249 memcpy(namep, name, newlen+1);
275 int err, oldlen, newlen;
281 newlen = len + oldlen;
284 FDT_TAGALIGN(newlen));
287 prop->len = cpu_to_fdt32(newlen);