Lines Matching refs:page

128 int cifs_fscache_release_page(struct page *page, gfp_t gfp)  in cifs_fscache_release_page()  argument
130 if (PageFsCache(page)) { in cifs_fscache_release_page()
131 struct inode *inode = page->mapping->host; in cifs_fscache_release_page()
135 __func__, page, cifsi->fscache); in cifs_fscache_release_page()
136 if (!fscache_maybe_release_page(cifsi->fscache, page, gfp)) in cifs_fscache_release_page()
143 static void cifs_readpage_from_fscache_complete(struct page *page, void *ctx, in cifs_readpage_from_fscache_complete() argument
146 cifs_dbg(FYI, "%s: (0x%p/%d)\n", __func__, page, error); in cifs_readpage_from_fscache_complete()
148 SetPageUptodate(page); in cifs_readpage_from_fscache_complete()
149 unlock_page(page); in cifs_readpage_from_fscache_complete()
155 int __cifs_readpage_from_fscache(struct inode *inode, struct page *page) in __cifs_readpage_from_fscache() argument
160 __func__, CIFS_I(inode)->fscache, page, inode); in __cifs_readpage_from_fscache()
161 ret = fscache_read_or_alloc_page(CIFS_I(inode)->fscache, page, in __cifs_readpage_from_fscache()
215 void __cifs_readpage_to_fscache(struct inode *inode, struct page *page) in __cifs_readpage_to_fscache() argument
220 __func__, CIFS_I(inode)->fscache, page, inode); in __cifs_readpage_to_fscache()
221 ret = fscache_write_page(CIFS_I(inode)->fscache, page, GFP_KERNEL); in __cifs_readpage_to_fscache()
223 fscache_uncache_page(CIFS_I(inode)->fscache, page); in __cifs_readpage_to_fscache()
233 void __cifs_fscache_invalidate_page(struct page *page, struct inode *inode) in __cifs_fscache_invalidate_page() argument
238 cifs_dbg(FYI, "%s: (0x%p/0x%p)\n", __func__, page, cookie); in __cifs_fscache_invalidate_page()
239 fscache_wait_on_page_write(cookie, page); in __cifs_fscache_invalidate_page()
240 fscache_uncache_page(cookie, page); in __cifs_fscache_invalidate_page()