| Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 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 | ****************************************************************************/ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H | 
|  | 20 | #define _UAPILINUX_KERNEL_PAGE_FLAGS_H | 
|  | 21 | #define KPF_LOCKED 0 | 
|  | 22 | #define KPF_ERROR 1 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #define KPF_REFERENCED 2 | 
|  | 24 | #define KPF_UPTODATE 3 | 
|  | 25 | #define KPF_DIRTY 4 | 
|  | 26 | #define KPF_LRU 5 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 27 | #define KPF_ACTIVE 6 | 
|  | 28 | #define KPF_SLAB 7 | 
|  | 29 | #define KPF_WRITEBACK 8 | 
|  | 30 | #define KPF_RECLAIM 9 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 31 | #define KPF_BUDDY 10 | 
|  | 32 | #define KPF_MMAP 11 | 
|  | 33 | #define KPF_ANON 12 | 
|  | 34 | #define KPF_SWAPCACHE 13 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 35 | #define KPF_SWAPBACKED 14 | 
|  | 36 | #define KPF_COMPOUND_HEAD 15 | 
|  | 37 | #define KPF_COMPOUND_TAIL 16 | 
|  | 38 | #define KPF_HUGE 17 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 39 | #define KPF_UNEVICTABLE 18 | 
|  | 40 | #define KPF_HWPOISON 19 | 
|  | 41 | #define KPF_NOPAGE 20 | 
|  | 42 | #define KPF_KSM 21 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 43 | #define KPF_THP 22 | 
| Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 44 | #define KPF_BALLOON 23 | 
| Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 45 | #define KPF_ZERO_PAGE 24 | 
|  | 46 | #define KPF_IDLE 25 | 
| Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 47 | #endif |