Lines Matching defs:hugetlb
54 #include <linux/hugetlb.h>
171 * returns 0 for non-hugetlb pages as well.
1369 * does not return true for hugetlb or device memory pages, so it's assumed
1385 bool hugetlb = false;
1387 ret = get_hwpoison_hugetlb_folio(folio, &hugetlb, false);
1388 if (hugetlb) {
1389 /* Make sure hugetlb demotion did not happen from under us. */
1482 bool hugetlb = false;
1484 ret = get_hwpoison_hugetlb_folio(folio, &hugetlb, true);
1485 if (hugetlb) {
1486 /* Make sure hugetlb demotion did not happen from under us. */
1512 * such as LRU page and hugetlb page).
1608 * For hugetlb pages in shared mappings, try_to_unmap
1963 * Called from hugetlb code with hugetlb_lock held.
2020 * Taking refcount of hugetlb pages needs extra care about race conditions
2025 static int try_memory_failure_hugetlb(unsigned long pfn, int flags, int *hugetlb)
2033 *hugetlb = 1;
2037 *hugetlb = 0;
2093 static inline int try_memory_failure_hugetlb(unsigned long pfn, int flags, int *hugetlb)
2178 int hugetlb = 0;
2209 res = try_memory_failure_hugetlb(pfn, flags, &hugetlb);
2210 if (hugetlb)
2639 * soft_offline_in_use_page handles hugetlb-pages and non-hugetlb pages.