Searched refs:P2M_ENTRIES_PER_PAGE (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/xen/
H A Dmmu.c173 #define P2M_ENTRIES_PER_PAGE (PAGE_SIZE / sizeof(unsigned long)) macro
174 #define TOP_ENTRIES (MAX_DOMAIN_PAGES / P2M_ENTRIES_PER_PAGE)
177 static unsigned long p2m_missing[P2M_ENTRIES_PER_PAGE] __page_aligned_data =
178 { [ 0 ... P2M_ENTRIES_PER_PAGE-1 ] = ~0UL };
187 static unsigned long p2m_top_mfn_list[TOP_ENTRIES / P2M_ENTRIES_PER_PAGE]
193 return pfn / P2M_ENTRIES_PER_PAGE;
198 return pfn % P2M_ENTRIES_PER_PAGE;
206 for (pfn = 0; pfn < MAX_DOMAIN_PAGES; pfn += P2M_ENTRIES_PER_PAGE) {
213 unsigned topidx = idx * P2M_ENTRIES_PER_PAGE;
234 for (pfn = 0; pfn < max_pfn; pfn += P2M_ENTRIES_PER_PAGE) {
[all...]

Completed in 107 milliseconds