Home
last modified time | relevance | path

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

/linux/fs/
H A Dfile.c256 struct fdtable *new_fdt, *cur_fdt; in expand_fdtable() local
259 new_fdt = alloc_fdtable(nr + 1); in expand_fdtable()
268 if (IS_ERR(new_fdt)) in expand_fdtable()
269 return PTR_ERR(new_fdt); in expand_fdtable()
272 copy_fdtable(new_fdt, cur_fdt); in expand_fdtable()
273 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable()
388 struct fdtable *old_fdt, *new_fdt; in dup_fd() local
400 new_fdt = &newf->fdtab; in dup_fd()
401 new_fdt->max_fds = NR_OPEN_DEFAULT; in dup_fd()
402 new_fdt->close_on_exec = newf->close_on_exec_init; in dup_fd()
[all …]
/linux/drivers/of/
H A Doverlay.c72 const void *new_fdt; member
883 kfree(ovcs->new_fdt); in free_overlay_changeset()
988 void *new_fdt; in of_overlay_fdt_apply() local
1038 new_fdt = kmalloc(size + FDT_ALIGN_SIZE, GFP_KERNEL); in of_overlay_fdt_apply()
1039 if (!new_fdt) { in of_overlay_fdt_apply()
1043 ovcs->new_fdt = new_fdt; in of_overlay_fdt_apply()
1045 new_fdt_align = PTR_ALIGN(new_fdt, FDT_ALIGN_SIZE); in of_overlay_fdt_apply()
H A Dunittest.c3783 void *new_fdt; in unittest_unflatten_overlay_base() local
3818 new_fdt = dt_alloc_memory(size, roundup_pow_of_two(FDT_V17_SIZE)); in unittest_unflatten_overlay_base()
3819 if (!new_fdt) { in unittest_unflatten_overlay_base()
3824 memcpy(new_fdt, info->dtbo_begin, size); in unittest_unflatten_overlay_base()
3826 __unflatten_device_tree(new_fdt, NULL, &overlay_base_root, in unittest_unflatten_overlay_base()