Lines Matching refs:fscache

2  *   fs/cifs/fscache.c - CIFS filesystem cache interface
21 #include "fscache.h"
73 server->fscache = NULL;
77 server->fscache =
84 __func__, server, server->fscache);
90 __func__, server, server->fscache);
91 fscache_relinquish_cookie(server->fscache, NULL, false);
92 server->fscache = NULL;
104 tcon->fscache = NULL;
113 tcon->fscache =
114 fscache_acquire_cookie(server->fscache,
121 __func__, server->fscache, tcon->fscache);
133 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache);
134 fscache_relinquish_cookie(tcon->fscache, &auxdata, false);
135 tcon->fscache = NULL;
150 cifsi->fscache =
151 fscache_acquire_cookie(tcon->fscache,
164 if (cifsi->fscache)
173 __func__, tcon->fscache, cifsi->fscache);
181 if (cifsi->fscache) {
189 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, cifsi->fscache);
190 fscache_relinquish_cookie(cifsi->fscache, &auxdata, false);
191 cifsi->fscache = NULL;
199 if (cifsi->fscache) {
200 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, cifsi->fscache);
201 fscache_uncache_all_inode_pages(cifsi->fscache, inode);
202 fscache_relinquish_cookie(cifsi->fscache, NULL, true);
203 cifsi->fscache = NULL;
220 struct fscache_cookie *old = cifsi->fscache;
222 if (cifsi->fscache) {
223 /* retire the current fscache cache and get a new one */
224 fscache_relinquish_cookie(cifsi->fscache, NULL, true);
228 __func__, cifsi->fscache, old);
239 __func__, page, cifsi->fscache);
240 if (!fscache_maybe_release_page(cifsi->fscache, page, gfp))
264 __func__, CIFS_I(inode)->fscache, page, inode);
265 ret = fscache_read_or_alloc_page(CIFS_I(inode)->fscache, page,
271 case 0: /* page found in fscache, read submitted */
296 __func__, CIFS_I(inode)->fscache, *nr_pages, inode);
297 ret = fscache_read_or_alloc_pages(CIFS_I(inode)->fscache, mapping,
325 __func__, cifsi->fscache, page, inode);
326 ret = fscache_write_page(cifsi->fscache, page,
329 fscache_uncache_page(cifsi->fscache, page);
335 __func__, CIFS_I(inode)->fscache, inode);
336 fscache_readpages_cancel(CIFS_I(inode)->fscache, pages);
342 struct fscache_cookie *cookie = cifsi->fscache;