Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dremap_range.c163 static void vfs_lock_two_folios(struct folio *folio1, struct folio *folio2) in vfs_lock_two_folios() argument
166 if (folio1->index > folio2->index) in vfs_lock_two_folios()
167 swap(folio1, folio2); in vfs_lock_two_folios()
170 if (folio1 != folio2) in vfs_lock_two_folios()
171 folio_lock(folio2); in vfs_lock_two_folios()
175 static void vfs_unlock_two_folios(struct folio *folio1, struct folio *folio2) in vfs_unlock_two_folios() argument
178 if (folio1 != folio2) in vfs_unlock_two_folios()
179 folio_unlock(folio2); in vfs_unlock_two_folios()
/openbmc/linux/mm/
H A Dmigrate.c150 struct folio *folio2; in putback_movable_pages() local
152 list_for_each_entry_safe(folio, folio2, l, lru) { in putback_movable_pages()
1528 struct folio *folio, *folio2; in migrate_hugetlbs() local
1535 list_for_each_entry_safe(folio, folio2, from, lru) { in migrate_hugetlbs()
1628 struct folio *folio, *folio2, *dst = NULL, *dst2; in migrate_pages_batch() local
1642 list_for_each_entry_safe(folio, folio2, from, lru) { in migrate_pages_batch()
1763 list_for_each_entry_safe(folio, folio2, &unmap_folios, lru) { in migrate_pages_batch()
1807 list_for_each_entry_safe(folio, folio2, &unmap_folios, lru) { in migrate_pages_batch()
1901 struct folio *folio, *folio2; in migrate_pages() local
1918 list_for_each_entry_safe(folio, folio2, from, lru) { in migrate_pages()
[all …]