1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux << 2 #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H 1 #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H 3 #define _UAPILINUX_KERNEL_PAGE_FLAGS_H 2 #define _UAPILINUX_KERNEL_PAGE_FLAGS_H 4 3 5 /* 4 /* 6 * Stable page flag bits exported to user spac 5 * Stable page flag bits exported to user space 7 */ 6 */ 8 7 9 #define KPF_LOCKED 0 8 #define KPF_LOCKED 0 10 #define KPF_ERROR 1 /* Now !! 9 #define KPF_ERROR 1 11 #define KPF_REFERENCED 2 10 #define KPF_REFERENCED 2 12 #define KPF_UPTODATE 3 11 #define KPF_UPTODATE 3 13 #define KPF_DIRTY 4 12 #define KPF_DIRTY 4 14 #define KPF_LRU 5 13 #define KPF_LRU 5 15 #define KPF_ACTIVE 6 14 #define KPF_ACTIVE 6 16 #define KPF_SLAB 7 15 #define KPF_SLAB 7 17 #define KPF_WRITEBACK 8 16 #define KPF_WRITEBACK 8 18 #define KPF_RECLAIM 9 17 #define KPF_RECLAIM 9 19 #define KPF_BUDDY 10 18 #define KPF_BUDDY 10 20 19 21 /* 11-20: new additions in 2.6.31 */ 20 /* 11-20: new additions in 2.6.31 */ 22 #define KPF_MMAP 11 21 #define KPF_MMAP 11 23 #define KPF_ANON 12 22 #define KPF_ANON 12 24 #define KPF_SWAPCACHE 13 23 #define KPF_SWAPCACHE 13 25 #define KPF_SWAPBACKED 14 24 #define KPF_SWAPBACKED 14 26 #define KPF_COMPOUND_HEAD 15 25 #define KPF_COMPOUND_HEAD 15 27 #define KPF_COMPOUND_TAIL 16 26 #define KPF_COMPOUND_TAIL 16 28 #define KPF_HUGE 17 27 #define KPF_HUGE 17 29 #define KPF_UNEVICTABLE 18 28 #define KPF_UNEVICTABLE 18 30 #define KPF_HWPOISON 19 29 #define KPF_HWPOISON 19 31 #define KPF_NOPAGE 20 30 #define KPF_NOPAGE 20 32 31 33 #define KPF_KSM 21 32 #define KPF_KSM 21 34 #define KPF_THP 22 33 #define KPF_THP 22 35 #define KPF_OFFLINE 23 !! 34 #define KPF_BALLOON 23 36 #define KPF_ZERO_PAGE 24 35 #define KPF_ZERO_PAGE 24 37 #define KPF_IDLE 25 36 #define KPF_IDLE 25 38 #define KPF_PGTABLE 26 !! 37 39 38 40 #endif /* _UAPILINUX_KERNEL_PAGE_FLAGS_H */ 39 #endif /* _UAPILINUX_KERNEL_PAGE_FLAGS_H */ 41 40
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.