aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fadvise.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fadvise.h')
-rw-r--r--include/linux/fadvise.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/fadvise.h b/include/linux/fadvise.h
new file mode 100644
index 00000000000..6fc656dfb93
--- /dev/null
+++ b/include/linux/fadvise.h
@@ -0,0 +1,11 @@
+#ifndef FADVISE_H_INCLUDED
+#define FADVISE_H_INCLUDED
+
+#define POSIX_FADV_NORMAL 0 /* No further special treatment. */
+#define POSIX_FADV_RANDOM 1 /* Expect random page references. */
+#define POSIX_FADV_SEQUENTIAL 2 /* Expect sequential page references. */
+#define POSIX_FADV_WILLNEED 3 /* Will need these pages. */
+#define POSIX_FADV_DONTNEED 4 /* Don't need these pages. */
+#define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
+
+#endif /* FADVISE_H_INCLUDED */