diff options
Diffstat (limited to 'mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h')
-rw-r--r-- | mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h index 9fdccf63..cf1e978e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h @@ -1,25 +1,14 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MMAN_H #define _UAPI_LINUX_MMAN_H #include <asm/mman.h> #include <asm-generic/hugetlb_encode.h> +#include <linux/types.h> #define MREMAP_MAYMOVE 1 #define MREMAP_FIXED 2 #define MREMAP_DONTUNMAP 4 @@ -44,4 +33,15 @@ #define MAP_HUGE_1GB HUGETLB_FLAG_ENCODE_1GB #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 |