Coda Distributed File System
|
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <sys/time.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include "coda_string.h"
#include <netinet/in.h>
#include "mondgen.h"
#include "mond.h"
#include <stdarg.h>
#include "util.h"
#include "vargs.h"
Macros | |
#define | _BLURB_ |
Functions | |
void | RemoveCountArray (unsigned long, CallCountEntry *) |
void | RemoveMultiArray (unsigned long, MultiCallEntry *) |
long | ScanPastMagicNumber (long *rt) |
int | ReadSessionRecord (VmonVenusId *Venus, VmonSessionId *Session, VolumeId *Volume, UserId *User, VmonAVSG *AVSG, RPC2_Unsigned *StartTime, RPC2_Unsigned *EndTime, RPC2_Unsigned *CETime, VmonSessionEventArray *Events, SessionStatistics *Stats, CacheStatistics *CacheStats) |
int | ReadCommRecord (VmonVenusId *Venus, RPC2_Unsigned *ServerIPAddress, RPC2_Integer *SerialNumber, RPC2_Unsigned *Time, VmonCommEventType *Type) |
int | ReadClientCall (VmonVenusId *Venus, long *Time, unsigned long *sc_size, CallCountEntry **SrvCount) |
int | ReadClientMCall (VmonVenusId *Venus, long *Time, unsigned long *msc_size, MultiCallEntry **MSrvCount) |
int | ReadClientRVM (VmonVenusId *Venus, long *Time, RvmStatistics *Stats) |
int | ReadVCB (VmonVenusId *Venus, long *VenusInit, long *Time, VolumeId *Volume, VCBStatistics *Stats) |
int | ReadAdviceCall (VmonVenusId *Venus, long *Time, UserId *User, AdviceStatistics *Stats, unsigned long *Call_Size, AdviceCalls **Call_Stats, unsigned long *Result_Size, AdviceResults **Result_Stats) |
int | ReadMiniCacheCall (VmonVenusId *Venus, long *Time, unsigned long *vn_size, VmonMiniCacheStat **vn_stat, unsigned long *vfs_size, VmonMiniCacheStat **vfs_stat) |
int | ReadOverflow (VmonVenusId *Venus, RPC2_Unsigned *VMStartTime, RPC2_Unsigned *VMEndTime, RPC2_Unsigned *VMCount, RPC2_Unsigned *RVMStartTime, RPC2_Unsigned *RVMEndTime, RPC2_Unsigned *RVMCount) |
int | ReadSrvCall (SmonViceId *Vice, unsigned long *Time, unsigned long *CBSize, CallCountEntry **CBCount, unsigned long *ResSize, CallCountEntry **ResCount, unsigned long *SmonSize, CallCountEntry **SmonCount, unsigned long *VolDSize, CallCountEntry **VolDCount, unsigned long *MultiSize, MultiCallEntry **MultiCount, SmonStatistics *Stats) |
int | ReadResEvent (SmonViceId *Vice, unsigned long *Time, unsigned long *Volid, long *HighWaterMark, long *AllocNumber, long *DeallocNumber, unsigned long *ResOpSize, ResOpEntry **ResOp) |
int | ReadRvmResEvent (SmonViceId *Vice, unsigned long *Time, unsigned long *VolID, FileResStats *FileRes, DirResStats *DirRes, long *lshsize, HistoElem **LogSizeHisto, long *lmhsize, HistoElem **LogMaxHisto, ResConflictStats *Conflicts, long *shhsize, HistoElem **SuccHierHist, long *fhhsize, HistoElem **FailHierHist, ResLogStats *ResLog, long *vlhsize, HistoElem **VarLogHisto, long *lssize, HistoElem **LogSize) |
int | ReadSrvOverflow (SmonViceId *Vice, unsigned long *Time, unsigned long *StartTime, unsigned long *EndTime, long *Count) |
int | ReadIotInfoCall (VmonVenusId *Venus, IOT_INFO *Info, RPC2_Integer *AppNameLen, RPC2_String *AppName) |
int | ReadIotStatsCall (VmonVenusId *Venus, RPC2_Integer *Time, IOT_STAT *Stats) |
int | ReadSubtreeCall (VmonVenusId *Venus, RPC2_Integer *Time, LocalSubtreeStats *Stats) |
int | ReadRepairCall (VmonVenusId *Venus, RPC2_Integer *Time, RepairSessionStats *Stats) |
int | ReadRwsStatsCall (VmonVenusId *Venus, RPC2_Integer *Time, ReadWriteSharingStats *Stats) |
Variables | |
__cplusplus __cplusplus int | LogLevel |
FILE * | LogFile |
FILE * | DataFile |
#define _BLURB_ |
int ReadAdviceCall | ( | VmonVenusId * | Venus, |
long * | Time, | ||
UserId * | User, | ||
AdviceStatistics * | Stats, | ||
unsigned long * | Call_Size, | ||
AdviceCalls ** | Call_Stats, | ||
unsigned long * | Result_Size, | ||
AdviceResults ** | Result_Stats | ||
) |
int ReadClientCall | ( | VmonVenusId * | Venus, |
long * | Time, | ||
unsigned long * | sc_size, | ||
CallCountEntry ** | SrvCount | ||
) |
int ReadClientMCall | ( | VmonVenusId * | Venus, |
long * | Time, | ||
unsigned long * | msc_size, | ||
MultiCallEntry ** | MSrvCount | ||
) |
int ReadClientRVM | ( | VmonVenusId * | Venus, |
long * | Time, | ||
RvmStatistics * | Stats | ||
) |
int ReadCommRecord | ( | VmonVenusId * | Venus, |
RPC2_Unsigned * | ServerIPAddress, | ||
RPC2_Integer * | SerialNumber, | ||
RPC2_Unsigned * | Time, | ||
VmonCommEventType * | Type | ||
) |
int ReadIotInfoCall | ( | VmonVenusId * | Venus, |
IOT_INFO * | Info, | ||
RPC2_Integer * | AppNameLen, | ||
RPC2_String * | AppName | ||
) |
int ReadIotStatsCall | ( | VmonVenusId * | Venus, |
RPC2_Integer * | Time, | ||
IOT_STAT * | Stats | ||
) |
int ReadMiniCacheCall | ( | VmonVenusId * | Venus, |
long * | Time, | ||
unsigned long * | vn_size, | ||
VmonMiniCacheStat ** | vn_stat, | ||
unsigned long * | vfs_size, | ||
VmonMiniCacheStat ** | vfs_stat | ||
) |
int ReadOverflow | ( | VmonVenusId * | Venus, |
RPC2_Unsigned * | VMStartTime, | ||
RPC2_Unsigned * | VMEndTime, | ||
RPC2_Unsigned * | VMCount, | ||
RPC2_Unsigned * | RVMStartTime, | ||
RPC2_Unsigned * | RVMEndTime, | ||
RPC2_Unsigned * | RVMCount | ||
) |
int ReadRepairCall | ( | VmonVenusId * | Venus, |
RPC2_Integer * | Time, | ||
RepairSessionStats * | Stats | ||
) |
int ReadResEvent | ( | SmonViceId * | Vice, |
unsigned long * | Time, | ||
unsigned long * | Volid, | ||
long * | HighWaterMark, | ||
long * | AllocNumber, | ||
long * | DeallocNumber, | ||
unsigned long * | ResOpSize, | ||
ResOpEntry ** | ResOp | ||
) |
int ReadRvmResEvent | ( | SmonViceId * | Vice, |
unsigned long * | Time, | ||
unsigned long * | VolID, | ||
FileResStats * | FileRes, | ||
DirResStats * | DirRes, | ||
long * | lshsize, | ||
HistoElem ** | LogSizeHisto, | ||
long * | lmhsize, | ||
HistoElem ** | LogMaxHisto, | ||
ResConflictStats * | Conflicts, | ||
long * | shhsize, | ||
HistoElem ** | SuccHierHist, | ||
long * | fhhsize, | ||
HistoElem ** | FailHierHist, | ||
ResLogStats * | ResLog, | ||
long * | vlhsize, | ||
HistoElem ** | VarLogHisto, | ||
long * | lssize, | ||
HistoElem ** | LogSize | ||
) |
int ReadRwsStatsCall | ( | VmonVenusId * | Venus, |
RPC2_Integer * | Time, | ||
ReadWriteSharingStats * | Stats | ||
) |
int ReadSessionRecord | ( | VmonVenusId * | Venus, |
VmonSessionId * | Session, | ||
VolumeId * | Volume, | ||
UserId * | User, | ||
VmonAVSG * | AVSG, | ||
RPC2_Unsigned * | StartTime, | ||
RPC2_Unsigned * | EndTime, | ||
RPC2_Unsigned * | CETime, | ||
VmonSessionEventArray * | Events, | ||
SessionStatistics * | Stats, | ||
CacheStatistics * | CacheStats | ||
) |
int ReadSrvCall | ( | SmonViceId * | Vice, |
unsigned long * | Time, | ||
unsigned long * | CBSize, | ||
CallCountEntry ** | CBCount, | ||
unsigned long * | ResSize, | ||
CallCountEntry ** | ResCount, | ||
unsigned long * | SmonSize, | ||
CallCountEntry ** | SmonCount, | ||
unsigned long * | VolDSize, | ||
CallCountEntry ** | VolDCount, | ||
unsigned long * | MultiSize, | ||
MultiCallEntry ** | MultiCount, | ||
SmonStatistics * | Stats | ||
) |
int ReadSrvOverflow | ( | SmonViceId * | Vice, |
unsigned long * | Time, | ||
unsigned long * | StartTime, | ||
unsigned long * | EndTime, | ||
long * | Count | ||
) |
int ReadSubtreeCall | ( | VmonVenusId * | Venus, |
RPC2_Integer * | Time, | ||
LocalSubtreeStats * | Stats | ||
) |
int ReadVCB | ( | VmonVenusId * | Venus, |
long * | VenusInit, | ||
long * | Time, | ||
VolumeId * | Volume, | ||
VCBStatistics * | Stats | ||
) |
void RemoveCountArray | ( | unsigned long | Size, |
CallCountEntry * | array | ||
) |
void RemoveMultiArray | ( | unsigned long | Size, |
MultiCallEntry * | array | ||
) |
long ScanPastMagicNumber | ( | long * | rt | ) |
|
extern |
|
extern |
|
extern |