FreeNOS
Data Structures | Typedefs
LinnGroup.h File Reference
#include <Types.h>
#include "LinnSuperBlock.h"

Go to the source code of this file.

Data Structures

struct  LinnGroup
 Structure of a group descriptor. More...
 

Macros

LinnGroup Block Index numbers.
#define LINN_GROUP_BLOCK_BITMAP   0
 Block index of the block bitmap. More...
 
#define LINN_GROUP_INODE_BITMAP   1
 Block index of the inode bitmap. More...
 
#define LINN_GROUP_INODE_TABLE   2
 Block index of the inode table. More...
 
LinnGroup Macros.
#define LINN_GROUP_COUNT(sb)
 Calculate the number of LinnGroups in a filesystem. More...
 
#define LINN_GROUP_NUM_BLOCKMAP(sb)
 Calculate the number of blocks needed for the blocks bitmap. More...
 
#define LINN_GROUP_NUM_INODEMAP(sb)
 Calculate the number of blocks needed for the inodes bitmap. More...
 
#define LINN_GROUP_NUM_INODETAB(sb)
 Calculate the number of blocks needed for the inodes table. More...
 
#define LINN_GROUP_PER_BLOCK(sb)   ((sb)->blockSize / sizeof(LinnGroup))
 Calculate the number of LinnGroups which fit in one block. More...
 
#define LINN_GROUP_BLOCKS(sb)
 Number of blocks needed to store LinnGroups. More...
 

Typedefs

typedef struct LinnGroup LinnGroup
 Structure of a group descriptor. More...