Pyrogenesis  trunk
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
FileControlBlocks Struct Reference
Collaboration diagram for FileControlBlocks:
Collaboration graph
[legend]

Public Member Functions

 CACHE_ALIGNED (volatile intptr_t) inUse[maxFiles]
 
void Init ()
 
void Shutdown ()
 
FileControlBlockAllocate ()
 
void Deallocate (FileControlBlock *fcb)
 
int Descriptor (FileControlBlock *fcb) const
 
FileControlBlockFromDescriptor (int descriptor)
 

Public Attributes

FileControlBlock fcbs [maxFiles]
 

Static Public Attributes

static const size_t maxFiles = 8
 
static const int firstDescriptor = 4000
 

Member Function Documentation

◆ Allocate()

FileControlBlock* FileControlBlocks::Allocate ( )
inline

◆ CACHE_ALIGNED()

FileControlBlocks::CACHE_ALIGNED ( volatile intptr_t  )

◆ Deallocate()

void FileControlBlocks::Deallocate ( FileControlBlock fcb)
inline

◆ Descriptor()

int FileControlBlocks::Descriptor ( FileControlBlock fcb) const
inline

◆ FromDescriptor()

FileControlBlock* FileControlBlocks::FromDescriptor ( int  descriptor)
inline

◆ Init()

void FileControlBlocks::Init ( )
inline

◆ Shutdown()

void FileControlBlocks::Shutdown ( )
inline

Member Data Documentation

◆ fcbs

FileControlBlock FileControlBlocks::fcbs[maxFiles]

◆ firstDescriptor

const int FileControlBlocks::firstDescriptor = 4000
static

◆ maxFiles

const size_t FileControlBlocks::maxFiles = 8
static

The documentation for this struct was generated from the following file: