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 */
24 #define tree_to_pageframe(tree_struct) \
25 container_of((tree_struct), struct pageframe, tree)
28 struct list_head list;
30 /* Memory segment of a mapping */
35 /* Name of the mapping, such as library name or something else */
37 int pid; /* Process which address space the mapping belongs to */
40 #define list_to_maps(list_head) \
41 container_of((list_head), struct maps, list)
44 struct pageframe *pageframes;