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

Typedefs

typedef struct LinnGroup LinnGroup
 Structure of a group descriptor.