Lines Matching refs:folio
892 static int ubifs_read_folio(struct file *file, struct folio *folio) in ubifs_read_folio() argument
894 struct page *page = &folio->page; in ubifs_read_folio()
899 folio_unlock(folio); in ubifs_read_folio()
1297 static void ubifs_invalidate_folio(struct folio *folio, size_t offset, in ubifs_invalidate_folio() argument
1300 struct inode *inode = folio->mapping->host; in ubifs_invalidate_folio()
1303 ubifs_assert(c, folio_test_private(folio)); in ubifs_invalidate_folio()
1304 if (offset || length < folio_size(folio)) in ubifs_invalidate_folio()
1308 if (folio_test_checked(folio)) in ubifs_invalidate_folio()
1314 folio_detach_private(folio); in ubifs_invalidate_folio()
1315 folio_clear_checked(folio); in ubifs_invalidate_folio()
1456 struct folio *folio) in ubifs_dirty_folio() argument
1461 ret = filemap_dirty_folio(mapping, folio); in ubifs_dirty_folio()
1470 static bool ubifs_release_folio(struct folio *folio, gfp_t unused_gfp_flags) in ubifs_release_folio() argument
1472 struct inode *inode = folio->mapping->host; in ubifs_release_folio()
1475 if (folio_test_writeback(folio)) in ubifs_release_folio()
1485 ubifs_assert(c, folio_test_private(folio)); in ubifs_release_folio()
1486 if (folio_test_checked(folio)) in ubifs_release_folio()
1492 folio_detach_private(folio); in ubifs_release_folio()
1493 folio_clear_checked(folio); in ubifs_release_folio()