1
2 #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H
3 #define _UAPILINUX_KERNEL_PAGE_FLAGS_H
4
5
6
7
8
9 #define KPF_LOCKED 0
10 #define KPF_ERROR 1
11 #define KPF_REFERENCED 2
12 #define KPF_UPTODATE 3
13 #define KPF_DIRTY 4
14 #define KPF_LRU 5
15 #define KPF_ACTIVE 6
16 #define KPF_SLAB 7
17 #define KPF_WRITEBACK 8
18 #define KPF_RECLAIM 9
19 #define KPF_BUDDY 10
20
21
22 #define KPF_MMAP 11
23 #define KPF_ANON 12
24 #define KPF_SWAPCACHE 13
25 #define KPF_SWAPBACKED 14
26 #define KPF_COMPOUND_HEAD 15
27 #define KPF_COMPOUND_TAIL 16
28 #define KPF_HUGE 17
29 #define KPF_UNEVICTABLE 18
30 #define KPF_HWPOISON 19
31 #define KPF_NOPAGE 20
32
33 #define KPF_KSM 21
34 #define KPF_THP 22
35 #define KPF_OFFLINE 23
36 #define KPF_ZERO_PAGE 24
37 #define KPF_IDLE 25
38 #define KPF_PGTABLE 26
39
40 #endif