openharmony_kernel_liteos_m/components/fs/vfs
arvinzzz 98da8bbdfb refactor: vfs opt
1. vfs重构优化,统一fs模块的对外接口,减少不必要的冗余调用,由fs组件直接提供posix对外接口
  2. vfs与libc关系整理
  3. fs接口实现规范化

BREAKING CHANGE:
删除API:
int LOS_Open(const char *path, int flags, ...);
int LOS_Close(int fd);
ssize_t LOS_Read(int fd, void *buff, size_t bytes);
ssize_t LOS_Write(int fd, const void *buff, size_t bytes);
off_t LOS_Lseek(int fd, off_t off, int whence);
int LOS_Stat(const char *path, struct stat *stat);
int LOS_Statfs(const char *path, struct statfs *buf);
int LOS_Unlink(const char *path);
int LOS_Rename(const char *oldpath, const char *newpath);
int LOS_Fsync(int fd);
DIR *LOS_Opendir(const char *path);
struct dirent *LOS_Readdir(DIR *dir);
int LOS_Closedir(DIR *dir);
int LOS_Mkdir(const char *path, mode_t mode);
int LOS_Rmdir(const char *path);
int LOS_Lstat(const char *path, struct stat *buffer);
int LOS_Fstat(int fd, struct stat *buf);
int LOS_Fcntl(int fd, int cmd, ...);
int LOS_Ioctl(int fd, int req, ...);
ssize_t LOS_Readv(int fd, const struct iovec *iovBuf, int iovcnt);
ssize_t LOS_Writev(int fd, const struct iovec *iovBuf, int iovcnt);
ssize_t LOS_Pread(int fd, void *buff, size_t bytes, off_t off);
ssize_t LOS_Pwrite(int fd, const void *buff, size_t bytes, off_t off);
int LOS_Isatty(int fd);
int LOS_Access(const char *path, int amode);
int LOS_Ftruncate(int fd, off_t length);
int LOS_FsUmount(const char *target);
int LOS_FsUmount2(const char *target, int flag);
int LOS_FsMount(const char *source, const char *target,
                const char *fsType, unsigned long mountflags,
                const void *data);
int OsFcntl(int fd, int cmd, va_list ap);
int OsIoctl(int fd, int req, va_list ap);

Close #I65MNQ

Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: I3d16852ffb87ab061c22b22f5873eba384842101
2022-12-13 16:56:18 +08:00
..
BUILD.gn fix: iccarm编译修复 2022-08-01 16:53:18 +08:00
Kconfig refactor: vfs opt 2022-12-13 16:56:18 +08:00
los_fs.h refactor: vfs opt 2022-12-13 16:56:18 +08:00
vfs_config.h fix: 提供CONFIG_NFILE_DESCRIPTORS宏标识最大可打开fd数量 2022-12-06 10:11:13 +08:00
vfs_files.c fix: 修复一些静态扫描工具发现的问题 2022-10-15 17:36:26 +08:00
vfs_files.h fix: 修复一些静态扫描工具发现的问题 2022-10-15 17:36:26 +08:00
vfs_fs.c refactor: vfs opt 2022-12-13 16:56:18 +08:00
vfs_init.c fix: iccarm编译修复 2022-08-01 16:53:18 +08:00
vfs_maps.c feat: fs增加注册接口 2022-12-01 02:50:05 +00:00
vfs_maps.h feat: fs增加注册接口 2022-12-01 02:50:05 +00:00
vfs_mount.c refactor: vfs opt 2022-12-13 16:56:18 +08:00
vfs_mount.h refactor: liteos-m vfs refactory 2022-03-09 12:07:15 +08:00
vfs_operations.h refactor: liteos-m vfs refactory 2022-03-09 12:07:15 +08:00
vfs_partition.c !941 文件系统提供动态内存分配器钩子 2022-11-28 14:36:29 +00:00
vfs_partition.h feat: liteos-m文件系统初始化函数支持littlefs 2022-08-16 18:55:53 +08:00