Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/
H A Dfile.c173 struct fdtable *new_fdt, *cur_fdt; in expand_fdtable() local
176 new_fdt = alloc_fdtable(nr); in expand_fdtable()
185 if (!new_fdt) in expand_fdtable()
191 if (unlikely(new_fdt->max_fds <= nr)) { in expand_fdtable()
192 __free_fdtable(new_fdt); in expand_fdtable()
197 copy_fdtable(new_fdt, cur_fdt); in expand_fdtable()
198 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable()
321 struct fdtable *old_fdt, *new_fdt; in dup_fd() local
334 new_fdt = &newf->fdtab; in dup_fd()
335 new_fdt->max_fds = NR_OPEN_DEFAULT; in dup_fd()
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dbootefi.c57 void *new_fdt; in copy_fdt() local
88 new_fdt = (void*)(ulong)new_fdt_addr; in copy_fdt()
89 memcpy(new_fdt, fdt, fdt_totalsize(fdt)); in copy_fdt()
90 fdt_set_totalsize(new_fdt, fdt_size); in copy_fdt()
92 return new_fdt; in copy_fdt()
H A Dbdinfo.c252 print_num("new_fdt", (ulong)gd->new_fdt); in do_bdinfo()
/OK3568_Linux_fs/u-boot/common/
H A Dboard_f.c520 gd->new_fdt = map_sysmem(gd->start_addr_sp, gd->fdt_size); in reserve_fdt()
523 gd->fdt_blob_kern = (ulong *)ALIGN((ulong)gd->new_fdt + in reserve_fdt()
644 if (gd->new_fdt) { in reloc_fdt()
645 memcpy(gd->new_fdt, gd->fdt_blob, gd->fdt_size); in reloc_fdt()
646 gd->fdt_blob = gd->new_fdt; in reloc_fdt()
648 gd->ufdt_blob = gd->new_fdt; in reloc_fdt()
704 printf("Relocation fdt: %08lx - %08lx", (ulong)gd->new_fdt, in setup_reloc()
705 (ulong)gd->new_fdt + fdt_totalsize(gd->fdt_blob)); in setup_reloc()
/OK3568_Linux_fs/kernel/drivers/of/
H A Doverlay.c1016 const void *new_fdt; in of_overlay_fdt_apply() local
1038 new_fdt = kmemdup(overlay_fdt, size, GFP_KERNEL); in of_overlay_fdt_apply()
1039 if (!new_fdt) in of_overlay_fdt_apply()
1042 of_fdt_unflatten_tree(new_fdt, NULL, &overlay_root); in of_overlay_fdt_apply()
1049 ret = of_overlay_apply(new_fdt, overlay_root, ovcs_id); in of_overlay_fdt_apply()
1063 kfree(new_fdt); in of_overlay_fdt_apply()
H A Dunittest.c2933 void *new_fdt; in unittest_unflatten_overlay_base() local
2968 new_fdt = dt_alloc_memory(size, roundup_pow_of_two(FDT_V17_SIZE)); in unittest_unflatten_overlay_base()
2969 if (!new_fdt) { in unittest_unflatten_overlay_base()
2974 memcpy(new_fdt, info->dtb_begin, size); in unittest_unflatten_overlay_base()
2976 __unflatten_device_tree(new_fdt, NULL, &overlay_base_root, in unittest_unflatten_overlay_base()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl.c346 gd->new_fdt = (void *)gd->start_addr_sp; in spl_setup_relocate()
347 memcpy(gd->new_fdt, gd->fdt_blob, gd->fdt_size); in spl_setup_relocate()
348 gd->fdt_blob = gd->new_fdt; in spl_setup_relocate()
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/
H A Dglobal_data.h80 void *new_fdt; /* Relocated FDT */ member
/OK3568_Linux_fs/u-boot/include/asm-generic/
H A Dglobal_data.h88 void *new_fdt; /* Relocated FDT */ member