#include <coda_tsa.h>
#include "voldefs.h"
Go to the source code of this file.
|
Volume * | VCreateVolume (Error *ec, char *partition, VolumeId volumeId, VolumeId parentId, VolumeId groupId, int type=readwriteVolume, int rvmlogsize=0) REQUIRES_TRANSACTION |
|
Volume * | MakeBackupVolume (Volume *vp, Volume *sacrifice, int verbose) |
|
void | AssignVolumeName (VolumeDiskData *vol, char *name, const char *ext) |
|
void | CopyVolumeHeader (VolumeDiskData *from, VolumeDiskData *to) |
|
void | ClearVolumeStats (VolumeDiskData *vol) |
|
int | ListViceInodes (char *devname, char *mountedOn, char *resultFile, int(*judgeInode)(struct ViceInodeInfo *, VolumeId), int judgeParam) |
|
int | ListCodaInodes (char *devname, char *mountedOn, char *resultFile, int(*judgeInode)(struct ViceInodeInfo *, VolumeId), int judgeParam) |
|
int | HashString (char *s, unsigned int size) |
|
void | CloneVolume (Error *error, Volume *original, Volume *newv, Volume *old) |
|
◆ AssignVolumeName()
void AssignVolumeName |
( |
VolumeDiskData * |
vol, |
|
|
char * |
name, |
|
|
const char * |
ext |
|
) |
| |
◆ ClearVolumeStats()
◆ CloneVolume()
◆ CopyVolumeHeader()
◆ HashString()
int HashString |
( |
char * |
s, |
|
|
unsigned int |
size |
|
) |
| |
◆ ListCodaInodes()
int ListCodaInodes |
( |
char * |
devname, |
|
|
char * |
mountedOn, |
|
|
char * |
resultFile, |
|
|
int(*)(struct ViceInodeInfo *, VolumeId) |
judgeInode, |
|
|
int |
judgeParam |
|
) |
| |
◆ ListViceInodes()
int ListViceInodes |
( |
char * |
devname, |
|
|
char * |
mountedOn, |
|
|
char * |
resultFile, |
|
|
int(*)(struct ViceInodeInfo *, VolumeId) |
judgeInode, |
|
|
int |
judgeParam |
|
) |
| |
◆ MakeBackupVolume()
◆ VCreateVolume()
Volume * VCreateVolume |
( |
Error * |
ec, |
|
|
char * |
partition, |
|
|
VolumeId |
volumeId, |
|
|
VolumeId |
parentId, |
|
|
VolumeId |
groupId, |
|
|
int |
type = readwriteVolume , |
|
|
int |
rvmlogsize = 0 |
|
) |
| |