147 extern const void *
bcache (
const void *addr,
int length,
153 extern const void *
bcache_full (
const void *addr,
int length,
172 extern unsigned long hash(
const void *addr,
int length);
173 extern unsigned long hash_continue (
const void *addr,
int length,
const void * bcache(const void *addr, int length, struct bcache *bcache)
int(* compare_function)(const void *, const void *, int length)
unsigned long hash_continue(const void *addr, int length, unsigned long h)
struct bcache * bcache_xmalloc(unsigned long(*hash_function)(const void *, int length), int(*compare_function)(const void *, const void *, int length))
void print_bcache_statistics(struct bcache *bcache, char *type)
unsigned long(* hash_function)(const void *addr, int length)
void bcache_xfree(struct bcache *bcache)
int bcache_memory_used(struct bcache *bcache)
const void * bcache_full(const void *addr, int length, struct bcache *bcache, int *added)
unsigned long hash(const void *addr, int length)