Lines Matching refs:old_page_state
1040 int old_page_state, in __migrate_folio_record() argument
1043 dst->private = (void *)anon_vma + old_page_state; in __migrate_folio_record()
1047 int *old_page_state, in __migrate_folio_extract() argument
1053 *old_page_state = private & PAGE_OLD_STATES; in __migrate_folio_extract()
1113 int old_page_state = 0; in migrate_folio_unmap() local
1168 old_page_state |= PAGE_WAS_MLOCKED; in migrate_folio_unmap()
1218 __migrate_folio_record(dst, old_page_state, anon_vma); in migrate_folio_unmap()
1244 old_page_state |= PAGE_WAS_MAPPED; in migrate_folio_unmap()
1248 __migrate_folio_record(dst, old_page_state, anon_vma); in migrate_folio_unmap()
1260 migrate_folio_undo_src(src, old_page_state & PAGE_WAS_MAPPED, in migrate_folio_unmap()
1274 int old_page_state = 0; in migrate_folio_move() local
1279 __migrate_folio_extract(dst, &old_page_state, &anon_vma); in migrate_folio_move()
1300 if (old_page_state & PAGE_WAS_MLOCKED) in migrate_folio_move()
1303 if (old_page_state & PAGE_WAS_MAPPED) in migrate_folio_move()
1335 __migrate_folio_record(dst, old_page_state, anon_vma); in migrate_folio_move()
1339 migrate_folio_undo_src(src, old_page_state & PAGE_WAS_MAPPED, in migrate_folio_move()
1808 int old_page_state = 0; in migrate_pages_batch() local
1811 __migrate_folio_extract(dst, &old_page_state, &anon_vma); in migrate_pages_batch()
1812 migrate_folio_undo_src(folio, old_page_state & PAGE_WAS_MAPPED, in migrate_pages_batch()