PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
vnode_t Struct Reference

vnode structure. More...

#include <vnode.h>

Collaboration diagram for vnode_t:

Public Member Functions

 _Atomic (uint64_t) dentryCount
 The number of dentries pointing to this vnode.
 

Data Fields

ref_t ref
 
vtype_t type
 
void * data
 Filesystem defined data.
 
uint64_t size
 Used for convenience by certain filesystems, does not represent the file size.
 
superblock_tsuperblock
 
const vnode_ops_tops
 
const file_ops_tfileOps
 
const irp_vtable_tvtable
 
rcu_entry_t rcu
 
mutex_t mutex
 

Detailed Description

vnode structure.

vnodes are owned by the filesystem, not the VFS.

Definition at line 47 of file vnode.h.

Member Function Documentation

◆ _Atomic()

vnode_t::_Atomic ( uint64_t  )

The number of dentries pointing to this vnode.

Field Documentation

◆ ref

ref_t vnode_t::ref

Definition at line 49 of file vnode.h.

◆ type

vtype_t vnode_t::type

Definition at line 50 of file vnode.h.

◆ data

void* vnode_t::data

Filesystem defined data.

Definition at line 52 of file vnode.h.

◆ size

uint64_t vnode_t::size

Used for convenience by certain filesystems, does not represent the file size.

Definition at line 53 of file vnode.h.

◆ superblock

superblock_t* vnode_t::superblock

Definition at line 54 of file vnode.h.

◆ ops

const vnode_ops_t* vnode_t::ops

Definition at line 55 of file vnode.h.

◆ fileOps

const file_ops_t* vnode_t::fileOps

Definition at line 56 of file vnode.h.

◆ vtable

const irp_vtable_t* vnode_t::vtable

Definition at line 57 of file vnode.h.

◆ rcu

rcu_entry_t vnode_t::rcu

Definition at line 58 of file vnode.h.

◆ mutex

mutex_t vnode_t::mutex

Definition at line 59 of file vnode.h.


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