Home
last modified time | relevance | path

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

/Linux-v5.4/fs/
Dfile.c152 struct fdtable *new_fdt, *cur_fdt; in expand_fdtable() local
155 new_fdt = alloc_fdtable(nr); in expand_fdtable()
164 if (!new_fdt) in expand_fdtable()
170 if (unlikely(new_fdt->max_fds <= nr)) { in expand_fdtable()
171 __free_fdtable(new_fdt); in expand_fdtable()
176 copy_fdtable(new_fdt, cur_fdt); in expand_fdtable()
177 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable()
277 struct fdtable *old_fdt, *new_fdt; in dup_fd() local
290 new_fdt = &newf->fdtab; in dup_fd()
291 new_fdt->max_fds = NR_OPEN_DEFAULT; in dup_fd()
[all …]
/Linux-v5.4/drivers/of/
Doverlay.c1014 const void *new_fdt; in of_overlay_fdt_apply() local
1036 new_fdt = kmemdup(overlay_fdt, size, GFP_KERNEL); in of_overlay_fdt_apply()
1037 if (!new_fdt) in of_overlay_fdt_apply()
1040 of_fdt_unflatten_tree(new_fdt, NULL, &overlay_root); in of_overlay_fdt_apply()
1047 ret = of_overlay_apply(new_fdt, overlay_root, ovcs_id); in of_overlay_fdt_apply()
1061 kfree(new_fdt); in of_overlay_fdt_apply()
Dunittest.c2269 void *new_fdt; in unittest_unflatten_overlay_base() local
2304 new_fdt = dt_alloc_memory(size, roundup_pow_of_two(FDT_V17_SIZE)); in unittest_unflatten_overlay_base()
2305 if (!new_fdt) { in unittest_unflatten_overlay_base()
2310 memcpy(new_fdt, info->dtb_begin, size); in unittest_unflatten_overlay_base()
2312 __unflatten_device_tree(new_fdt, NULL, &overlay_base_root, in unittest_unflatten_overlay_base()