39 #define PAGE_KEY_DATA_SIZE (PAGE_SIZE - sizeof(struct page_key_data *))
42 static struct page_key_data *page_key_rp, *page_key_wp;
43 static unsigned long page_key_rx, page_key_wx;
62 struct page_key_data *pkd;
64 while (page_key_data) {
66 page_key_data = pkd->
next;
77 struct page_key_data *pk;
87 pk->
next = page_key_data;
90 page_key_rp = page_key_wp = page_key_data;
91 page_key_rx = page_key_wx = 0;
103 *(
unsigned char *) pfn = (
unsigned char) page_get_storage_key(addr);
112 page_key_wp->
data[page_key_wx] = *(
unsigned char *) pfn;
113 *(
unsigned char *) pfn = 0;
116 page_key_wp = page_key_wp->
next;
128 page_set_storage_key((
unsigned long) address,
129 page_key_rp->
data[page_key_rx], 0);
132 page_key_rp = page_key_rp->
next;
144 if (pfn >= nosave_begin_pfn && pfn < nosave_end_pfn)