• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/nfs/

Lines Matching refs:fscache

24 #include "fscache.h"
40 clp->fscache = fscache_acquire_cookie(nfs_fscache_netfs.primary_index,
44 clp, clp->fscache);
53 clp, clp->fscache);
55 fscache_relinquish_cookie(clp->fscache, 0);
56 clp->fscache = NULL;
143 nfss->fscache = fscache_acquire_cookie(nfss->nfs_client->fscache,
147 nfss, nfss->fscache);
154 nfss->fscache = NULL;
167 nfss, nfss->fscache);
169 fscache_relinquish_cookie(nfss->fscache, 0);
170 nfss->fscache = NULL;
186 NFS_I(inode)->fscache = NULL;
199 if (nfsi->fscache || !NFS_FSCACHE(inode))
203 nfsi->fscache = fscache_acquire_cookie(
204 NFS_SB(sb)->fscache,
209 sb, nfsi, nfsi->fscache);
221 nfsi, nfsi->fscache);
223 fscache_relinquish_cookie(nfsi->fscache, 0);
224 nfsi->fscache = NULL;
235 nfsi, nfsi->fscache);
237 fscache_relinquish_cookie(nfsi->fscache, 1);
238 nfsi->fscache = NULL;
250 if (NFS_I(inode)->fscache) {
324 struct fscache_cookie *old = nfsi->fscache;
327 if (nfsi->fscache) {
328 /* retire the current fscache cache and get a new one */
329 fscache_relinquish_cookie(nfsi->fscache, 1);
331 nfsi->fscache = fscache_acquire_cookie(
332 nfss->nfs_client->fscache,
338 nfss, nfsi, old, nfsi->fscache);
352 struct fscache_cookie *cookie = nfsi->fscache;
355 dfprintk(FSCACHE, "NFS: fscache releasepage (0x%p/0x%p/0x%p)\n",
375 struct fscache_cookie *cookie = nfsi->fscache;
379 dfprintk(FSCACHE, "NFS: fscache invalidatepage (0x%p/0x%p/0x%p)\n",
415 * Retrieve a page from fscache
424 NFS_I(inode)->fscache, page, page->index, page->flags, inode);
426 ret = fscache_read_or_alloc_page(NFS_I(inode)->fscache,
433 case 0: /* read BIO submitted (page in fscache) */
454 * Retrieve a set of pages from fscache
466 NFS_I(inode)->fscache, npages, inode);
468 ret = fscache_read_or_alloc_pages(NFS_I(inode)->fscache,
504 * Store a newly fetched page in fscache
513 NFS_I(inode)->fscache, page, page->index, page->flags, sync);
515 ret = fscache_write_page(NFS_I(inode)->fscache, page, GFP_KERNEL);
521 fscache_uncache_page(NFS_I(inode)->fscache, page);