Fix fill_device with queue depth higher than 1
[fio.git] / helpers.h
CommitLineData
c5c8bd5c
JA
1#ifndef FIO_HELPERS_H
2#define FIO_HELPERS_H
3
3b2e1464
JA
4#include "compiler/compiler.h"
5
03e20d68
BC
6#include <time.h>
7
c5c8bd5c
JA
8struct in_addr;
9
10extern int __weak posix_memalign(void **ptr, size_t align, size_t size);
11extern int __weak posix_fallocate(int fd, off_t offset, off_t len);
12extern int __weak inet_aton(const char *cp, struct in_addr *inp);
2afd826b 13extern int __weak clock_gettime(clockid_t clk_id, struct timespec *ts);
a54cf034
JA
14extern int __weak sync_file_range(int fd, off64_t offset, off64_t nbytes,
15 unsigned int flags);
c5c8bd5c 16
03e20d68 17#endif /* FIO_HELPERS_H_ */