Searched refs:new_fdt (Results 1 – 3 of 3) sorted by relevance
/linux/fs/ |
A D | file.c | 157 struct fdtable *new_fdt, *cur_fdt; in expand_fdtable() local 160 new_fdt = alloc_fdtable(nr); in expand_fdtable() 169 if (!new_fdt) in expand_fdtable() 176 __free_fdtable(new_fdt); in expand_fdtable() 181 copy_fdtable(new_fdt, cur_fdt); in expand_fdtable() 305 new_fdt = &newf->fdtab; in dup_fd() 322 if (new_fdt != &newf->fdtab) in dup_fd() 323 __free_fdtable(new_fdt); in dup_fd() 326 if (!new_fdt) { in dup_fd() 333 __free_fdtable(new_fdt); in dup_fd() [all …]
|
/linux/drivers/of/ |
A D | overlay.c | 1020 void *new_fdt; in of_overlay_fdt_apply() local 1042 new_fdt = kmalloc(size + FDT_ALIGN_SIZE, GFP_KERNEL); in of_overlay_fdt_apply() 1043 if (!new_fdt) in of_overlay_fdt_apply() 1046 new_fdt_align = PTR_ALIGN(new_fdt, FDT_ALIGN_SIZE); in of_overlay_fdt_apply() 1056 ret = of_overlay_apply(new_fdt, overlay_root, ovcs_id); in of_overlay_fdt_apply() 1070 kfree(new_fdt); in of_overlay_fdt_apply()
|
A D | unittest.c | 2936 void *new_fdt; in unittest_unflatten_overlay_base() local 2971 new_fdt = dt_alloc_memory(size, roundup_pow_of_two(FDT_V17_SIZE)); in unittest_unflatten_overlay_base() 2972 if (!new_fdt) { in unittest_unflatten_overlay_base() 2977 memcpy(new_fdt, info->dtb_begin, size); in unittest_unflatten_overlay_base() 2979 __unflatten_device_tree(new_fdt, NULL, &overlay_base_root, in unittest_unflatten_overlay_base()
|
Completed in 14 milliseconds