Home
last modified time | relevance | path

Searched refs:folio (Results 1 – 2 of 2) sorted by relevance

/lib/
Dscatterlist.c1276 struct folio *folio; in extract_xarray_to_sg() local
1285 xas_for_each(&xas, folio, ULONG_MAX) { in extract_xarray_to_sg()
1286 if (xas_retry(&xas, folio)) in extract_xarray_to_sg()
1288 if (WARN_ON(xa_is_value(folio))) in extract_xarray_to_sg()
1290 if (WARN_ON(folio_test_hugetlb(folio))) in extract_xarray_to_sg()
1293 offset = offset_in_folio(folio, start); in extract_xarray_to_sg()
1294 len = min_t(size_t, maxsize, folio_size(folio) - offset); in extract_xarray_to_sg()
1296 sg_set_page(sg, folio_page(folio, 0), len, offset); in extract_xarray_to_sg()
Diov_iter.c80 struct folio *folio; \
87 xas_for_each(&xas, folio, ULONG_MAX) { \
90 if (xas_retry(&xas, folio)) \
92 if (WARN_ON(xa_is_value(folio))) \
94 if (WARN_ON(folio_test_hugetlb(folio))) \
96 offset = offset_in_folio(folio, start + __off); \
97 while (offset < folio_size(folio)) { \
98 base = kmap_local_folio(folio, offset); \