openharmony_kernel_liteos_m/components
arvinzzz 852181749d 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 #I66F6I

Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
2022-12-16 10:26:19 +08:00
..
backtrace fix: M核添加维测接口 2022-05-06 07:44:02 +00:00
cppsupport fix: 当前仓代码编译告警的问题 2022-01-19 02:27:14 +00:00
cpup fixed 974182d from https://gitee.com/zhushengle/kernel_liteos_m/pulls/955 2022-12-06 07:35:00 +00: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-16 10:26:19 +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: 挑单 解决部分平台ping失败 2022-11-03 07:18:47 +00:00
power fix: 修复内核低功耗模式调整后同步问题 2022-09-23 09:32:32 +08:00
security <fix> 2022-09-24 22:11:27 +08:00
shell !835 内核告警清理:修复内存泄漏、空指针未判断等问题 2022-09-25 08:24:10 +00:00
signal fix: 修复未使用的参数和类型比较编译报错问题 2022-02-15 18:53:30 +08:00
trace !816 fix:trace模块编译修复 2022-09-23 09:39:15 +00:00
BUILD.gn fix: M核添加维测接口 2022-05-06 07:44:02 +00:00