Lines Matching refs:xas
1799 XA_STATE_ORDER(xas, &mapping->i_pages, start, HPAGE_PMD_ORDER); in collapse_file()
1822 xas_lock_irq(&xas); in collapse_file()
1823 xas_create_range(&xas); in collapse_file()
1824 if (!xas_error(&xas)) in collapse_file()
1826 xas_unlock_irq(&xas); in collapse_file()
1827 if (!xas_nomem(&xas, GFP_KERNEL)) { in collapse_file()
1834 xas_set(&xas, index); in collapse_file()
1835 page = xas_load(&xas); in collapse_file()
1837 VM_BUG_ON(index != xas.xa_index); in collapse_file()
1846 if (!xas_next_entry(&xas, end - 1)) { in collapse_file()
1856 xas_unlock_irq(&xas); in collapse_file()
1868 xas_unlock_irq(&xas); in collapse_file()
1875 xas_unlock_irq(&xas); in collapse_file()
1900 xas_unlock_irq(&xas); in collapse_file()
1905 xas_unlock_irq(&xas); in collapse_file()
1910 xas_unlock_irq(&xas); in collapse_file()
1978 xas_lock_irq(&xas); in collapse_file()
1980 VM_BUG_ON_PAGE(page != xa_load(xas.xa, index), page); in collapse_file()
1994 xas_unlock_irq(&xas); in collapse_file()
2026 xas_unlock_irq(&xas); in collapse_file()
2069 xas_lock_irq(&xas); in collapse_file()
2071 xas_set(&xas, start); in collapse_file()
2073 if (!xas_next(&xas)) { in collapse_file()
2074 xas_store(&xas, XA_RETRY_ENTRY); in collapse_file()
2075 if (xas_error(&xas)) { in collapse_file()
2110 xas_set(&xas, start); in collapse_file()
2112 if (xas_next(&xas) == XA_RETRY_ENTRY) in collapse_file()
2113 xas_store(&xas, NULL); in collapse_file()
2116 xas_unlock_irq(&xas); in collapse_file()
2120 xas_lock_irq(&xas); in collapse_file()
2148 xas_set_order(&xas, start, HPAGE_PMD_ORDER); in collapse_file()
2149 xas_store(&xas, hpage); in collapse_file()
2150 WARN_ON_ONCE(xas_error(&xas)); in collapse_file()
2151 xas_unlock_irq(&xas); in collapse_file()
2179 xas_lock_irq(&xas); in collapse_file()
2181 xas_unlock_irq(&xas); in collapse_file()
2221 XA_STATE(xas, &mapping->i_pages, start); in hpage_collapse_scan_file()
2231 xas_for_each(&xas, page, start + HPAGE_PMD_NR - 1) { in hpage_collapse_scan_file()
2232 if (xas_retry(&xas, page)) in hpage_collapse_scan_file()
2294 xas_pause(&xas); in hpage_collapse_scan_file()