|
xt-sdk 文档 v1.0.3
xt-sdk 嵌入式 SDK API 参考
|
ramfs 上下文(文件系统实例) 更多...
#include <xt_vfs_ramfs.h>
成员变量 | |
| struct xt_list_node | node_list |
| ramfs_node_t | nodes [32] |
| ramfs_file_t | files [32] |
| uint32_t | file_used_mask |
| xt_vfs_dirent_t | dirent |
ramfs 上下文(文件系统实例)
在文件 xt_vfs_ramfs.h 第 48 行定义.
| xt_vfs_dirent_t ramfs_ctx::dirent |
每个实例独立的 readdir 缓冲区
在文件 xt_vfs_ramfs.h 第 53 行定义.
| uint32_t ramfs_ctx::file_used_mask |
文件句柄占用位图,每 bit 对应一个槽位
在文件 xt_vfs_ramfs.h 第 52 行定义.
| ramfs_file_t ramfs_ctx::files[32] |
文件句柄数组,与 file_used_mask 对应
在文件 xt_vfs_ramfs.h 第 51 行定义.
| struct xt_list_node ramfs_ctx::node_list |
节点链表头
在文件 xt_vfs_ramfs.h 第 49 行定义.
| ramfs_node_t ramfs_ctx::nodes[32] |
节点静态数组
在文件 xt_vfs_ramfs.h 第 50 行定义.