aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/linux/mman.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2023-07-09 23:23:08 +0200
committerCédric Le Goater <clg@redhat.com>2023-07-10 09:52:52 +0200
commitd0bf492f3877d4187d2f7d0c0abb3a2bf3104392 (patch)
treeeadabad28d572a4711b26e5ab63e0114c3f751bf /linux-headers/linux/mman.h
parent8af87a3ec7e42ff1b9cf75ceee0451c31e34d153 (diff)
linux-headers: update to v6.5-rc1
Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'linux-headers/linux/mman.h')
-rw-r--r--linux-headers/linux/mman.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/linux-headers/linux/mman.h b/linux-headers/linux/mman.h
index 434986fbe3..4e8cb60780 100644
--- a/linux-headers/linux/mman.h
+++ b/linux-headers/linux/mman.h
@@ -4,6 +4,7 @@
#include <asm/mman.h>
#include <asm-generic/hugetlb_encode.h>
+#include <linux/types.h>
#define MREMAP_MAYMOVE 1
#define MREMAP_FIXED 2
@@ -41,4 +42,17 @@
#define MAP_HUGE_2GB HUGETLB_FLAG_ENCODE_2GB
#define MAP_HUGE_16GB HUGETLB_FLAG_ENCODE_16GB
+struct cachestat_range {
+ __u64 off;
+ __u64 len;
+};
+
+struct cachestat {
+ __u64 nr_cache;
+ __u64 nr_dirty;
+ __u64 nr_writeback;
+ __u64 nr_evicted;
+ __u64 nr_recently_evicted;
+};
+
#endif /* _LINUX_MMAN_H */