Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dpage_owner.h16 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
Dksm.h93 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
Dmigrate.h79 void folio_migrate_flags(struct folio *newfolio, struct folio *folio);
81 struct folio *newfolio, struct folio *folio, int extra_count);
/linux-6.12.1/mm/
Dmigrate.c479 struct folio *newfolio, struct folio *folio, int expected_count) in __folio_migrate_mapping() argument
498 newfolio->index = folio->index; in __folio_migrate_mapping()
499 newfolio->mapping = folio->mapping; in __folio_migrate_mapping()
503 __folio_set_swapbacked(newfolio); in __folio_migrate_mapping()
509 newzone = folio_zone(newfolio); in __folio_migrate_mapping()
524 newfolio->index = folio->index; in __folio_migrate_mapping()
525 newfolio->mapping = folio->mapping; in __folio_migrate_mapping()
528 folio_ref_add(newfolio, nr); /* add cache reference */ in __folio_migrate_mapping()
530 __folio_set_swapbacked(newfolio); in __folio_migrate_mapping()
532 folio_set_swapcache(newfolio); in __folio_migrate_mapping()
[all …]
Dmigrate_device.c695 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()
Dksm.c3111 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()
Dpage_owner.c362 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-6.12.1/fs/fuse/
Ddev.c843 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()
891 replace_page_cache_folio(oldfolio, newfolio); 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()
[all …]