Lines Matching refs:new
131 char *new; in fdt_find_add_string_() local
143 new = strtab + fdt_size_dt_strings(fdt); in fdt_find_add_string_()
151 memcpy(new, s, len); in fdt_find_add_string_()
152 return (new - strtab); in fdt_find_add_string_()
393 static void fdt_packblocks_(const char *old, char *new, in fdt_packblocks_() argument
402 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); in fdt_packblocks_()
403 fdt_set_off_mem_rsvmap(new, mem_rsv_off); in fdt_packblocks_()
405 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in fdt_packblocks_()
406 fdt_set_off_dt_struct(new, struct_off); in fdt_packblocks_()
407 fdt_set_size_dt_struct(new, struct_size); in fdt_packblocks_()
409 memmove(new + strings_off, old + fdt_off_dt_strings(old), in fdt_packblocks_()
411 fdt_set_off_dt_strings(new, strings_off); in fdt_packblocks_()
412 fdt_set_size_dt_strings(new, fdt_size_dt_strings(old)); in fdt_packblocks_()