9 #define PAGE_SIZE (1 << PAGE_SHIFT)
15 struct list_head list;
20 struct maps_list *ml; /* List to mappings which point to this pfn */
21 unsigned long pfn; /* page frame number */
30 #define tree_to_pageframe(tree_struct) \
31 container_of((tree_struct), struct pageframe, tree)
34 struct list_head list;
36 /* Memory segment of a mapping */
41 long int pages_present;
42 long int pages_swapped;
44 /* Name of the mapping, such as library name or something else */
46 int pid; /* Process which address space the mapping belongs to */
47 int tid; /* thread id */
50 #define list_to_maps(list_head) \
51 container_of((list_head), struct maps, list)
55 struct list_head list;
60 long int pages_present;
61 long int pages_swapped;
65 #define PARSE_MAP_NAME 0x2
66 #define PARSE_PROCESS_NAME 0x4