Lines Matching refs:pages_per_huge_page

5266 	unsigned long addr_hint, unsigned int pages_per_huge_page,  in process_huge_page()  argument
5272 ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); in process_huge_page()
5277 if (2 * n <= pages_per_huge_page) { in process_huge_page()
5282 for (i = pages_per_huge_page - 1; i >= 2 * n; i--) { in process_huge_page()
5288 base = pages_per_huge_page - 2 * (pages_per_huge_page - n); in process_huge_page()
5289 l = pages_per_huge_page - n; in process_huge_page()
5313 unsigned int pages_per_huge_page) in clear_gigantic_page() argument
5319 for (i = 0; i < pages_per_huge_page; in clear_gigantic_page()
5334 unsigned long addr_hint, unsigned int pages_per_huge_page) in clear_huge_page() argument
5337 ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); in clear_huge_page()
5339 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in clear_huge_page()
5340 clear_gigantic_page(page, addr, pages_per_huge_page); in clear_huge_page()
5344 process_huge_page(addr_hint, pages_per_huge_page, clear_subpage, page); in clear_huge_page()
5350 unsigned int pages_per_huge_page) in copy_user_gigantic_page() argument
5356 for (i = 0; i < pages_per_huge_page; ) { in copy_user_gigantic_page()
5382 unsigned int pages_per_huge_page) in copy_user_huge_page() argument
5385 ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); in copy_user_huge_page()
5392 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in copy_user_huge_page()
5394 pages_per_huge_page); in copy_user_huge_page()
5398 process_huge_page(addr_hint, pages_per_huge_page, copy_subpage, &arg); in copy_user_huge_page()
5403 unsigned int pages_per_huge_page, in copy_huge_page_from_user() argument
5408 unsigned long ret_val = pages_per_huge_page * PAGE_SIZE; in copy_huge_page_from_user()
5411 for (i = 0; i < pages_per_huge_page; in copy_huge_page_from_user()