Lines Matching defs:folio
2724 static int reiserfs_read_folio(struct file *f, struct folio *folio)
2726 return block_read_full_folio(folio, reiserfs_get_block);
2873 struct folio *folio = page_folio(page);
2889 if (!folio_test_uptodate(folio))
2892 folio_zero_new_buffers(folio, start + copied, start + len);
2894 flush_dcache_folio(folio);
3130 static void reiserfs_invalidate_folio(struct folio *folio, size_t offset,
3134 struct inode *inode = folio->mapping->host;
3137 int partial_page = (offset || length < folio_size(folio));
3140 BUG_ON(!folio_test_locked(folio));
3143 folio_clear_checked(folio);
3145 head = folio_buffers(folio);
3176 ret = filemap_release_folio(folio, 0);
3184 struct folio *folio)
3187 folio_set_checked(folio);
3188 return filemap_dirty_folio(mapping, folio);
3190 return block_dirty_folio(mapping, folio);
3194 * Returns true if the folio's buffers were dropped. The folio is locked.
3197 * in the buffers at folio_buffers(folio).
3202 static bool reiserfs_release_folio(struct folio *folio, gfp_t unused_gfp_flags)
3204 struct inode *inode = folio->mapping->host;
3210 WARN_ON(folio_test_checked(folio));
3212 head = folio_buffers(folio);
3226 ret = try_to_free_buffers(folio);