Home
last modified time | relevance | path

Searched refs:newfolio (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/include/linux/
Dpage_owner.h15 extern void __folio_copy_owner(struct folio *newfolio, struct folio *old);
39 static inline void folio_copy_owner(struct folio *newfolio, struct folio *old) in folio_copy_owner() argument
42 __folio_copy_owner(newfolio, old); in folio_copy_owner()
66 static inline void folio_copy_owner(struct folio *newfolio, struct folio *folio) in folio_copy_owner() argument
Dmigrate.h80 void folio_migrate_flags(struct folio *newfolio, struct folio *folio);
81 void folio_migrate_copy(struct folio *newfolio, struct folio *folio);
83 struct folio *newfolio, struct folio *folio, int extra_count);
Dksm.h83 void folio_migrate_ksm(struct folio *newfolio, struct folio *folio);
143 static inline void folio_migrate_ksm(struct folio *newfolio, struct folio *old) in folio_migrate_ksm() argument
/Linux-v6.6/mm/
Dmigrate.c401 struct folio *newfolio, struct folio *folio, int extra_count) in folio_migrate_mapping() argument
415 newfolio->index = folio->index; in folio_migrate_mapping()
416 newfolio->mapping = folio->mapping; in folio_migrate_mapping()
418 __folio_set_swapbacked(newfolio); in folio_migrate_mapping()
424 newzone = folio_zone(newfolio); in folio_migrate_mapping()
436 newfolio->index = folio->index; in folio_migrate_mapping()
437 newfolio->mapping = folio->mapping; in folio_migrate_mapping()
438 folio_ref_add(newfolio, nr); /* add cache reference */ in folio_migrate_mapping()
440 __folio_set_swapbacked(newfolio); in folio_migrate_mapping()
442 folio_set_swapcache(newfolio); in folio_migrate_mapping()
[all …]
Dpage_owner.c231 void __folio_copy_owner(struct folio *newfolio, struct folio *old) in __folio_copy_owner() argument
241 new_ext = page_ext_get(&newfolio->page); in __folio_copy_owner()
Dksm.c2954 void folio_migrate_ksm(struct folio *newfolio, struct folio *folio) in folio_migrate_ksm() argument
2959 VM_BUG_ON_FOLIO(!folio_test_locked(newfolio), newfolio); in folio_migrate_ksm()
2960 VM_BUG_ON_FOLIO(newfolio->mapping != folio->mapping, newfolio); in folio_migrate_ksm()
2965 stable_node->kpfn = folio_pfn(newfolio); in folio_migrate_ksm()
/Linux-v6.6/fs/fuse/
Ddev.c793 struct folio *newfolio; in fuse_try_move_page() local
819 newfolio = page_folio(buf->page); in fuse_try_move_page()
821 if (!folio_test_uptodate(newfolio)) in fuse_try_move_page()
822 folio_mark_uptodate(newfolio); in fuse_try_move_page()
824 folio_clear_mappedtodisk(newfolio); in fuse_try_move_page()
826 if (fuse_check_folio(newfolio) != 0) in fuse_try_move_page()
843 replace_page_cache_folio(oldfolio, newfolio); in fuse_try_move_page()
845 folio_get(newfolio); in fuse_try_move_page()
848 folio_add_lru(newfolio); in fuse_try_move_page()
861 *pagep = &newfolio->page; in fuse_try_move_page()
[all …]