SimpleKernel 1.17.0
Loading...
Searching...
No Matches
ramfs::RamFs::RamInode Struct Reference

ramfs 内部 inode 数据 More...

Collaboration diagram for ramfs::RamFs::RamInode:
Collaboration graph

Public Attributes

vfs::Inode inode
 
void * data
 文件数据(普通文件)或子项列表(目录)
 
size_t capacity
 数据缓冲区容量
 
size_t child_count
 子项数量(仅目录)
 
RamInodenext_free
 空闲链表指针
 

Detailed Description

ramfs 内部 inode 数据

Definition at line 130 of file ramfs.hpp.

Member Data Documentation

◆ capacity

size_t ramfs::RamFs::RamInode::capacity

数据缓冲区容量

Definition at line 135 of file ramfs.hpp.

◆ child_count

size_t ramfs::RamFs::RamInode::child_count

子项数量(仅目录)

Definition at line 137 of file ramfs.hpp.

◆ data

void* ramfs::RamFs::RamInode::data

文件数据(普通文件)或子项列表(目录)

Definition at line 133 of file ramfs.hpp.

◆ inode

vfs::Inode ramfs::RamFs::RamInode::inode

Definition at line 131 of file ramfs.hpp.

◆ next_free

RamInode* ramfs::RamFs::RamInode::next_free

空闲链表指针

Definition at line 139 of file ramfs.hpp.


The documentation for this struct was generated from the following file: