Jens Axboe | 380065a | 2008-03-01 18:56:24 +0100 | [diff] [blame] | 1 | #ifndef FIO_FILE_HASH_H |
| 2 | #define FIO_FILE_HASH_H |
| 3 | |
| 4 | extern unsigned int file_hash_size; |
| 5 | |
| 6 | extern void file_hash_init(void *); |
Jens Axboe | 5e1d306 | 2008-05-23 11:55:53 +0200 | [diff] [blame] | 7 | extern void file_hash_exit(void); |
Jens Axboe | 380065a | 2008-03-01 18:56:24 +0100 | [diff] [blame] | 8 | extern struct fio_file *lookup_file_hash(const char *); |
| 9 | extern struct fio_file *add_file_hash(struct fio_file *); |
| 10 | extern void remove_file_hash(struct fio_file *); |
Jens Axboe | 9042623 | 2014-04-01 12:28:47 -0600 | [diff] [blame] | 11 | extern void fio_file_hash_lock(void); |
| 12 | extern void fio_file_hash_unlock(void); |
Jens Axboe | 380065a | 2008-03-01 18:56:24 +0100 | [diff] [blame] | 13 | |
| 14 | #endif |