Coda Distributed File System
Macros | Functions | Variables
wind.c File Reference
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/file.h>
#include <stdlib.h>
#include <sysent.h>
#include <stdio.h>
#include "coda_assert.h"
#include "lock.h"
#include <stdarg.h>
#include "mond.h"
#include "mondgen.h"
#include "report.h"
#include "vargs.h"
#include "data.h"
#include "bbuf.h"
#include "mondutil.h"
Include dependency graph for wind.c:

Macros

#define _BLURB_
 

Functions

void PutLong (unsigned long)
 
void PutLong (long)
 
void PutString (unsigned char *, unsigned long)
 
long ReportSession (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)
 
long ReportCommEvent (VmonVenusId *Venus, RPC2_Unsigned ServerIPAddress, long SerialNumber, RPC2_Unsigned Time, VmonCommEventType Type)
 
long ReportClntCall (VmonVenusId *Venus, long Time, class callCountArray *SrvCount)
 
long ReportClntMCall (VmonVenusId *Venus, long Time, class multiCallArray *MSrvCount)
 
long ReportClntRVM (VmonVenusId *Venus, long Time, RvmStatistics *Stats)
 
long ReportVCB (VmonVenusId *Venus, long VenusInit, long Time, VolumeId Volume, VCBStatistics *Stats)
 
long ReportAdviceCall (VmonVenusId *Venus, long Time, UserId User, AdviceStatistics *Stats, unsigned long Call_Size, AdviceCalls *Call_Stats, unsigned long Result_Size, AdviceResults *Result_Stats)
 
long ReportMiniCacheCall (VmonVenusId *Venus, long Time, unsigned long vn_size, VmonMiniCacheStat *vn_stat, unsigned long vfs_size, VmonMiniCacheStat *vfs_stat)
 
long ReportOverflow (VmonVenusId *Venus, RPC2_Unsigned VMStartTime, RPC2_Unsigned VMEndTime, RPC2_Integer VMCount, RPC2_Unsigned RVMStartTime, RPC2_Unsigned RVMEndTime, RPC2_Integer RVMCount)
 
long ReportSrvrCall (SmonViceId *Vice, RPC2_Unsigned Time, class callCountArray *CBCount, class callCountArray *ResCount, class callCountArray *SmonCount, class callCountArray *VolDCount, class multiCallArray *MultiCount, SmonStatistics *Stats)
 
long ReportResEvent (SmonViceId *Vice, RPC2_Unsigned Time, VolumeId Volid, RPC2_Integer HighWaterMark, RPC2_Integer AllocNumber, RPC2_Integer DeallocNumber, RPC2_Integer ResOpSize, ResOpEntry ResOp[])
 
long ReportRvmResEvent (SmonViceId Vice, unsigned long Time, unsigned long VolID, FileResStats FileRes, DirResStats DirRes, Histogram *LogSizeHisto, Histogram *LogMaxHisto, ResConflictStats Conflicts, Histogram *SuccHierHist, Histogram *FailHierHist, ResLogStats ResLog, Histogram *VarLogHisto, Histogram *LogSize)
 
long ReportSrvOverflow (SmonViceId *Vice, unsigned long Time, unsigned long StartTime, unsigned long EndTime, long Count)
 
long ReportIotInfoCall (VmonVenusId *Venus, IOT_INFO *Info, RPC2_Integer AppNameLen, RPC2_String AppName)
 
long ReportIotStatsCall (VmonVenusId *Venus, RPC2_Integer Time, IOT_STAT *Stats)
 
long ReportSubtreeCall (VmonVenusId *Venus, RPC2_Integer Time, LocalSubtreeStats *Stats)
 
long ReportRepairCall (VmonVenusId *Venus, RPC2_Integer Time, RepairSessionStats *Stats)
 
long ReportRwsStatsCall (VmonVenusId *Venus, RPC2_Integer Time, ReadWriteSharingStats *Stats)
 
void PutMagicNumber (void)
 

Variables

__cplusplus __cplusplus FILE * DataFile
 

Macro Definition Documentation

◆ _BLURB_

#define _BLURB_

Function Documentation

◆ PutLong() [1/2]

void PutLong ( long  Value)
inline

◆ PutLong() [2/2]

void PutLong ( unsigned long  Value)
inline

◆ PutMagicNumber()

void PutMagicNumber ( void  )

◆ PutString()

void PutString ( unsigned char *  Str,
unsigned long  Len 
)
inline

◆ ReportAdviceCall()

long ReportAdviceCall ( VmonVenusId *  Venus,
long  Time,
UserId  User,
AdviceStatistics *  Stats,
unsigned long  Call_Size,
AdviceCalls *  Call_Stats,
unsigned long  Result_Size,
AdviceResults *  Result_Stats 
)

◆ ReportClntCall()

long ReportClntCall ( VmonVenusId *  Venus,
long  Time,
class callCountArray SrvCount 
)

◆ ReportClntMCall()

long ReportClntMCall ( VmonVenusId *  Venus,
long  Time,
class multiCallArray MSrvCount 
)

◆ ReportClntRVM()

long ReportClntRVM ( VmonVenusId *  Venus,
long  Time,
RvmStatistics *  Stats 
)

◆ ReportCommEvent()

long ReportCommEvent ( VmonVenusId *  Venus,
RPC2_Unsigned  ServerIPAddress,
long  SerialNumber,
RPC2_Unsigned  Time,
VmonCommEventType  Type 
)

◆ ReportIotInfoCall()

long ReportIotInfoCall ( VmonVenusId *  Venus,
IOT_INFO *  Info,
RPC2_Integer  AppNameLen,
RPC2_String  AppName 
)

◆ ReportIotStatsCall()

long ReportIotStatsCall ( VmonVenusId *  Venus,
RPC2_Integer  Time,
IOT_STAT *  Stats 
)

◆ ReportMiniCacheCall()

long ReportMiniCacheCall ( VmonVenusId *  Venus,
long  Time,
unsigned long  vn_size,
VmonMiniCacheStat *  vn_stat,
unsigned long  vfs_size,
VmonMiniCacheStat *  vfs_stat 
)

◆ ReportOverflow()

long ReportOverflow ( VmonVenusId *  Venus,
RPC2_Unsigned  VMStartTime,
RPC2_Unsigned  VMEndTime,
RPC2_Integer  VMCount,
RPC2_Unsigned  RVMStartTime,
RPC2_Unsigned  RVMEndTime,
RPC2_Integer  RVMCount 
)

◆ ReportRepairCall()

long ReportRepairCall ( VmonVenusId *  Venus,
RPC2_Integer  Time,
RepairSessionStats *  Stats 
)

◆ ReportResEvent()

long ReportResEvent ( SmonViceId *  Vice,
RPC2_Unsigned  Time,
VolumeId  Volid,
RPC2_Integer  HighWaterMark,
RPC2_Integer  AllocNumber,
RPC2_Integer  DeallocNumber,
RPC2_Integer  ResOpSize,
ResOpEntry  ResOp[] 
)

◆ ReportRvmResEvent()

long ReportRvmResEvent ( SmonViceId  Vice,
unsigned long  Time,
unsigned long  VolID,
FileResStats  FileRes,
DirResStats  DirRes,
Histogram LogSizeHisto,
Histogram LogMaxHisto,
ResConflictStats  Conflicts,
Histogram SuccHierHist,
Histogram FailHierHist,
ResLogStats  ResLog,
Histogram VarLogHisto,
Histogram LogSize 
)

◆ ReportRwsStatsCall()

long ReportRwsStatsCall ( VmonVenusId *  Venus,
RPC2_Integer  Time,
ReadWriteSharingStats *  Stats 
)

◆ ReportSession()

long ReportSession ( 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 
)

◆ ReportSrvOverflow()

long ReportSrvOverflow ( SmonViceId *  Vice,
unsigned long  Time,
unsigned long  StartTime,
unsigned long  EndTime,
long  Count 
)

◆ ReportSrvrCall()

long ReportSrvrCall ( SmonViceId *  Vice,
RPC2_Unsigned  Time,
class callCountArray CBCount,
class callCountArray ResCount,
class callCountArray SmonCount,
class callCountArray VolDCount,
class multiCallArray MultiCount,
SmonStatistics *  Stats 
)

◆ ReportSubtreeCall()

long ReportSubtreeCall ( VmonVenusId *  Venus,
RPC2_Integer  Time,
LocalSubtreeStats *  Stats 
)

◆ ReportVCB()

long ReportVCB ( VmonVenusId *  Venus,
long  VenusInit,
long  Time,
VolumeId  Volume,
VCBStatistics *  Stats 
)

Variable Documentation

◆ DataFile

__cplusplus __cplusplus FILE* DataFile
extern