Coda Distributed File System
camprivate.h
Go to the documentation of this file.
1/* BLURB gpl
2
3 Coda File System
4 Release 6
5
6 Copyright (c) 1987-2003 Carnegie Mellon University
7 Additional copyrights listed below
8
9This code is distributed "AS IS" without warranty of any kind under
10the terms of the GNU General Public Licence Version 2, as shown in the
11file LICENSE. The technical and financial contributors to Coda are
12listed in the file CREDITS.
13
14 Additional copyrights
15 none currently
16
17#*/
18
19#ifndef _CAMPRIVATE_H_
20#define _CAMPRIVATE_H_ 1
21#include "rec_smolist.h"
22/* Declarations private to the RVM part of the volume package */
23
24/*
25 VolumeData: Volume meta data in RVM
26*/
27
28/* Used to be part of struct VolumeHeader, now private to camelot storage */
29struct VolumeData {
30 VolumeDiskData *volumeInfo; /* pointer to VolumeDiskData */
31 rec_smolist *smallVnodeLists; /* pointer to array of Vnode list ptrs */
32 bit32 nsmallvnodes; /* number of alloced vnodes */
33 bit32 nsmallLists; /* number of vnode lists */
34 rec_smolist *largeVnodeLists; /* pointer to array of Vnode list ptrs */
35 bit32 nlargevnodes; /* number of alloced vnodes */
36 bit32 nlargeLists; /* number of vnode lists */
37 bit32 reserved[10]; /* If you add fields, add them before
38 here and reduce the size of this array */
39};
40
41/* Top level of camelot recoverable storage structures */
42struct VolHead {
45};
46
47#endif /* _CAMPRIVATE_H_ */
Definition: rec_smolist.h:65
Definition: camprivate.h:42
struct VolumeHeader header
Definition: camprivate.h:43
struct VolumeData data
Definition: camprivate.h:44
Definition: camprivate.h:29
bit32 nlargeLists
Definition: camprivate.h:36
VolumeDiskData * volumeInfo
Definition: camprivate.h:30
bit32 nsmallvnodes
Definition: camprivate.h:32
bit32 nsmallLists
Definition: camprivate.h:33
bit32 reserved[10]
Definition: camprivate.h:37
rec_smolist * smallVnodeLists
Definition: camprivate.h:31
rec_smolist * largeVnodeLists
Definition: camprivate.h:34
bit32 nlargevnodes
Definition: camprivate.h:35
Definition: volume.h:108
Definition: volume.h:92
uint32_t bit32
Definition: voltypes.h:56