sofs19  0.1
FUSE based file system
freelists.h File Reference

Functions to manage the list of free inodes and the list of free data blocks. More...

#include <inttypes.h>

Go to the source code of this file.

Functions

uint32_t soAllocInode (uint32_t type, uint32_t perm)
 Allocate a free inode. More...
 
void soFreeInode (uint32_t in)
 Free the referenced inode. More...
 
uint32_t soAllocDataBlock ()
 Allocate a free data block. More...
 
void soFreeDataBlock (uint32_t bn)
 Free the referenced data block. More...
 
void soReplenishHeadCache ()
 Replenish the head cache. More...
 
void soDepleteTailCache ()
 Deplete the tail cache. More...
 

Detailed Description

Functions to manage the list of free inodes and the list of free data blocks.

Author
Artur Pereira 2008-2009, 2016-2019
Miguel Oliveira e Silva 2009, 2017
António Rui Borges - 2010-2015