3 #include <sys/socket.h>
5 #include <netinet/in.h>
8 #include "compiler/compiler.h"
12 #ifndef CONFIG_LINUX_FALLOCATE
13 int fallocate(int fd, int mode, off_t offset, off_t len)
20 #ifndef CONFIG_POSIX_FALLOCATE
21 int posix_fallocate(int fd, off_t offset, off_t len)
27 #ifndef CONFIG_SYNC_FILE_RANGE
28 int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags)
35 #ifndef CONFIG_POSIX_FADVISE
36 int posix_fadvise(int fd, off_t offset, off_t len, int advice)