My Kernel v0.1.0

represents a single virtual node

#include <vfs.h>

Data Fields

vfs_tfs
 Filesystem to which this node belong.
 
vnode_type type
 Type of the node.
 
u16 refcount
 Number of references hold to that node.
 
vnode_ops_toperations
 vnode_operations
 
void * pdata
 Private node data.
 
vfs_tmounted_here
 Potential filesystem mounted over this node.
 
struct stat stat
 File statistics.
 
spinlock_t lock
 Must be held when accessing the node's data.
 

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