Lines Matching refs:xas
1680 XA_STATE_ORDER(xas, &mapping->i_pages, start, HPAGE_PMD_ORDER); in collapse_file()
1704 xas_lock_irq(&xas); in collapse_file()
1705 xas_create_range(&xas); in collapse_file()
1706 if (!xas_error(&xas)) in collapse_file()
1708 xas_unlock_irq(&xas); in collapse_file()
1709 if (!xas_nomem(&xas, GFP_KERNEL)) { in collapse_file()
1727 xas_set(&xas, start); in collapse_file()
1729 struct page *page = xas_next(&xas); in collapse_file()
1731 VM_BUG_ON(index != xas.xa_index); in collapse_file()
1740 if (!xas_next_entry(&xas, end - 1)) { in collapse_file()
1744 xas_set(&xas, index); in collapse_file()
1750 xas_store(&xas, new_page); in collapse_file()
1756 xas_unlock_irq(&xas); in collapse_file()
1765 xas_unlock_irq(&xas); in collapse_file()
1772 xas_unlock_irq(&xas); in collapse_file()
1797 xas_unlock_irq(&xas); in collapse_file()
1802 xas_unlock_irq(&xas); in collapse_file()
1807 xas_unlock_irq(&xas); in collapse_file()
1866 xas_lock_irq(&xas); in collapse_file()
1867 xas_set(&xas, index); in collapse_file()
1869 VM_BUG_ON_PAGE(page != xas_load(&xas), page); in collapse_file()
1880 xas_unlock_irq(&xas); in collapse_file()
1892 xas_store(&xas, new_page); in collapse_file()
1914 xas_unlock_irq(&xas); in collapse_file()
1963 xas_lock_irq(&xas); in collapse_file()
1969 xas_set(&xas, start); in collapse_file()
1970 xas_for_each(&xas, page, end - 1) { in collapse_file()
1973 if (!page || xas.xa_index < page->index) { in collapse_file()
1978 xas_store(&xas, NULL); in collapse_file()
1982 VM_BUG_ON_PAGE(page->index != xas.xa_index, page); in collapse_file()
1987 xas_store(&xas, page); in collapse_file()
1988 xas_pause(&xas); in collapse_file()
1989 xas_unlock_irq(&xas); in collapse_file()
1992 xas_lock_irq(&xas); in collapse_file()
1995 xas_unlock_irq(&xas); in collapse_file()
2013 XA_STATE(xas, &mapping->i_pages, start); in khugepaged_scan_file()
2022 xas_for_each(&xas, page, start + HPAGE_PMD_NR - 1) { in khugepaged_scan_file()
2023 if (xas_retry(&xas, page)) in khugepaged_scan_file()
2066 xas_pause(&xas); in khugepaged_scan_file()