PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
vnode.h File Reference
#include <kernel/fs/path.h>
#include <kernel/io/irp.h>
#include <kernel/sync/mutex.h>
#include <kernel/sync/rcu.h>
#include <kernel/utils/map.h>
#include <kernel/utils/ref.h>
#include <stdatomic.h>
#include <stdint.h>
#include <sys/fs.h>
#include <sys/proc.h>
#include <time.h>
Include dependency graph for vnode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vnode_t
 vnode structure. More...
 
struct  vnode_ops_t
 vnode operations structure. More...
 

Typedefs

typedef struct vnode vnode_t
 
typedef struct vnode_ops vnode_ops_t
 
typedef struct superblock superblock_t
 
typedef struct file_ops file_ops_t
 
typedef struct dentry dentry_t
 

Functions

vnode_tvnode_new (superblock_t *superblock, vtype_t type, const vnode_ops_t *ops, const file_ops_t *fileOps)
 Create a new vnode.
 
void vnode_truncate (vnode_t *vnode)
 Truncate the vnode.
 

Typedef Documentation

◆ vnode_t

typedef struct vnode vnode_t

Definition at line 16 of file vnode.h.

◆ vnode_ops_t

typedef struct vnode_ops vnode_ops_t

Definition at line 17 of file vnode.h.

◆ superblock_t

typedef struct superblock superblock_t

Definition at line 18 of file vnode.h.

◆ file_ops_t

typedef struct file_ops file_ops_t

Definition at line 19 of file vnode.h.

◆ dentry_t

typedef struct dentry dentry_t

Definition at line 20 of file vnode.h.