Fennix  1.0.0
Full Documentation
Loading...
Searching...
No Matches
SuperBlockOperations Struct Reference

#include <fs.h>

Data Fields

int(* AllocateInode )(struct FileSystemInfo *Info, struct Inode **Result)
 
int(* DeleteInode )(struct FileSystemInfo *Info, struct Inode *Node)
 
int(* Synchronize )(struct FileSystemInfo *Info, struct Inode *Node)
 
int(* Destroy )(struct FileSystemInfo *Info)
 

Detailed Description

Definition at line 330 of file fs.h.

Field Documentation

◆ AllocateInode

int(* SuperBlockOperations::AllocateInode) (struct FileSystemInfo *Info, struct Inode **Result)

Definition at line 332 of file fs.h.

◆ DeleteInode

int(* SuperBlockOperations::DeleteInode) (struct FileSystemInfo *Info, struct Inode *Node)

Definition at line 333 of file fs.h.

◆ Destroy

int(* SuperBlockOperations::Destroy) (struct FileSystemInfo *Info)

Destroy the filesystem.

Unregister the filesystem and free all resources.

Parameters
InfoFilesystem to destroy.
Returns
Zero on success, otherwise an error code.

Definition at line 356 of file fs.h.

◆ Synchronize

int(* SuperBlockOperations::Synchronize) (struct FileSystemInfo *Info, struct Inode *Node)

Synchronize the filesystem.

Write all pending changes to the disk.

Parameters
InfoInode to synchronize. If NULL, synchronize all inodes.
NodeInode to synchronize.
Returns
Zero on success, otherwise an error code.

Definition at line 345 of file fs.h.


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