Searched refs:oldlen (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | fdt_rw.c | 97 static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen) in _fdt_splice() argument 102 if (((p + oldlen) < p) || ((p + oldlen) > end)) in _fdt_splice() 104 if ((p < (char *)fdt) || ((end - oldlen + newlen) < (char *)fdt)) in _fdt_splice() 106 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in _fdt_splice() 108 memmove(p + newlen, p + oldlen, end - p - oldlen); in _fdt_splice() 126 int oldlen, int newlen) in _fdt_splice_struct() argument 128 int delta = newlen - oldlen; in _fdt_splice_struct() 131 if ((err = _fdt_splice(fdt, p, oldlen, newlen))) in _fdt_splice_struct() 206 int oldlen; in _fdt_resize_property() local 209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in _fdt_resize_property() [all …]
|