Searched refs:newfolio (Results 1 – 8 of 8) sorted by relevance
/linux/include/linux/ |
H A D | page_owner.h | 16 extern void __folio_copy_owner(struct folio *newfolio, struct folio *old); 41 static inline void folio_copy_owner(struct folio *newfolio, struct folio *old) in folio_copy_owner() argument 44 __folio_copy_owner(newfolio, old); in folio_copy_owner() 68 static inline void folio_copy_owner(struct folio *newfolio, struct folio *folio) in folio_copy_owner() argument
|
H A D | ksm.h | 93 void folio_migrate_ksm(struct folio *newfolio, struct folio *folio); 149 static inline void folio_migrate_ksm(struct folio *newfolio, struct folio *old) in folio_migrate_ksm() argument
|
H A D | migrate.h | 79 void folio_migrate_flags(struct folio *newfolio, struct folio *folio); 81 struct folio *newfolio, struct folio *folio, int extra_count);
|
/linux/mm/ |
H A D | migrate.c | 509 newzone = folio_zone(newfolio); in __folio_migrate_mapping() 524 newfolio->index = folio->index; in __folio_migrate_mapping() 545 folio_set_dirty(newfolio); in __folio_migrate_mapping() 550 xas_store(&xas, newfolio); in __folio_migrate_mapping() 670 folio_mark_uptodate(newfolio); in folio_migrate_flags() 673 folio_set_active(newfolio); in folio_migrate_flags() 679 folio_set_checked(newfolio); in folio_migrate_flags() 691 folio_set_dirty(newfolio); in folio_migrate_flags() 694 folio_set_young(newfolio); in folio_migrate_flags() 696 folio_set_idle(newfolio); in folio_migrate_flags() [all …]
|
H A D | migrate_device.c | 695 struct folio *newfolio, *folio; in __migrate_device_pages() local 730 newfolio = page_folio(newpage); in __migrate_device_pages() 734 if (folio_is_device_private(newfolio) || in __migrate_device_pages() 735 folio_is_device_coherent(newfolio)) { in __migrate_device_pages() 749 } else if (folio_is_zone_device(newfolio)) { in __migrate_device_pages() 761 r = folio_migrate_mapping(mapping, newfolio, folio, extra_cnt); in __migrate_device_pages() 765 folio_migrate_flags(newfolio, folio); in __migrate_device_pages()
|
H A D | ksm.c | 3111 void folio_migrate_ksm(struct folio *newfolio, struct folio *folio) in folio_migrate_ksm() argument 3116 VM_BUG_ON_FOLIO(!folio_test_locked(newfolio), newfolio); in folio_migrate_ksm() 3117 VM_BUG_ON_FOLIO(newfolio->mapping != folio->mapping, newfolio); in folio_migrate_ksm() 3122 stable_node->kpfn = folio_pfn(newfolio); in folio_migrate_ksm()
|
H A D | page_owner.c | 362 void __folio_copy_owner(struct folio *newfolio, struct folio *old) in __folio_copy_owner() argument 375 new_ext = page_ext_get(&newfolio->page); in __folio_copy_owner()
|
/linux/fs/fuse/ |
H A D | dev.c | 843 struct folio *newfolio; in fuse_try_move_page() local 869 newfolio = page_folio(buf->page); in fuse_try_move_page() 871 folio_clear_uptodate(newfolio); in fuse_try_move_page() 872 folio_clear_mappedtodisk(newfolio); in fuse_try_move_page() 874 if (fuse_check_folio(newfolio) != 0) in fuse_try_move_page() 893 folio_get(newfolio); in fuse_try_move_page() 896 folio_add_lru(newfolio); in fuse_try_move_page() 909 *pagep = &newfolio->page; in fuse_try_move_page() 913 folio_unlock(newfolio); in fuse_try_move_page() 914 folio_put(newfolio); in fuse_try_move_page() [all …]
|