X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filehash.h;h=5fecc3b100b31db7340c1a955b33c45fa2f49299;hp=a89a91f81d8d2ce6941deada5c02291df63ca6d2;hb=de5ed0e4d398bc9d4576f9b2b82d7686989c27e1;hpb=380065aa652b87093d6bbd240e70db30bd6f193d diff --git a/filehash.h b/filehash.h index a89a91f8..5fecc3b1 100644 --- a/filehash.h +++ b/filehash.h @@ -1,11 +1,15 @@ #ifndef FIO_FILE_HASH_H #define FIO_FILE_HASH_H -extern unsigned int file_hash_size; +#include "lib/types.h" -extern void file_hash_init(void *); +extern void file_hash_init(void); +extern void file_hash_exit(void); extern struct fio_file *lookup_file_hash(const char *); extern struct fio_file *add_file_hash(struct fio_file *); extern void remove_file_hash(struct fio_file *); +extern void fio_file_hash_lock(void); +extern void fio_file_hash_unlock(void); +extern bool file_bloom_exists(const char *, bool); #endif