sofs19  0.1
FUSE based file system
core.h File Reference

Some global constants and aggregation of core header files. More...

#include "exception.h"
#include "probing.h"
#include "binselection.h"
#include "superblock.h"
#include "inode.h"
#include "direntry.h"
#include "blockviews.h"
#include <inttypes.h>

Go to the source code of this file.

Macros

#define BlockSize   1024U
 block size (in bytes)
 
#define IPB   (BlockSize / sizeof(SOInode))
 number of inodes per block
 
#define RPB   (BlockSize / sizeof (uint32_t))
 number of references per block
 
#define DPB   (BlockSize / sizeof(SODirEntry))
 number of direntries per block
 
#define NullReference   0xFFFFFFFF
 null reference to an inode or to a data block
 

Detailed Description

Some global constants and aggregation of core header files.

Author
Artur Pereira - 2016-2019