Home
last modified time | relevance | path

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

/fs/cachefiles/
Drdwr.c232 struct page *newpage, *backpage; in cachefiles_read_backing_file_one() local
251 newpage = NULL; in cachefiles_read_backing_file_one()
258 if (!newpage) { in cachefiles_read_backing_file_one()
259 newpage = __page_cache_alloc(cachefiles_gfp | in cachefiles_read_backing_file_one()
261 if (!newpage) in cachefiles_read_backing_file_one()
265 ret = add_to_page_cache_lru(newpage, bmapping, in cachefiles_read_backing_file_one()
276 _debug("- new %p", newpage); in cachefiles_read_backing_file_one()
278 backpage = newpage; in cachefiles_read_backing_file_one()
279 newpage = NULL; in cachefiles_read_backing_file_one()
312 if (newpage) { in cachefiles_read_backing_file_one()
[all …]
/fs/fuse/
Ddev.c829 struct page *newpage; in fuse_try_move_page() local
854 newpage = buf->page; in fuse_try_move_page()
856 if (!PageUptodate(newpage)) in fuse_try_move_page()
857 SetPageUptodate(newpage); in fuse_try_move_page()
859 ClearPageMappedToDisk(newpage); in fuse_try_move_page()
861 if (fuse_check_page(newpage) != 0) in fuse_try_move_page()
877 err = replace_page_cache_page(oldpage, newpage, GFP_KERNEL); in fuse_try_move_page()
879 unlock_page(newpage); in fuse_try_move_page()
883 get_page(newpage); in fuse_try_move_page()
886 lru_cache_add_file(newpage); in fuse_try_move_page()
[all …]
/fs/ubifs/
Dfile.c1458 struct page *newpage, struct page *page, enum migrate_mode mode) in ubifs_migrate_page() argument
1462 rc = migrate_page_move_mapping(mapping, newpage, page, NULL, mode, 0); in ubifs_migrate_page()
1468 SetPagePrivate(newpage); in ubifs_migrate_page()
1471 migrate_page_copy(newpage, page); in ubifs_migrate_page()
/fs/jfs/
Djfs_logmgr.h342 } newpage; member
Djfs_xtree.c1722 int newpage = 0; in xtUpdate() local
1975 newpage = 1; in xtUpdate()
2005 if (newpage) { in xtUpdate()
/fs/f2fs/
Ddata.c2563 struct page *newpage, struct page *page, enum migrate_mode mode) in f2fs_migrate_page() argument
2585 rc = migrate_page_move_mapping(mapping, newpage, in f2fs_migrate_page()
2597 cur->page = newpage; in f2fs_migrate_page()
2602 get_page(newpage); in f2fs_migrate_page()
2606 SetPagePrivate(newpage); in f2fs_migrate_page()
2607 set_page_private(newpage, page_private(page)); in f2fs_migrate_page()
2609 migrate_page_copy(newpage, page); in f2fs_migrate_page()
Df2fs.h2929 int f2fs_migrate_page(struct address_space *mapping, struct page *newpage,
/fs/hugetlbfs/
Dinode.c832 struct page *newpage, struct page *page, in hugetlbfs_migrate_page() argument
837 rc = migrate_huge_page_move_mapping(mapping, newpage, page); in hugetlbfs_migrate_page()
840 migrate_page_copy(newpage, page); in hugetlbfs_migrate_page()
/fs/nfs/
Dwrite.c2032 int nfs_migrate_page(struct address_space *mapping, struct page *newpage, in nfs_migrate_page() argument
2049 return migrate_page(mapping, newpage, page, mode); in nfs_migrate_page()
Dnfs4proc.c4886 struct page *newpage, **spages; in buf_to_pages_noslab() local
4893 newpage = alloc_page(GFP_KERNEL); in buf_to_pages_noslab()
4895 if (newpage == NULL) in buf_to_pages_noslab()
4897 memcpy(page_address(newpage), buf, len); in buf_to_pages_noslab()
4900 *pages++ = newpage; in buf_to_pages_noslab()
/fs/btrfs/
Ddisk-io.c1064 struct page *newpage, struct page *page, in btree_migratepage() argument
1080 return migrate_page(mapping, newpage, page, mode); in btree_migratepage()