#include <fs.h>
Definition at line 348 of file fs.h.
◆ AllocateInode
int(* SuperBlockOperations::AllocateInode) (struct FileSystemInfo *Info, struct Inode **Result) |
Definition at line 350 of file fs.h.
◆ DeleteInode
Definition at line 351 of file fs.h.
◆ Destroy
Destroy the filesystem.
Unregister the filesystem and free all resources.
- Parameters
-
Info | Filesystem to destroy. |
- Returns
- Zero on success, otherwise an error code.
Definition at line 374 of file fs.h.
◆ Mount
Mount the filesystem.
Mount the filesystem on the given device.
- Parameters
-
FS | Filesystem to mount. |
Root | Pointer to the root inode. |
Device | Device to mount. This pointer will be undefined after the function returns! |
- Returns
- Zero on success, otherwise an error code.
Definition at line 398 of file fs.h.
◆ Probe
Probe the filesystem.
Check if the filesystem is supported by the driver.
- Parameters
-
- Returns
- Zero on success, otherwise an error code.
Definition at line 385 of file fs.h.
◆ Synchronize
Synchronize the filesystem.
Write all pending changes to the disk.
- Parameters
-
Info | Inode to synchronize. |
Node | Inode to synchronize. If NULL, synchronize all inodes. |
- Returns
- Zero on success, otherwise an error code.
Definition at line 363 of file fs.h.
◆ Unmount
Unmount the filesystem.
Unmount the filesystem from the given device.
- Parameters
-
- Returns
- Zero on success, otherwise an error code.
Definition at line 409 of file fs.h.
The documentation for this struct was generated from the following file:
- Kernel/include/interface/fs.h