Home
last modified time | relevance | path

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

/DragonStub/apps/lib/libfdt/
H A Dfdt_rw.c54 static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen) in fdt_splice_() argument
60 if ((oldlen < 0) || (soff + oldlen < soff) || (soff + oldlen > dsize)) in fdt_splice_()
62 if ((p < (char *)fdt) || (dsize + newlen < (unsigned)oldlen)) in fdt_splice_()
64 if (dsize - oldlen + newlen > fdt_totalsize(fdt)) in fdt_splice_()
66 memmove(p + newlen, p + oldlen, ((char *)fdt + dsize) - (p + oldlen)); in fdt_splice_()
84 int oldlen, int newlen) in fdt_splice_struct_() argument
86 int delta = newlen - oldlen; in fdt_splice_struct_()
89 if ((err = fdt_splice_(fdt, p, oldlen, newlen))) in fdt_splice_struct_()
187 int oldlen; in fdt_resize_property_() local
190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_()
[all …]