Improve ETA for fill_device based job files
[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
c5c8bd5c
JA
6struct in_addr;
7
8extern int __weak posix_memalign(void **ptr, size_t align, size_t size);
9extern int __weak posix_fallocate(int fd, off_t offset, off_t len);
10extern int __weak inet_aton(const char *cp, struct in_addr *inp);
2afd826b 11extern int __weak clock_gettime(clockid_t clk_id, struct timespec *ts);
a54cf034
JA
12extern int __weak sync_file_range(int fd, off64_t offset, off64_t nbytes,
13 unsigned int flags);
c5c8bd5c
JA
14
15#endif