• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/mm/

Lines Matching refs:pages

39 	struct page	**pages;
57 void update_page_count(int level, unsigned long pages)
63 direct_pages_count[level] += pages;
170 * tlb invalidates for a low number of pages. Caveat: we must
207 int in_flags, struct page **pages)
230 addr = (unsigned long)page_address(pages[i]);
303 * page-table pages. Thus we can't really use different
425 * Calculate the number of pages, which fit into this large
454 * the pages in the range we try to preserve:
477 * the address is not aligned and the number of pages is
478 * smaller than the number of pages in the large page. Note
479 * that we limited the number of possible pages already to
480 * the number of pages in the large page.
484 * The address is aligned and the number of pages
622 struct page *page = cpa->pages[cpa->curpage];
731 struct page *page = cpa->pages[cpa->curpage];
783 * Store the remaining nr of pages for the large page
806 * Adjust the number of pages with the result of the
830 struct page **pages)
879 cpa.pages = pages;
916 cpa.flags, pages);
940 static inline int cpa_set_pages_array(struct page **pages, int numpages,
944 CPA_PAGES_ARRAY, pages);
947 static inline int cpa_clear_pages_array(struct page **pages, int numpages,
951 CPA_PAGES_ARRAY, pages);
1162 static int _set_pages_array(struct page **pages, int addrinarray,
1172 if (PageHighMem(pages[i]))
1174 start = page_to_pfn(pages[i]) << PAGE_SHIFT;
1180 ret = cpa_set_pages_array(pages, addrinarray,
1186 0, CPA_PAGES_ARRAY, pages);
1193 if (PageHighMem(pages[i]))
1195 start = page_to_pfn(pages[i]) << PAGE_SHIFT;
1202 int set_pages_array_uc(struct page **pages, int addrinarray)
1204 return _set_pages_array(pages, addrinarray, _PAGE_CACHE_UC_MINUS);
1208 int set_pages_array_wc(struct page **pages, int addrinarray)
1210 return _set_pages_array(pages, addrinarray, _PAGE_CACHE_WC);
1222 int set_pages_array_wb(struct page **pages, int addrinarray)
1229 retval = cpa_clear_pages_array(pages, addrinarray,
1235 if (PageHighMem(pages[i]))
1237 start = page_to_pfn(pages[i]) << PAGE_SHIFT;
1289 * we may need to break large pages for 64-bit kernel text
1307 * we may need to break large pages for 64-bit kernel text
1331 * Large pages for identity mappings are not used at boot time