Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H
0003 #define _UAPILINUX_KERNEL_PAGE_FLAGS_H
0004 
0005 /*
0006  * Stable page flag bits exported to user space
0007  */
0008 
0009 #define KPF_LOCKED      0
0010 #define KPF_ERROR       1
0011 #define KPF_REFERENCED      2
0012 #define KPF_UPTODATE        3
0013 #define KPF_DIRTY       4
0014 #define KPF_LRU         5
0015 #define KPF_ACTIVE      6
0016 #define KPF_SLAB        7
0017 #define KPF_WRITEBACK       8
0018 #define KPF_RECLAIM     9
0019 #define KPF_BUDDY       10
0020 
0021 /* 11-20: new additions in 2.6.31 */
0022 #define KPF_MMAP        11
0023 #define KPF_ANON        12
0024 #define KPF_SWAPCACHE       13
0025 #define KPF_SWAPBACKED      14
0026 #define KPF_COMPOUND_HEAD   15
0027 #define KPF_COMPOUND_TAIL   16
0028 #define KPF_HUGE        17
0029 #define KPF_UNEVICTABLE     18
0030 #define KPF_HWPOISON        19
0031 #define KPF_NOPAGE      20
0032 
0033 #define KPF_KSM         21
0034 #define KPF_THP         22
0035 #define KPF_OFFLINE     23
0036 #define KPF_ZERO_PAGE       24
0037 #define KPF_IDLE        25
0038 #define KPF_PGTABLE     26
0039 
0040 #endif /* _UAPILINUX_KERNEL_PAGE_FLAGS_H */