X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filehash.h;h=5fecc3b100b31db7340c1a955b33c45fa2f49299;hp=993943a0be2dd9141285e8439fd3d138bb2ceaf5;hb=c6bb62bc0140d7e5dd90481420cdc40dd9955225;hpb=5e1d306e4f9a6337d07cc2d536d77c53e083226f diff --git a/filehash.h b/filehash.h index 993943a0..5fecc3b1 100644 --- a/filehash.h +++ b/filehash.h @@ -1,12 +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