blob: 5f1865bba8129f272edc4afbce9d2e281bc41949 [file] [log] [blame]
Jens Axboec5c8bd52009-11-24 13:01:41 +01001#ifndef FIO_HELPERS_H
2#define FIO_HELPERS_H
3
Jens Axboe3b2e1462009-12-15 08:58:10 +01004#include "compiler/compiler.h"
5
Bruce Cran93bcfd22012-02-20 20:18:19 +01006#include <sys/types.h>
Bruce Cran03e20d62011-01-02 20:14:54 +01007#include <time.h>
8
Jens Axboe67bf9822013-01-10 11:23:19 +01009extern int fallocate(int fd, int mode, off_t offset, off_t len);
10extern int posix_fallocate(int fd, off_t offset, off_t len);
11extern int sync_file_range(int fd, off64_t offset, off64_t nbytes,
Jens Axboea54cf032010-03-13 11:29:47 +010012 unsigned int flags);
Jens Axboe67bf9822013-01-10 11:23:19 +010013extern int posix_fadvise(int fd, off_t offset, off_t len, int advice);
Jens Axboec5c8bd52009-11-24 13:01:41 +010014
Bruce Cran03e20d62011-01-02 20:14:54 +010015#endif /* FIO_HELPERS_H_ */