Lines Matching refs:fscache

73 		server->fscache = NULL;  in cifs_fscache_get_client_cookie()
77 server->fscache = in cifs_fscache_get_client_cookie()
84 __func__, server, server->fscache); in cifs_fscache_get_client_cookie()
90 __func__, server, server->fscache); in cifs_fscache_release_client_cookie()
91 fscache_relinquish_cookie(server->fscache, NULL, false); in cifs_fscache_release_client_cookie()
92 server->fscache = NULL; in cifs_fscache_release_client_cookie()
104 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
113 tcon->fscache = in cifs_fscache_get_super_cookie()
114 fscache_acquire_cookie(server->fscache, in cifs_fscache_get_super_cookie()
121 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie()
133 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie()
134 fscache_relinquish_cookie(tcon->fscache, &auxdata, false); in cifs_fscache_release_super_cookie()
135 tcon->fscache = NULL; in cifs_fscache_release_super_cookie()
150 cifsi->fscache = in cifs_fscache_acquire_inode_cookie()
151 fscache_acquire_cookie(tcon->fscache, in cifs_fscache_acquire_inode_cookie()
164 if (cifsi->fscache) in cifs_fscache_enable_inode_cookie()
173 __func__, tcon->fscache, cifsi->fscache); in cifs_fscache_enable_inode_cookie()
181 if (cifsi->fscache) { in cifs_fscache_release_inode_cookie()
189 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, cifsi->fscache); in cifs_fscache_release_inode_cookie()
190 fscache_relinquish_cookie(cifsi->fscache, &auxdata, false); in cifs_fscache_release_inode_cookie()
191 cifsi->fscache = NULL; in cifs_fscache_release_inode_cookie()
199 if (cifsi->fscache) { in cifs_fscache_disable_inode_cookie()
200 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, cifsi->fscache); in cifs_fscache_disable_inode_cookie()
201 fscache_uncache_all_inode_pages(cifsi->fscache, inode); in cifs_fscache_disable_inode_cookie()
202 fscache_relinquish_cookie(cifsi->fscache, NULL, true); in cifs_fscache_disable_inode_cookie()
203 cifsi->fscache = NULL; in cifs_fscache_disable_inode_cookie()
220 struct fscache_cookie *old = cifsi->fscache; in cifs_fscache_reset_inode_cookie()
222 if (cifsi->fscache) { in cifs_fscache_reset_inode_cookie()
224 fscache_relinquish_cookie(cifsi->fscache, NULL, true); in cifs_fscache_reset_inode_cookie()
228 __func__, cifsi->fscache, old); in cifs_fscache_reset_inode_cookie()
239 __func__, page, cifsi->fscache); in cifs_fscache_release_page()
240 if (!fscache_maybe_release_page(cifsi->fscache, page, gfp)) in cifs_fscache_release_page()
264 __func__, CIFS_I(inode)->fscache, page, inode); in __cifs_readpage_from_fscache()
265 ret = fscache_read_or_alloc_page(CIFS_I(inode)->fscache, page, in __cifs_readpage_from_fscache()
296 __func__, CIFS_I(inode)->fscache, *nr_pages, inode); in __cifs_readpages_from_fscache()
297 ret = fscache_read_or_alloc_pages(CIFS_I(inode)->fscache, mapping, in __cifs_readpages_from_fscache()
325 __func__, cifsi->fscache, page, inode); in __cifs_readpage_to_fscache()
326 ret = fscache_write_page(cifsi->fscache, page, in __cifs_readpage_to_fscache()
329 fscache_uncache_page(cifsi->fscache, page); in __cifs_readpage_to_fscache()
335 __func__, CIFS_I(inode)->fscache, inode); in __cifs_fscache_readpages_cancel()
336 fscache_readpages_cancel(CIFS_I(inode)->fscache, pages); in __cifs_fscache_readpages_cancel()
342 struct fscache_cookie *cookie = cifsi->fscache; in __cifs_fscache_invalidate_page()