Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
H A Dmemory-failure.c949 * get_hwpoison_page() - Get refcount for memory error handling:
955 static int get_hwpoison_page(struct page *page) in get_hwpoison_page() function
1165 if (!(flags & MF_COUNT_INCREASED) && !get_hwpoison_page(p)) { in memory_failure_hugetlb()
1380 if (!(flags & MF_COUNT_INCREASED) && !get_hwpoison_page(p)) { in memory_failure()
1670 if (!get_hwpoison_page(p)) { in unpoison_memory()
1717 if (!count_increased && !get_hwpoison_page(p)) { in get_any_page()
/kernel/linux/linux-6.6/mm/
H A Dmemory-failure.c1505 * get_hwpoison_page() - Get refcount for memory error handling
1509 * get_hwpoison_page() takes a page refcount of an error page to handle memory
1516 * allocation and free). So to avoid such races, get_hwpoison_page() takes
1527 * -EBUSY when get_hwpoison_page() has raced with page lifecycle
1531 static int get_hwpoison_page(struct page *p, unsigned long flags) in get_hwpoison_page() function
2235 res = get_hwpoison_page(p, flags); in memory_failure()
2266 * And the flag can't be set in get_hwpoison_page() since in memory_failure()
2272 * get_hwpoison_page() since they handle either free page in memory_failure()
2558 ghp = get_hwpoison_page(p, MF_UNPOISON); in unpoison_memory()
2766 ret = get_hwpoison_page(pag in soft_offline_page()
[all...]

Completed in 6 milliseconds