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 /* Name of the mapping, such as library name or something else */
43 int pid; /* Process which address space the mapping belongs to */
46 #define list_to_maps(list_head) \
47 container_of((list_head), struct maps, list)
50 struct pageframe *pageframes;