|
Coda Distributed File System
|


Go to the source code of this file.
Macros | |
| #define | HASHTABLESIZE 512 /* Number of buckets in volume hash table */ |
Functions | |
| int | coda_init () EXCLUDES_TRANSACTION |
| int | NewVolHeader (struct VolumeHeader *header, Error *err) REQUIRES_TRANSACTION |
| int | DeleteVolume (Volume *vp) EXCLUDES_TRANSACTION |
| int | DeleteRvmVolume (unsigned int, Device) EXCLUDES_TRANSACTION |
| int | ExtractVolHeader (VolumeId volid, struct VolumeHeader *header) |
| int | VolHeaderByIndex (int index, struct VolumeHeader *header) |
| void | CheckVolData (Error *ec, int volindex) |
| void | CheckSmallVnodeHeader (Error *ec, int volindex) |
| void | CheckLargeVnodeHeader (Error *ec, int volindex) |
| int | ExtractVnode (int, int, VnodeId, Unique_t, VnodeDiskObject *) |
| int | ReplaceVnode (int, int, VnodeId, Unique_t, VnodeDiskObject *) REQUIRES_TRANSACTION |
| void | GrowVnodes (VolumeId volid, int vclass, unsigned short newsize) REQUIRES_TRANSACTION |
| void | NewVolDiskInfo (Error *ec, int volindex, VolumeDiskData *vol) REQUIRES_TRANSACTION |
| int | VolDiskInfoById (Error *ec, VolumeId volid, VolumeDiskData *vol) |
| void | ExtractVolDiskInfo (Error *ec, int volindex, VolumeDiskData *vol) |
| void | ReplaceVolDiskInfo (Error *ec, int volindex, VolumeDiskData *vol) REQUIRES_TRANSACTION |
| VnodeDiskObject * | FindVnode (rec_smolist *, Unique_t) |
| int | ActiveVnodes (int volindex, int vclass) |
| int | AllocatedVnodes (int volindex, int vclass) |
| int | AvailVnode (int volindex, int vclass, VnodeId vnodeindex, Unique_t=0) |
| int | GetVolType (Error *ec, VolumeId volid) |
| void | GetVolPartition (Error *, VolumeId, int, char partition[V_MAXPARTNAMELEN]) |
| void | SetupVolCache () |
| VolumeId | VAllocateVolumeId (Error *ec) REQUIRES_TRANSACTION |
| VolumeId | VGetMaxVolumeId () |
| void | VSetMaxVolumeId (VolumeId newid) REQUIRES_TRANSACTION |
| #define HASHTABLESIZE 512 /* Number of buckets in volume hash table */ |
| int ActiveVnodes | ( | int | volindex, |
| int | vclass | ||
| ) |
| int AllocatedVnodes | ( | int | volindex, |
| int | vclass | ||
| ) |
| int AvailVnode | ( | int | volindex, |
| int | vclass, | ||
| VnodeId | vnodeindex, | ||
| Unique_t | u = 0 |
||
| ) |
| void CheckLargeVnodeHeader | ( | Error * | ec, |
| int | volindex | ||
| ) |
| void CheckSmallVnodeHeader | ( | Error * | ec, |
| int | volindex | ||
| ) |
| void CheckVolData | ( | Error * | ec, |
| int | volindex | ||
| ) |
| int coda_init | ( | ) |
| int DeleteRvmVolume | ( | unsigned int | myind, |
| Device | dev | ||
| ) |
| int DeleteVolume | ( | Volume * | vp | ) |
| int ExtractVnode | ( | int | volindex, |
| int | vclass, | ||
| VnodeId | vnodeindex, | ||
| Unique_t | uniquifier, | ||
| VnodeDiskObject * | vnode | ||
| ) |
| void ExtractVolDiskInfo | ( | Error * | ec, |
| int | volindex, | ||
| VolumeDiskData * | vol | ||
| ) |
| int ExtractVolHeader | ( | VolumeId | volid, |
| struct VolumeHeader * | header | ||
| ) |
| VnodeDiskObject * FindVnode | ( | rec_smolist * | vnlist, |
| Unique_t | u | ||
| ) |
| void GetVolPartition | ( | Error * | ec, |
| VolumeId | volid, | ||
| int | myind, | ||
| char | partition[V_MAXPARTNAMELEN] | ||
| ) |
| int GetVolType | ( | Error * | ec, |
| VolumeId | volid | ||
| ) |
| void GrowVnodes | ( | VolumeId | volid, |
| int | vclass, | ||
| unsigned short | newsize | ||
| ) |
| void NewVolDiskInfo | ( | Error * | ec, |
| int | volindex, | ||
| VolumeDiskData * | vol | ||
| ) |
| int NewVolHeader | ( | struct VolumeHeader * | header, |
| Error * | err | ||
| ) |
| int ReplaceVnode | ( | int | volindex, |
| int | vclass, | ||
| VnodeId | vnodeindex, | ||
| Unique_t | u, | ||
| VnodeDiskObject * | vnode | ||
| ) |
| void ReplaceVolDiskInfo | ( | Error * | ec, |
| int | volindex, | ||
| VolumeDiskData * | vol | ||
| ) |
| void SetupVolCache | ( | ) |
| VolumeId VAllocateVolumeId | ( | Error * | ec | ) |
| VolumeId VGetMaxVolumeId | ( | ) |
| int VolDiskInfoById | ( | Error * | ec, |
| VolumeId | volid, | ||
| VolumeDiskData * | vol | ||
| ) |
| int VolHeaderByIndex | ( | int | index, |
| struct VolumeHeader * | header | ||
| ) |
| void VSetMaxVolumeId | ( | VolumeId | newid | ) |