X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.h;h=b9ae15bf29a9f07c56025002176eb2041644c82d;hp=4af6a74339468ea32000680abd16dc8c4bf54809;hb=2f9ade3cb72218eb260f4f5e6914218bdcaa2bcc;hpb=2e7964b8f84782afe665d8ae549c2910320e247f diff --git a/fio.h b/fio.h index 4af6a743..b9ae15bf 100644 --- a/fio.h +++ b/fio.h @@ -479,6 +479,14 @@ extern void populate_verify_io_u(struct thread_data *, struct io_u *); extern int get_next_verify(struct thread_data *td, struct io_u *); extern int do_io_u_verify(struct thread_data *, struct io_u **); +/* + * Memory helpers + */ +extern int fio_pin_memory(void); +extern void fio_unpin_memory(void); +extern int allocate_io_mem(struct thread_data *); +extern void free_io_mem(struct thread_data *); + /* * This is a pretty crappy semaphore implementation, but with the use that fio * has (just signalling start/go conditions), it doesn't have to be better.