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 */
49 #define list_to_maps(list_head) \
50 container_of((list_head), struct maps, list)
54 struct list_head list;
58 long int pages_present;
59 long int pages_swapped;
63 #define PARSE_MAP_NAME 0x2