Home
last modified time | relevance | path

Searched refs:old_fdt (Results 1 – 1 of 1) 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 …]