Lines Matching refs:new
132 char *new; in fdt_find_add_string_() local
144 new = strtab + fdt_size_dt_strings(fdt); in fdt_find_add_string_()
152 memcpy(new, s, len); in fdt_find_add_string_()
153 return (new - strtab); in fdt_find_add_string_()
394 static void fdt_packblocks_(const char *old, char *new, in fdt_packblocks_() argument
403 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); in fdt_packblocks_()
404 fdt_set_off_mem_rsvmap(new, mem_rsv_off); in fdt_packblocks_()
406 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in fdt_packblocks_()
407 fdt_set_off_dt_struct(new, struct_off); in fdt_packblocks_()
408 fdt_set_size_dt_struct(new, struct_size); in fdt_packblocks_()
410 memmove(new + strings_off, old + fdt_off_dt_strings(old), in fdt_packblocks_()
412 fdt_set_off_dt_strings(new, strings_off); in fdt_packblocks_()
413 fdt_set_size_dt_strings(new, fdt_size_dt_strings(old)); in fdt_packblocks_()