Home
last modified time | relevance | path

Searched refs:old_fdt (Results 1 – 2 of 2) sorted by relevance

/third_party/NuttX/fs/inode/
Dfs_files.c672 static void copy_fds(const struct fd_table_s *new_fdt, const struct fd_table_s *old_fdt) in copy_fds() argument
679 (void)memcpy_s(new_fdt->ft_fds, sz, old_fdt->ft_fds, sz); in copy_fds()
681 (void)memcpy_s(new_fdt->proc_fds, sizeof(fd_set), old_fdt->proc_fds, sizeof(fd_set)); in copy_fds()
682 (void)memcpy_s(new_fdt->cloexec_fds, sizeof(fd_set), old_fdt->cloexec_fds, sizeof(fd_set)); in copy_fds()
685 static void copy_fd_table(struct fd_table_s *new_fdt, struct fd_table_s *old_fdt) in copy_fd_table() argument
687 copy_fds((const struct fd_table_s *)new_fdt, (const struct fd_table_s *)old_fdt); in copy_fd_table()
796 struct fd_table_s *old_fdt = NULL; in dup_fd() local
817 old_fdt = old_files->fdt; in dup_fd()
818 new_fdt = alloc_fd_table(old_fdt->max_fds); in dup_fd()
825 copy_fd_table(new_fdt, old_fdt); in dup_fd()
[all …]
/third_party/uboot/u-boot-2020.01/tools/
Dfit_image.c538 void *fdt, *old_fdt; in fit_import_data() local
546 fd = mmap_fdt(params->cmdname, fname, 0, &old_fdt, &sbuf, false, false); in fit_import_data()
549 fit_size = fdt_totalsize(old_fdt); in fit_import_data()
561 ret = fdt_open_into(old_fdt, fdt, size); in fit_import_data()
626 munmap(old_fdt, sbuf.st_size); in fit_import_data()