Home
last modified time | relevance | path

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

12

/linux/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()
/linux/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
/linux/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.
/linux/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.h142 if (server->fscache) in nfs_server_fscache_state()
/linux/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()
/linux/Documentation/filesystems/caching/
A Dnetfs-api.rst25 #include <linux/fscache.h>.
45 The fscache hierarchy is organised on two levels from a network filesystem's
71 This causes fscache to send the cache backend off to look up/create resources
88 actually required and it can use the fscache I/O API directly.
112 fscache will look up or create a cache cookie of that name and will use a cache
123 also return a NULL volume cookie if fscache is not enabled. It is safe to
173 allocation failure or if fscache is not enabled. It is safe to pass in a NULL
184 This will cause fscache to either commit the storage backing the cookie or
192 tell fscache when it intends to use the cookie (typically done on file open)
394 Once all the pages in the span are marked, the netfs can ask fscache to
[all …]
A Dindex.rst9 fscache
A Dfscache.rst163 /proc/fs/fscache/stats
227 /proc/fs/fscache/cookies
231 # cat /proc/fs/fscache/caches
258 /proc/fs/fscache/volumes
286 /proc/fs/fscache/cookies
290 # head /proc/fs/fscache/cookies
A Dbackend-api.rst11 #include <linux/fscache-cache.h>.
106 The cache must then go through the data storage objects it has and tell fscache
122 to tell fscache that a volume has been withdrawn. This waits for all
125 When the cache is completely withdrawn, fscache should be notified by
260 fscache to finish withdrawing all the objects in the cache. When it completes,
269 operations that fscache can use to manage various aspects of the cache. These
278 pointers to methods to allow fscache to request management of the cache:
329 by the cache backend or closed after a period of non-use by fscache.
452 displayed in /proc/fs/fscache/stats.
479 .. kernel-doc:: include/linux/fscache-cache.h
/linux/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()
/linux/fs/erofs/
A Dsuper.c163 struct erofs_fscache *fscache; in erofs_init_device() local
182 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device()
183 if (IS_ERR(fscache)) in erofs_init_device()
184 return PTR_ERR(fscache); in erofs_init_device()
185 dif->fscache = fscache; in erofs_init_device()
761 erofs_fscache_unregister_cookie(dif->fscache); in erofs_release_device_info()
762 dif->fscache = NULL; in erofs_release_device_info()
A DMakefile11 erofs-$(CONFIG_EROFS_FS_ONDEMAND) += fscache.o
A Dfscache.c634 struct erofs_fscache *fscache; in erofs_fscache_register_fs() local
656 fscache = erofs_fscache_register_cookie(sb, sbi->fsid, flags); in erofs_fscache_register_fs()
657 if (IS_ERR(fscache)) in erofs_fscache_register_fs()
658 return PTR_ERR(fscache); in erofs_fscache_register_fs()
660 sbi->s_fscache = fscache; in erofs_fscache_register_fs()
A Dinternal.h51 struct erofs_fscache *fscache; member
506 void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache);
523 static inline void erofs_fscache_unregister_cookie(struct erofs_fscache *fscache) in erofs_fscache_unregister_cookie() argument
A DKconfig90 hooks, will eventually replace "EROFS over fscache."
148 bool "EROFS fscache-based on-demand read support (deprecated)"
155 This permits EROFS to use fscache-backed data blobs with on-demand
/linux/Documentation/filesystems/
A D9p.rst147 0b10000000 fscache enabled for persistent caching
157 fscache 0b10001111 (persistent loose cache)
164 IMPORTANT: loose caches (and by extension at the moment fscache)
185 0x800 display fscache tracing debug
240 /sys/fs/9p/caches. (applies only to cache=fscache)
A Dnetfs_library.rst72 exist if fscache is disabled.
90 attached to an inode (or NULL if fscache is disabled)::
448 To begin a cache operation on an fscache object, the following function is
A Derofs.rst37 - Block-based distribution and file-based distribution over fscache are
129 domain_id=%s Specify a domain ID in fscache mode so that different images
/linux/include/linux/
A Dnfs_fs_sb.h210 struct fscache_volume *fscache; /* superblock cookie */ member
/linux/include/trace/events/
A Dfscache.h8 #define TRACE_SYSTEM fscache
/linux/Documentation/translations/zh_CN/core-api/
A Dworkqueue.rst55 发性的用户,如async或fscache,不得不实现他们自己的线程池。

Completed in 36 milliseconds

12