kernel-page-flags.h revision 96c1db7b9d601c31d103389cac074a6cce0d7633
1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19#ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H 20#define _UAPILINUX_KERNEL_PAGE_FLAGS_H 21#define KPF_LOCKED 0 22#define KPF_ERROR 1 23#define KPF_REFERENCED 2 24#define KPF_UPTODATE 3 25#define KPF_DIRTY 4 26#define KPF_LRU 5 27#define KPF_ACTIVE 6 28#define KPF_SLAB 7 29#define KPF_WRITEBACK 8 30#define KPF_RECLAIM 9 31#define KPF_BUDDY 10 32#define KPF_MMAP 11 33#define KPF_ANON 12 34#define KPF_SWAPCACHE 13 35#define KPF_SWAPBACKED 14 36#define KPF_COMPOUND_HEAD 15 37#define KPF_COMPOUND_TAIL 16 38#define KPF_HUGE 17 39#define KPF_UNEVICTABLE 18 40#define KPF_HWPOISON 19 41#define KPF_NOPAGE 20 42#define KPF_KSM 21 43#define KPF_THP 22 44#define KPF_BALLOON 23 45#define KPF_ZERO_PAGE 24 46#define KPF_IDLE 25 47#endif 48