|
Coda Distributed File System
|
#include <stdio.h>#include <sys/types.h>#include <sys/time.h>#include <sys/resource.h>#include <sys/file.h>#include <time.h>#include "coda_string.h"#include <errno.h>#include <signal.h>#include <sys/stat.h>#include <netinet/in.h>#include <stdarg.h>#include <stdlib.h>#include <unistd.h>#include "coda_flock.h"#include "codaconf.h"#include "codaenv.h"#include <lwp/lwp.h>#include <lwp/timer.h>#include <rpc2/rpc2.h>#include <rpc2/sftp.h>#include <rpc2/codatunnel.h>#include <partition.h>#include <util.h>#include <rvmlib.h>#include <resolution.h>#include <rvm/rvm_statistics.h>#include <prs.h>#include <al.h>#include <auth2.h>#include <res.h>#include <vice.h>#include <volutil.h>#include <codadir.h>#include <avice.h>#include <rpc2/rpc2_addrinfo.h>#include <volume.h>#include <srv.h>#include <vice.private.h>#include <recov.h>#include <camprivate.h>#include <coda_globals.h>#include <vrdb.h>#include <rescomm.h>#include <lockqueue.h>#include <coda_getservbyname.h>#include "coppend.h"#include "daemonizer.h"
Macros | |
| #define | CODADB vice_config_path("db/prot_users.db") |
| #define | KEY1 vice_config_path("db/auth2.tk") |
| #define | KEY2 vice_config_path("db/auth2.tk.BAK") |
| #define | MAXLWP 16 |
| #define | BADCLIENT 1000 |
Functions | |
| int | nice (int) |
| int | Fcon_Init () |
| void | rpc2_simplifyHost (RPC2_HostIdent *, RPC2_PortIdent *) |
| void | rds_printer (char *fmt...) |
| void | dumpvm () |
| void | zombie (int sig) TRANSACTION_OPTIONAL |
| struct timeval * | srv_rpc2_timeout () |
| int | main (int argc, char *argv[]) EXCLUDES_TRANSACTION |
| void | ViceUpdateDB () |
| void | PrintCounters (FILE *fp) |
| void | SwapMalloc () |
| void | SwapLog (int ign) |
| void | ViceTerminate () |
| void | Die (const char *msg) |
Variables | |
| int | SystemId |
| int | AnyUserId |
| unsigned | StartTime |
| int | CurrentConnections |
| int | Counters [MAXCNTRS] |
| const ViceFid | NullFid = { 0, 0, 0 } |
| const int | MaxVols = MAXVOLS |
| int | probingon |
| int | optimizationson |
| int | Authenticate |
| int | AllowResolution |
| int | AllowSHA |
| int | check_reintegration_retry |
| int | comparedirreps |
| int | pathtiming |
| int | pollandyield |
| const char * | CodaSrvIp |
| rvm_length_t | rvm_test |
| int | large = 0 |
| int | small = 0 |
| char * | SmonHost |
| int | SmonPort |
| int | stack = 0 |
| PROCESS | mainPid |
| struct camlib_recoverable_segment * | camlibRecoverableSegment |
| const char * | _Rvm_Log_Device |
| const char * | _Rvm_Data_Device |
| rvm_offset_t | _Rvm_DataLength |
| int | _Rvm_Truncate = 0 |
| char * | _DEBUG_p |
| int | DumpVM = 0 |
| int | prottrunc = FALSE |
| int | MallocTrace = FALSE |
| const char * | vicetab = NULL |
| #define BADCLIENT 1000 |
| #define CODADB vice_config_path("db/prot_users.db") |
| #define KEY1 vice_config_path("db/auth2.tk") |
| #define KEY2 vice_config_path("db/auth2.tk.BAK") |
| #define MAXLWP 16 |
| void Die | ( | const char * | msg | ) |
| void dumpvm | ( | ) |
| int Fcon_Init | ( | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| int nice | ( | int | ) |
| void PrintCounters | ( | FILE * | fp | ) |
| void rds_printer | ( | char * | fmt... | ) |
| void rpc2_simplifyHost | ( | RPC2_HostIdent * | Host, |
| RPC2_PortIdent * | Port | ||
| ) |
| struct timeval * srv_rpc2_timeout | ( | ) |
| void SwapLog | ( | int | ign | ) |
| void SwapMalloc | ( | ) |
| void ViceTerminate | ( | ) |
| void ViceUpdateDB | ( | ) |
| void zombie | ( | int | sig | ) |
| char* _DEBUG_p |
| const char* _Rvm_Data_Device |
| rvm_offset_t _Rvm_DataLength |
| const char* _Rvm_Log_Device |
| int _Rvm_Truncate = 0 |
| int AllowResolution |
| int AllowSHA |
| int AnyUserId |
| int Authenticate |
| struct camlib_recoverable_segment* camlibRecoverableSegment |
| int check_reintegration_retry |
| const char* CodaSrvIp |
| int comparedirreps |
| int Counters[MAXCNTRS] |
| int CurrentConnections |
| int DumpVM = 0 |
| int large = 0 |
| PROCESS mainPid |
| int MallocTrace = FALSE |
| const int MaxVols = MAXVOLS |
| const ViceFid NullFid = { 0, 0, 0 } |
| int optimizationson |
| int pathtiming |
| int pollandyield |
| int probingon |
| int prottrunc = FALSE |
|
extern |
| int small = 0 |
|
extern |
|
extern |
| int stack = 0 |
| unsigned StartTime |
| int SystemId |
| const char* vicetab = NULL |