/linux-6.6.21/mm/ |
D | migrate_device.c | 690 struct page *newpage = migrate_pfn_to_page(dst_pfns[i]); in __migrate_device_pages() local 695 if (!newpage) { in __migrate_device_pages() 722 migrate_vma_insert_page(migrate, addr, newpage, in __migrate_device_pages() 729 if (is_device_private_page(newpage) || in __migrate_device_pages() 730 is_device_coherent_page(newpage)) { in __migrate_device_pages() 748 } else if (is_zone_device_page(newpage)) { in __migrate_device_pages() 757 r = migrate_folio_extra(mapping, page_folio(newpage), in __migrate_device_pages() 761 r = migrate_folio(mapping, page_folio(newpage), in __migrate_device_pages() 818 struct page *newpage = migrate_pfn_to_page(dst_pfns[i]); in migrate_device_finalize() local 822 if (newpage) { in migrate_device_finalize() [all …]
|
D | balloon_compaction.c | 232 static int balloon_page_migrate(struct page *newpage, struct page *page, in balloon_page_migrate() argument 246 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in balloon_page_migrate() 248 return balloon->migratepage(balloon, newpage, page, mode); in balloon_page_migrate()
|
D | zsmalloc.c | 1756 struct page *newpage, struct page *oldpage) in replace_sub_page() argument 1765 pages[idx] = newpage; in replace_sub_page() 1772 set_first_obj_offset(newpage, get_first_obj_offset(oldpage)); in replace_sub_page() 1774 newpage->index = oldpage->index; in replace_sub_page() 1775 __SetPageMovable(newpage, &zsmalloc_mops); in replace_sub_page() 1798 static int zs_page_migrate(struct page *newpage, struct page *page, in zs_page_migrate() argument 1841 d_addr = kmap_atomic(newpage); in zs_page_migrate() 1851 new_obj = (unsigned long)location_to_obj(newpage, in zs_page_migrate() 1858 replace_sub_page(class, zspage, newpage, page); in zs_page_migrate() 1867 get_page(newpage); in zs_page_migrate() [all …]
|
D | z3fold.c | 1285 static int z3fold_page_migrate(struct page *newpage, struct page *page, in z3fold_page_migrate() argument 1293 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in z3fold_page_migrate() 1309 new_zhdr = page_address(newpage); in z3fold_page_migrate() 1311 newpage->private = page->private; in z3fold_page_migrate() 1323 get_page(newpage); in z3fold_page_migrate() 1331 set_bit(NEEDS_COMPACTING, &newpage->private); in z3fold_page_migrate() 1333 __SetPageMovable(newpage, &z3fold_mops); in z3fold_page_migrate()
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | cmm.c | 501 struct page *newpage, struct page *page, in cmm_migratepage() argument 514 if (plpar_page_set_loaned(newpage)) { in cmm_migratepage() 521 get_page(newpage); in cmm_migratepage() 528 if (page_zone(page) != page_zone(newpage)) { in cmm_migratepage() 530 adjust_managed_page_count(newpage, -1); in cmm_migratepage() 534 balloon_page_insert(b_dev_info, newpage); in cmm_migratepage()
|
/linux-6.6.21/Documentation/translations/zh_CN/mm/ |
D | page_migration.rst | 144 | ``struct page *newpage, struct page *oldpage, enum migrate_mode);`` 147 的内容移动到新页,并设置struct page newpage的字段。请记住,如果你成功迁移了旧页
|
/linux-6.6.21/drivers/virtio/ |
D | virtio_balloon.c | 751 struct page *newpage, struct page *page, enum migrate_mode mode) in virtballoon_migratepage() argument 768 get_page(newpage); /* balloon reference */ in virtballoon_migratepage() 776 page_zone(page) != page_zone(newpage)) { in virtballoon_migratepage() 778 adjust_managed_page_count(newpage, -1); in virtballoon_migratepage() 783 balloon_page_insert(vb_dev_info, newpage); in virtballoon_migratepage() 788 set_page_pfns(vb, vb->pfns, newpage); in virtballoon_migratepage()
|
/linux-6.6.21/include/linux/ |
D | balloon_compaction.h | 58 int (*migratepage)(struct balloon_dev_info *, struct page *newpage,
|
/linux-6.6.21/drivers/misc/ |
D | vmw_balloon.c | 1746 struct page *newpage, struct page *page, in vmballoon_migratepage() argument 1797 vmballoon_add_page(b, 0, newpage); in vmballoon_migratepage() 1802 status = vmballoon_status_page(b, 0, &newpage); in vmballoon_migratepage() 1820 get_page(newpage); in vmballoon_migratepage() 1833 balloon_page_insert(&b->b_dev_info, newpage); in vmballoon_migratepage()
|
/linux-6.6.21/fs/erofs/ |
D | zdata.c | 578 struct page *newpage = NULL; in z_erofs_bind_cache() local 599 newpage = erofs_allocpage(&fe->pagepool, gfp); in z_erofs_bind_cache() 600 if (!newpage) in z_erofs_bind_cache() 602 set_page_private(newpage, Z_EROFS_PREALLOCATED_PAGE); in z_erofs_bind_cache() 603 t = (void *)((unsigned long)newpage | 1); in z_erofs_bind_cache() 611 else if (newpage) in z_erofs_bind_cache() 612 erofs_pagepool_add(&fe->pagepool, newpage); in z_erofs_bind_cache()
|
/linux-6.6.21/fs/jfs/ |
D | jfs_logmgr.h | 329 } newpage; member
|
D | jfs_xtree.c | 1515 int newpage = 0; in xtUpdate() local 1747 newpage = 1; in xtUpdate() 1777 if (newpage) { in xtUpdate()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 4031 struct page *newpage; in adap_config_hma() local 4086 newpage = alloc_pages_node(node, __GFP_NOWARN | GFP_KERNEL | in adap_config_hma() 4088 if (!newpage) { in adap_config_hma() 4094 sg_set_page(iter, newpage, page_size << page_order, 0); in adap_config_hma() 4113 newpage = sg_page(iter); in adap_config_hma()
|
/linux-6.6.21/fs/nfs/ |
D | nfs4proc.c | 5820 struct page *newpage, **spages; in nfs4_buf_to_pages_noslab() local 5827 newpage = alloc_page(GFP_KERNEL); in nfs4_buf_to_pages_noslab() 5829 if (newpage == NULL) in nfs4_buf_to_pages_noslab() 5831 memcpy(page_address(newpage), buf, len); in nfs4_buf_to_pages_noslab() 5834 *pages++ = newpage; in nfs4_buf_to_pages_noslab()
|