version 1.1, 2005/01/23 19:37:05 |
version 1.1.2.4, 2005/11/10 14:12:39 |
|
|
#define DIRHASH_DEL (-2) /* deleted entry; may be part of chain */ |
#define DIRHASH_DEL (-2) /* deleted entry; may be part of chain */ |
|
|
#define DIRALIGN 4 |
#define DIRALIGN 4 |
#define DH_NFSTATS (DIRECTSIZ(MAXNAMLEN + 1) / DIRALIGN) |
#define DH_NFSTATS (DIRECTSIZ(FFS_MAXNAMLEN + 1) / DIRALIGN) |
/* max DIRALIGN words in a directory entry */ |
/* max DIRALIGN words in a directory entry */ |
|
|
/* |
/* |
|
|
* candidates is much larger than the configured memry limit). In this |
* candidates is much larger than the configured memry limit). In this |
* case it limits the number of hash builds to 1/DH_SCOREINIT of the |
* case it limits the number of hash builds to 1/DH_SCOREINIT of the |
* number of accesses. |
* number of accesses. |
*/ |
*/ |
#define DH_SCOREINIT 8 /* initial dh_score when dirhash built */ |
#define DH_SCOREINIT 8 /* initial dh_score when dirhash built */ |
#define DH_SCOREMAX 64 /* max dh_score value */ |
#define DH_SCOREMAX 64 /* max dh_score value */ |
|
|