version 1.5, 1999/02/15 21:13:07 |
version 1.6, 1999/02/15 21:17:48 |
|
|
* pool is handed an opaque MPOOL cookie which stores all of this information. |
* pool is handed an opaque MPOOL cookie which stores all of this information. |
*/ |
*/ |
#define HASHSIZE 128 |
#define HASHSIZE 128 |
#define HASHKEY(pgno) ((pgno - 1) % HASHSIZE) |
#define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE) |
|
|
/* The BKT structures are the elements of the queues. */ |
/* The BKT structures are the elements of the queues. */ |
typedef struct _bkt { |
typedef struct _bkt { |