/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
struct vlheader {
struct vital_vlheader vital_header; /* all small critical stuff are in here */
afs_uint32 IpMappedAddr[MAXSERVERID + 1]; /* Mapping of ip addresses to relative ones */
- afs_int32 VolnameHash[HASHSIZE]; /* hash table for vol names */
- afs_int32 VolidHash[MAXTYPES][HASHSIZE]; /* hash table for vol ids */
+ afs_uint32 VolnameHash[HASHSIZE]; /* hash table for vol names */
+ afs_uint32 VolidHash[MAXTYPES][HASHSIZE]; /* hash table for vol ids */
afs_int32 SIT; /* spare for poss future use */
};
afs_int32 flags; /* General flags */
afs_int32 LockAfsId; /* Person who locked entry */
afs_int32 LockTimestamp; /* lock time stamp */
- afs_int32 cloneId; /* used during cloning */
+ afs_uint32 cloneId; /* used during cloning */
afs_int32 spares0; /* XXXX was AssociatedChain XXXX */
- afs_int32 nextIdHash[MAXTYPES]; /* Next id hash table pointer (or freelist ->[0]) */
- afs_int32 nextNameHash; /* Next name hash table pointer */
+ afs_uint32 nextIdHash[MAXTYPES]; /* Next id hash table pointer (or freelist ->[0]) */
+ afs_uint32 nextNameHash; /* Next name hash table pointer */
afs_int32 spares1[2]; /* long spares */
char name[VL_MAXNAMELEN]; /* Volume name */
char spares3; /* XXX was volumeType XXXX */
afs_int32 flags; /* General flags */
afs_int32 LockAfsId; /* Person who locked entry */
afs_int32 LockTimestamp; /* lock time stamp */
- afs_int32 cloneId; /* used during cloning */
- afs_int32 nextIdHash[MAXTYPES]; /* Next id hash table pointer (or freelist ->[0]) */
- afs_int32 nextNameHash; /* Next name hash table pointer */
+ afs_uint32 cloneId; /* used during cloning */
+ afs_uint32 nextIdHash[MAXTYPES]; /* Next id hash table pointer (or freelist ->[0]) */
+ afs_uint32 nextNameHash; /* Next name hash table pointer */
char name[VL_MAXNAMELEN]; /* Volume name */
u_char serverNumber[NMAXNSERVERS]; /* Server # for each server that holds volume */
u_char serverPartition[NMAXNSERVERS]; /* Server Partition number */
typedef struct vlentry vlentry;
typedef struct nvlentry nvlentry;
-#define COUNT_REQ(op) static int this_op = op-VL_LOWEST_OPCODE; dynamic_statistics.requests[this_op]++
-#define COUNT_ABO dynamic_statistics.aborts[this_op]++
#define DOFFSET(abase,astr,aitem) ((abase)+(((char *)(aitem)) - ((char *)(astr))))
#define VL_MHSRV_PERBLK 64
afsUUID hostuuid;
afs_int32 uniquifier;
afs_uint32 addrs[VL_MAXIPADDRS_PERMH];
+ afs_int32 spares[12];
} _ex_addrentry;
} _ex_un;
};
#define ex_addrs _ex_un._ex_addrentry.addrs
#define ex_uniquifier _ex_un._ex_addrentry.uniquifier
-#define VLog(level, str) ViceLog(5, str)
+#define VLog(level, str) ViceLog(level, str)
#endif /* _VLSERVER_ */