9 #define PAGE_SIZE (2 << PAGE_SHIFT)
15 struct maps *maps; /* List to mappings which point to this pfn */
16 unsigned long pfn; /* page frame number */
25 #define tree_to_pageframe(tree_struct) \
26 container_of((tree_struct), struct pageframe, tree)
29 struct list_head list;
31 /* Memory segment of a mapping */
36 /* Name of the mapping, such as library name or something else */
38 int pid; /* Process which address space the mapping belongs to */
41 #define list_to_maps(list_head) \
42 container_of((list_head), struct maps, list)
45 struct pageframe *pageframes;