|
Coda Distributed File System
|
#include <stdio.h>#include "coda_string.h"#include <sys/types.h>#include <sys/stat.h>#include <sys/time.h>#include <stdint.h>#include <coda.h>#include <lwp/lwp.h>#include <lwp/lock.h>#include <vice.h>#include <rvmlib.h>#include <olist.h>#include <dlist.h>#include <rec_dlist.h>#include <venusioctl.h>#include "fso_cachefile.h"#include "venus.private.h"

Go to the source code of this file.
Classes | |
| struct | coda_string |
| struct | uarea |
| class | vproc |
| class | vproc_iterator |
| struct | venus_cnode |
Macros | |
| #define | NAME_NO_DOTS 1 /* don't allow '.', '..', '/' */ |
| #define | NAME_NO_CONFLICT 2 /* don't allow @XXXXXXXX.YYYYYYYY.ZZZZZZZZ */ |
| #define | NAME_NO_EXPANSION 4 /* don't allow @cpu / @sys */ |
| #define | FTTOVT(ft) |
| #define | MAKE_CNODE(vp, fid, type) |
| #define | MAKE_CNODE2(vp, fid, type) |
| #define | C_FLAGS_INCON 0x2 |
| #define | VA_IGNORE_FSID ((long)-1) |
| #define | VA_IGNORE_ID ((unsigned long)-1) |
| #define | VA_IGNORE_NLINK ((short)-1) |
| #define | VA_IGNORE_BLOCKSIZE ((long)-1) |
| #define | VA_IGNORE_RDEV ((cdev_t) - 1) |
| #define | VA_IGNORE_STORAGE ((uint64_t)-1) |
| #define | VA_IGNORE_MODE ((u_short) - 1) |
| #define | VA_IGNORE_UID ((uid_t) - 1) |
| #define | VA_IGNORE_GID ((gid_t) - 1) |
| #define | VA_IGNORE_SIZE ((uint64_t)-1) |
| #define | VA_IGNORE_TIME1 ((time_t)-1) |
| #define | VA_IGNORE_FLAGS ((u_long) - 1) |
Typedefs | |
| typedef void(* | PROCBODY) (void) |
Enumerations | |
| enum | vproctype { VPT_Main , VPT_Worker , VPT_Mariner , VPT_CallBack , VPT_HDBDaemon , VPT_Reintegrator , VPT_Resolver , VPT_FSODaemon , VPT_ProbeDaemon , VPT_VSGDaemon , VPT_VolDaemon , VPT_UserDaemon , VPT_RecovDaemon , VPT_VmonDaemon , VPT_AdviceDaemon , VPT_LRDaemon , VPT_Daemon } |
Functions | |
| void | PrintVprocs () |
| void | PrintVprocs (FILE *) |
| void | PrintVprocs (int) |
| void | VPROC_printvattr (struct coda_vattr *vap) |
| void | VprocInit () |
| void | Rtry_Wait () EXCLUDES_TRANSACTION |
| void | Rtry_Signal () |
| vproc * | FindVproc (int) |
| vproc * | VprocSelf () |
| void | VprocWait (const void *) EXCLUDES_TRANSACTION |
| void | VprocMwait (int, const void **) EXCLUDES_TRANSACTION |
| void | VprocSignal (const void *, int=0) |
| void | VprocSleep (struct timeval *) EXCLUDES_TRANSACTION |
| void | VprocYield () EXCLUDES_TRANSACTION |
| int | VprocSelect (int, fd_set *, fd_set *, fd_set *, struct timeval *) EXCLUDES_TRANSACTION |
| void | VprocSetRetry (int=-1, struct timeval *=0) |
| int | VprocIdle () |
| int | VprocInterrupted () |
| void | va_init (struct coda_vattr *) |
| long | FidToNodeid (VenusFid *) |
Variables | |
| const int | VPROC_DEFAULT_STACK_SIZE = 16384 |
| const int | RETRY_LIMIT = 10 |
| #define C_FLAGS_INCON 0x2 |
| #define FTTOVT | ( | ft | ) |
| #define NAME_NO_CONFLICT 2 /* don't allow @XXXXXXXX.YYYYYYYY.ZZZZZZZZ */ |
| #define NAME_NO_DOTS 1 /* don't allow '.', '..', '/' */ |
| #define NAME_NO_EXPANSION 4 /* don't allow @cpu / @sys */ |
| #define VA_IGNORE_BLOCKSIZE ((long)-1) |
| #define VA_IGNORE_FLAGS ((u_long) - 1) |
| #define VA_IGNORE_FSID ((long)-1) |
| #define VA_IGNORE_GID ((gid_t) - 1) |
| #define VA_IGNORE_ID ((unsigned long)-1) |
| #define VA_IGNORE_MODE ((u_short) - 1) |
| #define VA_IGNORE_NLINK ((short)-1) |
| #define VA_IGNORE_SIZE ((uint64_t)-1) |
| #define VA_IGNORE_STORAGE ((uint64_t)-1) |
| #define VA_IGNORE_TIME1 ((time_t)-1) |
| #define VA_IGNORE_UID ((uid_t) - 1) |
| typedef void(* PROCBODY) (void) |
| enum vproctype |
| 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 | ||
| ) |
| int VprocSelect | ( | int | nfds, |
| fd_set * | readfds, | ||
| fd_set * | writefds, | ||
| fd_set * | exceptfds, | ||
| struct timeval * | timeout | ||
| ) |
| vproc * VprocSelf | ( | ) |
| void VprocSetRetry | ( | int | HowManyRetries = -1, |
| struct timeval * | Beta0 = 0 |
||
| ) |
| void VprocSignal | ( | const void * | addr, |
| int | yield = 0 |
||
| ) |
| void VprocSleep | ( | struct timeval * | delay | ) |
| void VprocWait | ( | const void * | addr | ) |
| void VprocYield | ( | ) |
| const int RETRY_LIMIT = 10 |
| const int VPROC_DEFAULT_STACK_SIZE = 16384 |