14 extern struct fio_mutex *fio_mutex_init(int);
15 extern void fio_mutex_remove(struct fio_mutex *);
16 extern void fio_mutex_down(struct fio_mutex *);
17 extern void fio_mutex_down_read(struct fio_mutex *);
18 extern void fio_mutex_down_write(struct fio_mutex *);
19 extern void fio_mutex_up(struct fio_mutex *);
20 extern void fio_mutex_up_read(struct fio_mutex *);
21 extern void fio_mutex_up_write(struct fio_mutex *);
23 static inline struct fio_mutex *fio_mutex_rw_init(void)
25 return fio_mutex_init(0);