Home
last modified time | relevance | path

Searched refs:fscache (Results 1 – 19 of 19) sorted by relevance

/fs/ceph/
A Dcache.c21 if (!fsc->fscache) in ceph_fscache_register_inode_cookie()
35 fscache_acquire_cookie(fsc->fscache, 0, in ceph_fscache_register_inode_cookie()
99 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0); in ceph_fscache_register_fs()
100 if (IS_ERR_OR_NULL(fsc->fscache)) { in ceph_fscache_register_fs()
102 err = fsc->fscache ? PTR_ERR(fsc->fscache) : -EOPNOTSUPP; in ceph_fscache_register_fs()
103 fsc->fscache = NULL; in ceph_fscache_register_fs()
111 fscache_relinquish_volume(fsc->fscache, NULL, false); in ceph_fscache_unregister_fs()
A Dsuper.h159 struct fscache_volume *fscache; member
/fs/smb/client/
A Dfscache.c56 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
104 tcon->fscache = vcookie; in cifs_fscache_get_super_cookie()
118 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie()
121 fscache_relinquish_volume(tcon->fscache, &cd, false); in cifs_fscache_release_super_cookie()
122 tcon->fscache = NULL; in cifs_fscache_release_super_cookie()
141 fscache_acquire_cookie(tcon->fscache, 0, in cifs_fscache_get_inode_cookie()
A DMakefile29 cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o
A Dcifsglob.h1327 struct fscache_volume *fscache; /* cookie for share */ member
/fs/erofs/
A Dfscache.c199 io->io.private = mdev->m_dif->fscache->cookie; in erofs_fscache_bio_alloc()
318 ret = erofs_fscache_read_io_async(mdev.m_dif->fscache->cookie, in erofs_fscache_data_read_slice()
633 struct erofs_fscache *fscache; in erofs_fscache_register_fs() local
655 fscache = erofs_fscache_register_cookie(sb, sbi->fsid, flags); in erofs_fscache_register_fs()
656 if (IS_ERR(fscache)) in erofs_fscache_register_fs()
657 return PTR_ERR(fscache); in erofs_fscache_register_fs()
659 sbi->dif0.fscache = fscache; in erofs_fscache_register_fs()
667 erofs_fscache_unregister_cookie(sbi->dif0.fscache); in erofs_fscache_unregister_fs()
674 sbi->dif0.fscache = NULL; in erofs_fscache_unregister_fs()
A Dsuper.c140 struct erofs_fscache *fscache; in erofs_init_device() local
159 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device()
160 if (IS_ERR(fscache)) in erofs_init_device()
161 return PTR_ERR(fscache); in erofs_init_device()
162 dif->fscache = fscache; in erofs_init_device()
802 erofs_fscache_unregister_cookie(dif->fscache); in erofs_release_device_info()
803 dif->fscache = NULL; in erofs_release_device_info()
A Dinternal.h44 struct erofs_fscache *fscache; member
514 void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache);
531 static inline void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache) in erofs_fscache_unregister_cookie() argument
A DMakefile12 erofs-$(CONFIG_EROFS_FS_ONDEMAND) += fscache.o
A DKconfig99 hooks, will eventually replace "EROFS over fscache."
166 bool "EROFS fscache-based on-demand read support (deprecated)"
171 This permits EROFS to use fscache-backed data blobs with on-demand
A Ddata.c69 buf->mapping = sbi->dif0.fscache->inode->i_mapping; in erofs_init_metabuf()
/fs/netfs/
A DKconfig17 /proc/fs/fscache/stats
42 See Documentation/filesystems/caching/fscache.rst for more information.
52 /proc/fs/fscache/stats
60 See Documentation/filesystems/caching/fscache.rst for more information.
/fs/cachefiles/
A Dcache.c411 struct fscache_cache *fscache = cache->cache; in cachefiles_withdraw_cache() local
413 pr_info("File cache on %s unregistering\n", fscache->name); in cachefiles_withdraw_cache()
415 fscache_withdraw_cache(fscache); in cachefiles_withdraw_cache()
422 fscache_wait_for_objects(fscache); in cachefiles_withdraw_cache()
427 fscache_relinquish_cache(fscache); in cachefiles_withdraw_cache()
/fs/nfs/
A Dfscache.c141 nfss->fscache = vcookie; in nfs_fscache_get_super_cookie()
155 fscache_relinquish_volume(nfss->fscache, NULL, false); in nfs_fscache_release_super_cookie()
156 nfss->fscache = NULL; in nfs_fscache_release_super_cookie()
170 if (!(nfss->fscache && S_ISREG(inode->i_mode))) in nfs_fscache_init_inode()
176 nfss->fscache, in nfs_fscache_init_inode()
A DMakefile15 nfs-$(CONFIG_NFS_FSCACHE) += fscache.o
A Dfscache.h143 if (server->fscache) in nfs_server_fscache_state()
A Dsuper.c1277 nfss->fscache = NULL; in nfs_get_cache_cookie()
/fs/9p/
A Dv9fs.h118 struct fscache_volume *fscache; member
160 return v9ses->fscache; in v9fs_session_cache()
A Dcache.c45 v9ses->fscache = vcookie; in v9fs_cache_session_get_cookie()

Completed in 38 milliseconds