sofs19  0.1
FUSE based file system
bin_freelists.h
Go to the documentation of this file.
1 
12 /*
13  * \defgroup freelists freelists
14  *
15  * @{
16  *
17  * \remarks In case an error occurs, every function throws an SOException
18  */
19 
20 #ifndef __SOFS19_FREELISTS_BIN__
21 #define __SOFS19_FREELISTS_BIN__
22 
23 #include <inttypes.h>
24 
25 namespace sofs19
26 {
27  uint32_t binAllocInode(uint32_t type, uint32_t perm);
28 
29  void binFreeInode(uint32_t in);
30 
31  uint32_t binAllocDataBlock();
32 
33  void binReplenishHeadCache();
34 
35  void binFreeDataBlock(uint32_t bn);
36 
37  void binDepleteTailCache();
38 };
39 
40 #endif /* __SOFS19_FREELISTS_BIN__ */