sofs19
0.1
FUSE based file system
|
Go to the documentation of this file.
12 #ifndef __SOFS19_FILEBLOCKS__
13 #define __SOFS19_FILEBLOCKS__
void soFreeFileBlocks(int ih, uint32_t ffbn)
Free all file blocks from the given position on.
uint32_t soAllocFileBlock(int ih, uint32_t fbn)
Associate a data block to the given file block position.
void soReadFileBlock(int ih, uint32_t fbn, void *buf)
Read a file block.
void soWriteFileBlock(int ih, uint32_t fbn, void *buf)
Write a file block.
uint32_t soGetFileBlock(int ih, uint32_t fbn)
Get the data block number corresponding to the given file block.