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()
103 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
107 tcon->fscache = in cifs_fscache_get_super_cookie()
108 fscache_acquire_cookie(server->fscache, in cifs_fscache_get_super_cookie()
115 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie()
120 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie()
121 fscache_relinquish_cookie(tcon->fscache, &tcon->resource_id, false); in cifs_fscache_release_super_cookie()
122 tcon->fscache = NULL; in cifs_fscache_release_super_cookie()
137 cifsi->fscache = in cifs_fscache_acquire_inode_cookie()
138 fscache_acquire_cookie(tcon->fscache, in cifs_fscache_acquire_inode_cookie()
151 if (cifsi->fscache) in cifs_fscache_enable_inode_cookie()
160 __func__, tcon->fscache, cifsi->fscache); in cifs_fscache_enable_inode_cookie()
168 if (cifsi->fscache) { in cifs_fscache_release_inode_cookie()
176 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, cifsi->fscache); in cifs_fscache_release_inode_cookie()
177 fscache_relinquish_cookie(cifsi->fscache, &auxdata, false); in cifs_fscache_release_inode_cookie()
178 cifsi->fscache = NULL; in cifs_fscache_release_inode_cookie()
186 if (cifsi->fscache) { in cifs_fscache_disable_inode_cookie()
187 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, cifsi->fscache); in cifs_fscache_disable_inode_cookie()
188 fscache_uncache_all_inode_pages(cifsi->fscache, inode); in cifs_fscache_disable_inode_cookie()
189 fscache_relinquish_cookie(cifsi->fscache, NULL, true); in cifs_fscache_disable_inode_cookie()
190 cifsi->fscache = NULL; in cifs_fscache_disable_inode_cookie()
207 struct fscache_cookie *old = cifsi->fscache; in cifs_fscache_reset_inode_cookie()
209 if (cifsi->fscache) { in cifs_fscache_reset_inode_cookie()
211 fscache_relinquish_cookie(cifsi->fscache, NULL, true); in cifs_fscache_reset_inode_cookie()
215 __func__, cifsi->fscache, old); in cifs_fscache_reset_inode_cookie()
226 __func__, page, cifsi->fscache); in cifs_fscache_release_page()
227 if (!fscache_maybe_release_page(cifsi->fscache, page, gfp)) in cifs_fscache_release_page()
251 __func__, CIFS_I(inode)->fscache, page, inode); in __cifs_readpage_from_fscache()
252 ret = fscache_read_or_alloc_page(CIFS_I(inode)->fscache, page, in __cifs_readpage_from_fscache()
283 __func__, CIFS_I(inode)->fscache, *nr_pages, inode); in __cifs_readpages_from_fscache()
284 ret = fscache_read_or_alloc_pages(CIFS_I(inode)->fscache, mapping, in __cifs_readpages_from_fscache()
312 __func__, cifsi->fscache, page, inode); in __cifs_readpage_to_fscache()
313 ret = fscache_write_page(cifsi->fscache, page, in __cifs_readpage_to_fscache()
316 fscache_uncache_page(cifsi->fscache, page); in __cifs_readpage_to_fscache()
322 __func__, CIFS_I(inode)->fscache, inode); in __cifs_fscache_readpages_cancel()
323 fscache_readpages_cancel(CIFS_I(inode)->fscache, pages); in __cifs_fscache_readpages_cancel()
329 struct fscache_cookie *cookie = cifsi->fscache; in __cifs_fscache_invalidate_page()