SimpleKernel 1.17.0
Loading...
Searching...
No Matches
vfs::VfsState Struct Reference

VFS 全局状态结构体 More...

#include <vfs_internal.hpp>

Collaboration diagram for vfs::VfsState:
Collaboration graph

Public Attributes

bool initialized = false
 
MountTablemount_table = nullptr
 
Dentryroot_dentry = nullptr
 
SpinLock vfs_lock_ {"vfs"}
 

Detailed Description

VFS 全局状态结构体

Definition at line 17 of file vfs_internal.hpp.

Member Data Documentation

◆ initialized

bool vfs::VfsState::initialized = false

Definition at line 18 of file vfs_internal.hpp.

◆ mount_table

MountTable* vfs::VfsState::mount_table = nullptr

Definition at line 19 of file vfs_internal.hpp.

◆ root_dentry

Dentry* vfs::VfsState::root_dentry = nullptr

Definition at line 20 of file vfs_internal.hpp.

◆ vfs_lock_

SpinLock vfs::VfsState::vfs_lock_ {"vfs"}

Definition at line 21 of file vfs_internal.hpp.

21{"vfs"};

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