|
My Kernel v0.1.0
|
represents a single virtual node
#include <vfs.h>
Data Fields | |
| vfs_t * | fs |
| Filesystem to which this node belong. | |
| vnode_type | type |
| Type of the node. | |
| u16 | refcount |
| Number of references hold to that node. | |
| vnode_ops_t * | operations |
| vnode_operations | |
| void * | pdata |
| Private node data. | |
| vfs_t * | mounted_here |
| Potential filesystem mounted over this node. | |
| struct stat | stat |
| File statistics. | |
| spinlock_t | lock |
| Must be held when accessing the node's data. | |