OpenAFS
OpenAFS distributed network file system
/cygdrive/c/src/openafs/openafs.git/repo/src/afs/afs_osidnlc.h
00001 /*
00002  * Copyright 2000, International Business Machines Corporation and others.
00003  * All Rights Reserved.
00004  *
00005  * This software has been released under the terms of the IBM Public
00006  * License.  For details, see the LICENSE file in the top-level source
00007  * directory or online at http://www.openafs.org/dl/license10.html
00008  */
00009 
00010 #define AFSNCNAMESIZE 36        /* multiple of 4 */
00011 struct nc {
00012     unsigned int key;
00013     struct nc *next, *prev;
00014     struct vcache *dirp, *vp;
00015     unsigned char name[AFSNCNAMESIZE];
00016     /* I think that we can avoid wasting a byte for NULL, with a
00017      * a little bit of thought.
00018      */
00019 };
00020 
00021 typedef struct {
00022     unsigned int enters, lookups, misses, removes;
00023     unsigned int purgeds, purgevs, purgevols, purges;
00024     unsigned int cycles, lookuprace;
00025 } dnlcstats_t;
 All Data Structures Files Functions Variables