Coda Distributed File System
Classes | Macros | Variables
fso_cachefile.h File Reference
#include <lwp/lock.h>
#include <bitmap7.h>
#include <dlist.h>
Include dependency graph for fso_cachefile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CacheChunk
 
class  CacheChunkList
 
class  CacheFile
 
class  SegmentedCacheFile
 

Macros

#define CACHEFILENAMELEN   16
 
#define FS_BLOCKS_SIZE_MAX   (4095)
 
#define FS_BLOCKS_SIZE_MASK   (~FS_BLOCKS_SIZE_MAX)
 
#define FS_BLOCKS_ALIGN(size)    ((size + FS_BLOCKS_SIZE_MAX) & FS_BLOCKS_SIZE_MASK)
 

Variables

uint64_t CacheChunkBlockSize
 
uint64_t CacheChunkBlockSizeBits
 
uint64_t CacheChunkBlockSizeMax
 
uint64_t CacheChunkBlockBitmapSize
 

Macro Definition Documentation

◆ CACHEFILENAMELEN

#define CACHEFILENAMELEN   16

◆ FS_BLOCKS_ALIGN

#define FS_BLOCKS_ALIGN (   size)     ((size + FS_BLOCKS_SIZE_MAX) & FS_BLOCKS_SIZE_MASK)

◆ FS_BLOCKS_SIZE_MASK

#define FS_BLOCKS_SIZE_MASK   (~FS_BLOCKS_SIZE_MAX)

◆ FS_BLOCKS_SIZE_MAX

#define FS_BLOCKS_SIZE_MAX   (4095)

Variable Documentation

◆ CacheChunkBlockBitmapSize

uint64_t CacheChunkBlockBitmapSize
extern

◆ CacheChunkBlockSize

uint64_t CacheChunkBlockSize
extern

◆ CacheChunkBlockSizeBits

uint64_t CacheChunkBlockSizeBits
extern

◆ CacheChunkBlockSizeMax

uint64_t CacheChunkBlockSizeMax
extern