Lines Matching refs:page
208 static void ceph_readpage_from_fscache_complete(struct page *page, void *data, int error)
211 SetPageUptodate(page);
213 unlock_page(page);
225 * unlock the page here (or in the callback).
227 int ceph_readpage_from_fscache(struct inode *inode, struct page *page)
235 ret = fscache_read_or_alloc_page(ci->fscache, page,
241 dout("page read submitted\n");
245 dout("page/inode not in cache\n");
270 dout("all-page read submitted\n");
274 dout("page/inode not in cache\n");
282 void ceph_readpage_to_fscache(struct inode *inode, struct page *page)
287 if (!PageFsCache(page))
293 ret = fscache_write_page(ci->fscache, page, i_size_read(inode),
296 fscache_uncache_page(ci->fscache, page);
299 void ceph_invalidate_fscache_page(struct inode* inode, struct page *page)
303 if (!PageFsCache(page))
306 fscache_wait_on_page_write(ci->fscache, page);
307 fscache_uncache_page(ci->fscache, page);