Lines Matching refs:dfolio
255 struct folio *folio = fbatch.folios[i], *dfolio; in nilfs_copy_dirty_pages() local
261 dfolio = filemap_grab_folio(dmap, folio->index); in nilfs_copy_dirty_pages()
262 if (unlikely(!dfolio)) { in nilfs_copy_dirty_pages()
272 nilfs_copy_page(&dfolio->page, &folio->page, 1); in nilfs_copy_dirty_pages()
273 filemap_dirty_folio(folio_mapping(dfolio), dfolio); in nilfs_copy_dirty_pages()
275 folio_unlock(dfolio); in nilfs_copy_dirty_pages()
276 folio_put(dfolio); in nilfs_copy_dirty_pages()
309 struct folio *folio = fbatch.folios[i], *dfolio; in nilfs_copy_back_pages() local
313 dfolio = filemap_lock_folio(dmap, index); in nilfs_copy_back_pages()
314 if (dfolio) { in nilfs_copy_back_pages()
316 WARN_ON(folio_test_dirty(dfolio)); in nilfs_copy_back_pages()
317 nilfs_copy_page(&dfolio->page, &folio->page, 0); in nilfs_copy_back_pages()
318 folio_unlock(dfolio); in nilfs_copy_back_pages()
319 folio_put(dfolio); in nilfs_copy_back_pages()