Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H |
| 8 | #define _UAPILINUX_KERNEL_PAGE_FLAGS_H |
| 9 | #define KPF_LOCKED 0 |
| 10 | #define KPF_ERROR 1 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | #define KPF_REFERENCED 2 |
| 12 | #define KPF_UPTODATE 3 |
| 13 | #define KPF_DIRTY 4 |
| 14 | #define KPF_LRU 5 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 15 | #define KPF_ACTIVE 6 |
| 16 | #define KPF_SLAB 7 |
| 17 | #define KPF_WRITEBACK 8 |
| 18 | #define KPF_RECLAIM 9 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #define KPF_BUDDY 10 |
| 20 | #define KPF_MMAP 11 |
| 21 | #define KPF_ANON 12 |
| 22 | #define KPF_SWAPCACHE 13 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #define KPF_SWAPBACKED 14 |
| 24 | #define KPF_COMPOUND_HEAD 15 |
| 25 | #define KPF_COMPOUND_TAIL 16 |
| 26 | #define KPF_HUGE 17 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 27 | #define KPF_UNEVICTABLE 18 |
| 28 | #define KPF_HWPOISON 19 |
| 29 | #define KPF_NOPAGE 20 |
| 30 | #define KPF_KSM 21 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 31 | #define KPF_THP 22 |
Christopher Ferris | 24f97eb | 2019-05-20 12:58:13 -0700 | [diff] [blame] | 32 | #define KPF_OFFLINE 23 |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 33 | #define KPF_ZERO_PAGE 24 |
| 34 | #define KPF_IDLE 25 |
Christopher Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 35 | #define KPF_PGTABLE 26 |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 36 | #endif |