Home
last modified time | relevance | path

Searched refs:newpage (Results 1 – 14 of 14) sorted by relevance

/fs/cachefiles/
Drdwr.c235 struct page *newpage, *backpage; in cachefiles_read_backing_file_one() local
254 newpage = NULL; in cachefiles_read_backing_file_one()
261 if (!newpage) { in cachefiles_read_backing_file_one()
262 newpage = __page_cache_alloc(cachefiles_gfp); in cachefiles_read_backing_file_one()
263 if (!newpage) in cachefiles_read_backing_file_one()
267 ret = add_to_page_cache_lru(newpage, bmapping, in cachefiles_read_backing_file_one()
278 _debug("- new %p", newpage); in cachefiles_read_backing_file_one()
280 backpage = newpage; in cachefiles_read_backing_file_one()
281 newpage = NULL; in cachefiles_read_backing_file_one()
314 if (newpage) { in cachefiles_read_backing_file_one()
[all …]
/fs/erofs/
Dzdata.c374 struct page *newpage = NULL; in preload_compressed_pages() local
389 newpage = erofs_allocpage(pagepool, gfp); in preload_compressed_pages()
390 if (!newpage) in preload_compressed_pages()
392 set_page_private(newpage, in preload_compressed_pages()
394 t = tag_compressed_page_justfound(newpage); in preload_compressed_pages()
406 else if (newpage) in preload_compressed_pages()
407 erofs_pagepool_add(pagepool, newpage); in preload_compressed_pages()
850 struct page *const newpage = in z_erofs_do_read_page() local
853 set_page_private(newpage, Z_EROFS_SHORTLIVED_PAGE); in z_erofs_do_read_page()
854 err = z_erofs_attach_page(clt, newpage, in z_erofs_do_read_page()
/fs/fuse/
Ddev.c810 struct page *newpage; in fuse_try_move_page() local
836 newpage = buf->page; in fuse_try_move_page()
838 if (!PageUptodate(newpage)) in fuse_try_move_page()
839 SetPageUptodate(newpage); in fuse_try_move_page()
841 ClearPageMappedToDisk(newpage); in fuse_try_move_page()
843 if (fuse_check_page(newpage) != 0) in fuse_try_move_page()
859 replace_page_cache_page(oldpage, newpage); in fuse_try_move_page()
861 get_page(newpage); in fuse_try_move_page()
864 lru_cache_add(newpage); in fuse_try_move_page()
877 *pagep = newpage; in fuse_try_move_page()
[all …]
/fs/ubifs/
Dfile.c1471 struct page *newpage, struct page *page, enum migrate_mode mode) in ubifs_migrate_page() argument
1475 rc = migrate_page_move_mapping(mapping, newpage, page, 0); in ubifs_migrate_page()
1481 attach_page_private(newpage, (void *)1); in ubifs_migrate_page()
1485 migrate_page_copy(newpage, page); in ubifs_migrate_page()
1487 migrate_page_states(newpage, page); in ubifs_migrate_page()
/fs/iomap/
Dbuffered-io.c497 iomap_migrate_page(struct address_space *mapping, struct page *newpage, in iomap_migrate_page() argument
502 ret = migrate_page_move_mapping(mapping, newpage, page, 0); in iomap_migrate_page()
507 attach_page_private(newpage, detach_page_private(page)); in iomap_migrate_page()
510 migrate_page_copy(newpage, page); in iomap_migrate_page()
512 migrate_page_states(newpage, page); in iomap_migrate_page()
/fs/hugetlbfs/
Dinode.c979 struct page *newpage, struct page *page, in hugetlbfs_migrate_page() argument
984 rc = migrate_huge_page_move_mapping(mapping, newpage, page); in hugetlbfs_migrate_page()
989 hugetlb_set_page_subpool(newpage, hugetlb_page_subpool(page)); in hugetlbfs_migrate_page()
994 migrate_page_copy(newpage, page); in hugetlbfs_migrate_page()
996 migrate_page_states(newpage, page); in hugetlbfs_migrate_page()
/fs/jfs/
Djfs_logmgr.h329 } newpage; member
Djfs_xtree.c1709 int newpage = 0; in xtUpdate() local
1962 newpage = 1; in xtUpdate()
1992 if (newpage) { in xtUpdate()
/fs/f2fs/
Ddata.c3825 struct page *newpage, struct page *page, enum migrate_mode mode) in f2fs_migrate_page() argument
3831 rc = migrate_page_move_mapping(mapping, newpage, in f2fs_migrate_page()
3837 set_page_private(newpage, 0); in f2fs_migrate_page()
3839 set_page_private(newpage, page_private(page)); in f2fs_migrate_page()
3840 SetPagePrivate(newpage); in f2fs_migrate_page()
3841 get_page(newpage); in f2fs_migrate_page()
3849 migrate_page_copy(newpage, page); in f2fs_migrate_page()
3851 migrate_page_states(newpage, page); in f2fs_migrate_page()
Df2fs.h3795 int f2fs_migrate_page(struct address_space *mapping, struct page *newpage,
/fs/nfs/
Dwrite.c2103 int nfs_migrate_page(struct address_space *mapping, struct page *newpage, in nfs_migrate_page() argument
2120 return migrate_page(mapping, newpage, page, mode); in nfs_migrate_page()
Dnfs4proc.c5798 struct page *newpage, **spages; in nfs4_buf_to_pages_noslab() local
5805 newpage = alloc_page(GFP_KERNEL); in nfs4_buf_to_pages_noslab()
5807 if (newpage == NULL) in nfs4_buf_to_pages_noslab()
5809 memcpy(page_address(newpage), buf, len); in nfs4_buf_to_pages_noslab()
5812 *pages++ = newpage; in nfs4_buf_to_pages_noslab()
/fs/btrfs/
Dinode.c8684 struct page *newpage, struct page *page, in btrfs_migratepage() argument
8689 ret = migrate_page_move_mapping(mapping, newpage, page, 0); in btrfs_migratepage()
8694 attach_page_private(newpage, detach_page_private(page)); in btrfs_migratepage()
8698 SetPageOrdered(newpage); in btrfs_migratepage()
8702 migrate_page_copy(newpage, page); in btrfs_migratepage()
8704 migrate_page_states(newpage, page); in btrfs_migratepage()
Ddisk-io.c895 struct page *newpage, struct page *page, in btree_migratepage() argument
911 return migrate_page(mapping, newpage, page, mode); in btree_migratepage()