Coda Distributed File System
|
#include <stdio.h>
#include <sys/types.h>
#include <sys/time.h>
#include "coda_string.h"
#include <unistd.h>
#include <stdlib.h>
#include <math.h>
#include <lwp/lwp.h>
#include <lwp/lock.h>
#include <vice.h>
#include "local.h"
#include "user.h"
#include "venus.private.h"
#include "venusrecov.h"
#include "venusvol.h"
#include "vproc.h"
#include "worker.h"
Macros | |
#define | EVOLUME CEVOLUME |
#define | LOWERLIMIT 300000 /* .3 seconds */ |
#define | VFSOP_TO_VOLMODE(vfsop) (((vfsop) >= 0 && (vfsop) < NVFSOPS) ? VolModeMap[vfsop] : VM_MUTATING) |
Functions | |
void | VprocInit () |
void | Rtry_Wait () |
void | Rtry_Signal () |
vproc * | FindVproc (int vpid) |
void | VprocPreamble (void *arg) |
vproc * | VprocSelf () |
void | VprocWait (const void *addr) |
void | VprocMwait (int wcount, const void **addrs) |
void | VprocSignal (const void *addr, int yield) |
void | VprocSleep (struct timeval *delay) |
void | VprocYield () |
int | VprocSelect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
void | VprocSetRetry (int HowManyRetries, struct timeval *Beta0) |
int | VprocIdle () |
int | VprocInterrupted () |
void | PrintVprocs () |
void | PrintVprocs (FILE *fp) |
void | PrintVprocs (int fd) |
void | va_init (struct coda_vattr *vap) |
void | VPROC_printvattr (struct coda_vattr *vap) |
long | FidToNodeid (VenusFid *fid) |
Variables | |
const int | RVM_THREAD_DATA_ROCK_TAG |
const int | DFLT_VprocRetryCount = 5 |
const struct timeval | DFLT_VprocRetryBeta0 = { 15, 0 } |
int | VprocRetryN = -1 |
struct timeval * | VprocRetryBeta = 0 |
#define EVOLUME CEVOLUME |
#define LOWERLIMIT 300000 /* .3 seconds */ |
#define VFSOP_TO_VOLMODE | ( | vfsop | ) | (((vfsop) >= 0 && (vfsop) < NVFSOPS) ? VolModeMap[vfsop] : VM_MUTATING) |
long FidToNodeid | ( | VenusFid * | fid | ) |
vproc * FindVproc | ( | int | vpid | ) |
void PrintVprocs | ( | ) |
void PrintVprocs | ( | FILE * | fp | ) |
void PrintVprocs | ( | int | fd | ) |
void Rtry_Signal | ( | ) |
void Rtry_Wait | ( | ) |
void va_init | ( | struct coda_vattr * | vap | ) |
void VPROC_printvattr | ( | struct coda_vattr * | vap | ) |
int VprocIdle | ( | ) |
void VprocInit | ( | ) |
int VprocInterrupted | ( | ) |
void VprocMwait | ( | int | wcount, |
const void ** | addrs | ||
) |
void VprocPreamble | ( | void * | arg | ) |
int VprocSelect | ( | int | nfds, |
fd_set * | readfds, | ||
fd_set * | writefds, | ||
fd_set * | exceptfds, | ||
struct timeval * | timeout | ||
) |
vproc * VprocSelf | ( | ) |
void VprocSetRetry | ( | int | HowManyRetries, |
struct timeval * | Beta0 | ||
) |
void VprocSignal | ( | const void * | addr, |
int | yield | ||
) |
void VprocSleep | ( | struct timeval * | delay | ) |
void VprocWait | ( | const void * | addr | ) |
void VprocYield | ( | ) |
const struct timeval DFLT_VprocRetryBeta0 = { 15, 0 } |
const int DFLT_VprocRetryCount = 5 |
|
extern |
struct timeval* VprocRetryBeta = 0 |
int VprocRetryN = -1 |