Home
last modified time | relevance | path

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

/optee_os/core/lib/libfdt/
H A Dfdt_rw.c52 static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen) in fdt_splice_() argument
59 if ((p < (char *)fdt) || ((end - oldlen + newlen) < (char *)fdt)) in fdt_splice_()
61 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in fdt_splice_()
63 memmove(p + newlen, p + oldlen, end - p - oldlen); in fdt_splice_()
81 int oldlen, int newlen) in fdt_splice_struct_() argument
83 int delta = newlen - oldlen; in fdt_splice_struct_()
86 if ((err = fdt_splice_(fdt, p, oldlen, newlen))) in fdt_splice_struct_()
97 int newlen = strlen(s) + 1; in fdt_del_last_string_() local
99 fdt_set_size_dt_strings(fdt, fdt_size_dt_strings(fdt) - newlen); in fdt_del_last_string_()
102 static int fdt_splice_string_(void *fdt, int newlen) in fdt_splice_string_() argument
[all …]