Go to the documentation of this file. 1 #ifndef __ASM_GENERIC_MMAN_COMMON_H
2 #define __ASM_GENERIC_MMAN_COMMON_H
10 #define PROT_WRITE 0x2
14 #define PROT_GROWSDOWN 0x01000000
15 #define PROT_GROWSUP 0x02000000
17 #define MAP_SHARED 0x01
18 #define MAP_PRIVATE 0x02
20 #define MAP_FIXED 0x10
21 #define MAP_ANONYMOUS 0x20
22 #ifdef CONFIG_MMAP_ALLOW_UNINITIALIZED
23 # define MAP_UNINITIALIZED 0x4000000
25 # define MAP_UNINITIALIZED 0x0
29 #define MS_INVALIDATE 2
34 #define MADV_SEQUENTIAL 2
35 #define MADV_WILLNEED 3
36 #define MADV_DONTNEED 4
40 #define MADV_DONTFORK 10
41 #define MADV_DOFORK 11
42 #define MADV_HWPOISON 100
43 #define MADV_SOFT_OFFLINE 101
45 #define MADV_MERGEABLE 12
46 #define MADV_UNMERGEABLE 13
48 #define MADV_HUGEPAGE 14
49 #define MADV_NOHUGEPAGE 15
51 #define MADV_DONTDUMP 16
53 #define MADV_DODUMP 17