Searched refs:fscache (Results 1 – 19 of 19) sorted by relevance
| /fs/ceph/ |
| A D | cache.c | 21 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 D | super.h | 159 struct fscache_volume *fscache; member
|
| /fs/smb/client/ |
| A D | fscache.c | 56 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 D | Makefile | 29 cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o
|
| A D | cifsglob.h | 1327 struct fscache_volume *fscache; /* cookie for share */ member
|
| /fs/erofs/ |
| A D | fscache.c | 199 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 D | super.c | 140 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 D | internal.h | 44 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 D | Makefile | 12 erofs-$(CONFIG_EROFS_FS_ONDEMAND) += fscache.o
|
| A D | Kconfig | 99 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 D | data.c | 69 buf->mapping = sbi->dif0.fscache->inode->i_mapping; in erofs_init_metabuf()
|
| /fs/netfs/ |
| A D | Kconfig | 17 /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 D | cache.c | 411 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 D | fscache.c | 141 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 D | Makefile | 15 nfs-$(CONFIG_NFS_FSCACHE) += fscache.o
|
| A D | fscache.h | 143 if (server->fscache) in nfs_server_fscache_state()
|
| A D | super.c | 1277 nfss->fscache = NULL; in nfs_get_cache_cookie()
|
| /fs/9p/ |
| A D | v9fs.h | 118 struct fscache_volume *fscache; member 160 return v9ses->fscache; in v9fs_session_cache()
|
| A D | cache.c | 45 v9ses->fscache = vcookie; in v9fs_cache_session_get_cookie()
|
Completed in 38 milliseconds