Coda Distributed File System
Functions
ops.h File Reference
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
#include <olist.h>
#include <dlist.h>
#include <rec_dlist.h>
#include <vmindex.h>
#include <cvnode.h>
#include <vlist.h>
#include <res.h>
#include <resutil.h>
Include dependency graph for ops.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int SpoolVMLogRecord (dlist *, vle *, Volume *, ViceStoreId *, int op...) EXCLUDES_TRANSACTION
 
int SpoolRenameLogRecord (int, dlist *, vle *, vle *, vle *, vle *, Volume *, char *, char *, ViceStoreId *) EXCLUDES_TRANSACTION
 
void TruncateLog (Volume *, Vnode *, vmindex *) REQUIRES_TRANSACTION
 
void FreeVMIndices (Volume *, vmindex *)
 
void PurgeLog (rec_dlist *, Volume *, vmindex *) REQUIRES_TRANSACTION
 
void PrintLog (rec_dlist *, FILE *)
 
void PrintLog (Vnode *, FILE *)
 
void DumpLog (rec_dlist *, Volume *, char **, int *, int *)
 
long RecovDirResolve (res_mgrpent *, ViceFid *, ViceVersionVector **, ResStatus **, int *, struct DirFid *) EXCLUDES_TRANSACTION
 
int CheckAndPerformRename (rsle *, Volume *, VolumeId, ViceFid *, dlist *, olist *, dlist *, int *, DirFid *) EXCLUDES_TRANSACTION
 

Function Documentation

◆ CheckAndPerformRename()

int CheckAndPerformRename ( rsle r,
Volume volptr,
VolumeId  VSGVolnum,
ViceFid *  dFid,
dlist vlist,
olist AllLogs,
dlist inclist,
int *  blocks,
DirFid *  HintFid 
)

◆ DumpLog()

void DumpLog ( rec_dlist log,
Volume vp,
char **  buf,
int *  bufsize,
int *  nentries 
)

◆ FreeVMIndices()

void FreeVMIndices ( Volume vol,
vmindex ind 
)

◆ PrintLog() [1/2]

void PrintLog ( rec_dlist log,
FILE *  fp 
)

◆ PrintLog() [2/2]

void PrintLog ( Vnode vptr,
FILE *  fp 
)

◆ PurgeLog()

void PurgeLog ( rec_dlist list,
Volume vol,
vmindex ind 
)

◆ RecovDirResolve()

long RecovDirResolve ( res_mgrpent mgrp,
ViceFid *  Fid,
ViceVersionVector **  VV,
ResStatus **  rstatusp,
int *  sizes,
struct DirFid *  HintFid 
)

◆ SpoolRenameLogRecord()

int SpoolRenameLogRecord ( int  opcode,
dlist vl,
vle svle,
vle tvle,
vle sdvle,
vle tdvle,
Volume volptr,
char *  OldName,
char *  NewName,
ViceStoreId *  StoreId 
)

◆ SpoolVMLogRecord()

int SpoolVMLogRecord ( dlist vlist,
vle v,
Volume vol,
ViceStoreId *  stid,
int  op... 
)

◆ TruncateLog()

void TruncateLog ( Volume vol,
Vnode vptr,
vmindex ind 
)