PatchworkOS
Loading...
Searching...
No Matches
inode.c File Reference
#include <kernel/fs/inode.h>
#include <kernel/fs/vfs.h>
#include <kernel/sched/thread.h>
#include <kernel/sched/timer.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

static void inode_free (inode_t *inode)
 
inode_tinode_new (superblock_t *superblock, inode_number_t number, inode_type_t type, const inode_ops_t *ops, const file_ops_t *fileOps)
 Create a new inode.
 
void inode_notify_access (inode_t *inode)
 Notify the inode that it has been accessed.
 
void inode_notify_modify (inode_t *inode)
 Notify the inode that its content has been modified.
 
void inode_notify_change (inode_t *inode)
 Notify the inode that its metadata has changed.
 
void inode_truncate (inode_t *inode)
 Truncate the inode.
 

Function Documentation

◆ inode_free()

static void inode_free ( inode_t inode)
static