openharmony_kernel_liteos_m/components
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
..
backtrace fix: M核添加维测接口 2022-05-06 07:44:02 +00:00
cppsupport fix: 当前仓代码编译告警的问题 2022-01-19 02:27:14 +00:00
cpup feat: 优化CPUP计算方式, 解耦系统调频 2022-12-06 10:41:20 +08:00
debugtools style: Misspelling 2022-06-23 09:46:16 +08:00
dynlink !807 非安全函数告警清理 2022-08-26 04:45:26 +00:00
exchook fix: 内核告警修复 2022-07-29 08:30:38 +00:00
fs refactor: vfs opt 2022-12-13 16:56:18 +08:00
iar_tls TCB结构体扩展宏添加分号 2022-06-14 11:31:18 +08:00
lmk fix: 内核告警修复 2022-07-29 08:30:38 +00:00
lms change memset to (VOID)memset when not handling the return value 2022-08-15 19:56:39 +08:00
net fix: icmp hardware checksum failed for dwc gmac ip core 2022-10-17 20:33:11 +08:00
power feat: 修复低功耗下时间更新缺陷 2022-12-05 17:01:37 +08:00
security <fix> 2022-09-24 22:11:27 +08:00
shell fix: 修复shell删除命令误删目录的问题 2022-10-25 12:19:46 +08:00
signal fix: 修复未使用的参数和类型比较编译报错问题 2022-02-15 18:53:30 +08:00
trace feat: add hook call in LOS_QueueReadCopy and LOS_QueueWriteCopy 2022-11-08 18:32:41 +08:00
BUILD.gn fix: M核添加维测接口 2022-05-06 07:44:02 +00:00