|
Coda Distributed File System
|
#include <stdio.h>#include <sys/types.h>#include <sys/time.h>#include <sys/resource.h>#include <sys/param.h>#include <errno.h>#include <stdarg.h>#include <math.h>#include "coda_string.h"#include <unistd.h>#include <stdlib.h>#include <rpc2/rpc2.h>#include <vice.h>#include <util.h>#include <inconsist.h>#include "comm.h"#include "fso.h"#include "hdb.h"#include "local.h"#include "mariner.h"#include "mgrp.h"#include "user.h"#include "venus.private.h"#include "venuscb.h"#include "venusioctl.h"#include "venusrecov.h"#include "venusstats.h"#include "venusvol.h"#include "vproc.h"#include "vsg.h"#include "worker.h"#include "realmdb.h"
Functions | |
| void | dprint (const char *fmt...) |
| void | choke (const char *file, int line, const char *fmt...) |
| void | VenusPrint (int argc, const char **argv) |
| void | VenusPrint (FILE *fp, int argc, const char **argv) |
| void | VenusPrint (int fd, int argc, const char **argv) |
| const char * | VenusOpStr (int opcode) |
| const char * | IoctlOpStr (unsigned char nr) |
| const char * | VenusRetStr (int retcode) |
| void | VVPrint (FILE *fp, ViceVersionVector **vvp) |
| int | binaryfloor (int n) |
| void | LogInit () |
| void | DebugOn () |
| void | DebugOff () |
| void | Terminate () |
| void | DumpState () |
| void | RusagePrint (int afd) |
| void | VFSPrint (int afd) |
| void | RPCPrint (int afd) |
| void | GetCSS (RPCPktStatistics *cs) |
| void | SubCSSs (RPCPktStatistics *cs1, RPCPktStatistics *cs2) |
| void | MallocPrint (int fd) |
| void | StatsInit () |
| void | ToggleMallocTrace () |
| void | rds_printer (char *fmt...) |
| void | SwapLog () |
| const char * | lvlstr (LockLevel level) |
| time_t | Vtime () |
| int | FAV_Compare (ViceFidAndVV *fav1, ViceFidAndVV *fav2) |
Variables | |
| FILE * | logFile |
| int | LogLevel = 0 |
| int | MallocTrace = 0 |
| const VenusFid | NullFid = { 0, 0, 0, 0 } |
| const ViceVersionVector | NullVV = { { 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0 }, 0 } |
| VFSStatistics | VFSStats |
| RPCOpStatistics | RPCOpStats |
| int binaryfloor | ( | int | n | ) |
| void choke | ( | const char * | file, |
| int | line, | ||
| const char * | fmt... | ||
| ) |
| void DebugOff | ( | ) |
| void DebugOn | ( | ) |
| void dprint | ( | const char * | fmt... | ) |
| void DumpState | ( | ) |
| int FAV_Compare | ( | ViceFidAndVV * | fav1, |
| ViceFidAndVV * | fav2 | ||
| ) |
| void GetCSS | ( | RPCPktStatistics * | cs | ) |
| const char * IoctlOpStr | ( | unsigned char | nr | ) |
| void LogInit | ( | ) |
| const char * lvlstr | ( | LockLevel | level | ) |
| void MallocPrint | ( | int | fd | ) |
| void rds_printer | ( | char * | fmt... | ) |
| void RPCPrint | ( | int | afd | ) |
| void RusagePrint | ( | int | afd | ) |
| void StatsInit | ( | ) |
| void SubCSSs | ( | RPCPktStatistics * | cs1, |
| RPCPktStatistics * | cs2 | ||
| ) |
| void SwapLog | ( | ) |
| void Terminate | ( | void | ) |
| void ToggleMallocTrace | ( | ) |
| const char * VenusOpStr | ( | int | opcode | ) |
| void VenusPrint | ( | FILE * | fp, |
| int | argc, | ||
| const char ** | argv | ||
| ) |
| void VenusPrint | ( | int | argc, |
| const char ** | argv | ||
| ) |
| void VenusPrint | ( | int | fd, |
| int | argc, | ||
| const char ** | argv | ||
| ) |
| const char * VenusRetStr | ( | int | retcode | ) |
| void VFSPrint | ( | int | afd | ) |
| time_t Vtime | ( | ) |
| void VVPrint | ( | FILE * | fp, |
| ViceVersionVector ** | vvp | ||
| ) |
| FILE* logFile |
| int LogLevel = 0 |
| int MallocTrace = 0 |
| const VenusFid NullFid = { 0, 0, 0, 0 } |
| const ViceVersionVector NullVV = { { 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0 }, 0 } |
| RPCOpStatistics RPCOpStats |
| VFSStatistics VFSStats |