nuttx/fs/vfs
Xiang Xiao 1e5bfa623a fs: file_dup2 shouldn't hold the file list lock
the argument passed to file_dup2 doesn't always come from task file list
so it doesn't make sense to hold the file list lock and then it is better
to do the protection in the new function files_dupfd2

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ibf02cea9b0b275e7472f9c04fd66b9242285b957
2021-01-13 16:39:45 +08:00
..
fs_close.c fs: Remove file_detach since it is unefficient to call open and file_detach 2021-01-11 23:47:57 +01:00
fs_dup2.c fs/vfs: Add nx_dup and nx_dup2 function 2020-05-04 07:20:02 -06:00
fs_dup.c fs/vfs: Add nx_dup and nx_dup2 function 2020-05-04 07:20:02 -06:00
fs_dupfd2.c fs: file_dup2 shouldn't hold the file list lock 2021-01-13 16:39:45 +08:00
fs_dupfd.c fs: Fix the race condition in file_dup 2021-01-08 11:01:46 +08:00
fs_epoll.c fs/epoll: add asynchronous epoll control support 2020-12-27 11:08:12 -06:00
fs_eventfd.c OS internal function should indicate the error by return negative value 2020-12-31 09:37:29 +01:00
fs_fcntl.c fs: Make nx_vxxx and file_vxxx as internal functions 2021-01-12 17:08:22 +01:00
fs_fdopen.c fs: Skip call fs_checkfd if fd < 3 in fs_fdopen 2020-12-16 07:53:21 +09:00
fs_fstat.c fs: Implement lstat function 2020-06-30 13:09:58 -06:00
fs_fstatfs.c
fs_fsync.c
fs_getfilep.c include/nuttx/sched.h: Make naming of all internal names consistent: 2020-05-09 14:19:08 -03:00
fs_ioctl.c fs: Make nx_vxxx and file_vxxx as internal functions 2021-01-12 17:08:22 +01:00
fs_lseek.c fs/vfs: Add nx_seek function 2020-05-03 12:15:54 -06:00
fs_mkdir.c fs/vfs: Don't check CONFIG_NFILE_STREAMS for mkdir/rename/rmdir/fs_unlink 2020-08-17 00:16:26 +01:00
fs_open.c fs: Make nx_vxxx and file_vxxx as internal functions 2021-01-12 17:08:22 +01:00
fs_poll.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
fs_pread.c
fs_pwrite.c
fs_read.c
fs_readlink.c Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
fs_rename.c fs: Add the relative path support 2020-09-24 03:13:27 -07:00
fs_rmdir.c fs/vfs: Don't check CONFIG_NFILE_STREAMS for mkdir/rename/rmdir/fs_unlink 2020-08-17 00:16:26 +01:00
fs_select.c Fix nxstyle warning 2021-01-13 08:57:58 +01:00
fs_sendfile.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
fs_stat.c fs: remove INODE_IS_SPECIAL() use others instead 2020-12-30 12:21:02 -06:00
fs_statfs.c vfs: Create a node as the root of pseudo file system 2020-09-16 11:44:57 -07:00
fs_symlink.c fs: Add the relative path support 2020-09-24 03:13:27 -07:00
fs_truncate.c
fs_unlink.c vfs: Fix unsed label warning 2020-12-30 21:20:17 -06:00
fs_write.c net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
Make.defs libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00