Home
last modified time | relevance | path

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

/fs/cifs/
Dfscache.c28 server->fscache = in cifs_fscache_get_client_cookie()
32 server->fscache); in cifs_fscache_get_client_cookie()
38 server->fscache); in cifs_fscache_release_client_cookie()
39 fscache_relinquish_cookie(server->fscache, 0); in cifs_fscache_release_client_cookie()
40 server->fscache = NULL; in cifs_fscache_release_client_cookie()
47 tcon->fscache = in cifs_fscache_get_super_cookie()
48 fscache_acquire_cookie(server->fscache, in cifs_fscache_get_super_cookie()
50 cFYI(1, "%s: (0x%p/0x%p)", __func__, server->fscache, in cifs_fscache_get_super_cookie()
51 tcon->fscache); in cifs_fscache_get_super_cookie()
56 cFYI(1, "%s: (0x%p)", __func__, tcon->fscache); in cifs_fscache_release_super_cookie()
[all …]
Dfscache.h70 if (CIFS_I(inode)->fscache) in cifs_readpage_from_fscache()
81 if (CIFS_I(inode)->fscache) in cifs_readpages_from_fscache()
DMakefile17 cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o
Dcifsglob.h308 struct fscache_cookie *fscache; /* client index cache cookie */ member
497 struct fscache_cookie *fscache; /* cookie for share */ member
635 struct fscache_cookie *fscache; member
Dinode.c882 CIFS_I(inode)->fscache = NULL;
/fs/9p/
Dcache.c91 v9ses->fscache = fscache_acquire_cookie(v9fs_cache_netfs.primary_index, in v9fs_cache_session_get_cookie()
95 v9ses, v9ses->fscache); in v9fs_cache_session_get_cookie()
101 v9ses, v9ses->fscache); in v9fs_cache_session_put_cookie()
102 fscache_relinquish_cookie(v9ses->fscache, 0); in v9fs_cache_session_put_cookie()
103 v9ses->fscache = NULL; in v9fs_cache_session_put_cookie()
201 if (v9inode->fscache) in v9fs_cache_inode_get_cookie()
205 v9inode->fscache = fscache_acquire_cookie(v9ses->fscache, in v9fs_cache_inode_get_cookie()
210 inode, v9inode->fscache); in v9fs_cache_inode_get_cookie()
217 if (!v9inode->fscache) in v9fs_cache_inode_put_cookie()
220 inode, v9inode->fscache); in v9fs_cache_inode_put_cookie()
[all …]
Dv9fs.h106 struct fscache_cookie *fscache; member
127 struct fscache_cookie *fscache; member
Dcache.h92 fscache_uncache_page(v9inode->fscache, page); in v9fs_uncache_page()
Dv9fs.c410 if (v9ses->fscache) { in v9fs_session_close()
534 v9inode->fscache = NULL; in v9fs_inode_init_once()
Dvfs_inode.c249 v9inode->fscache = NULL; in v9fs_alloc_inode()
/fs/nfs/
Dfscache.c40 clp->fscache = fscache_acquire_cookie(nfs_fscache_netfs.primary_index, in nfs_fscache_get_client_cookie()
44 clp, clp->fscache); in nfs_fscache_get_client_cookie()
53 clp, clp->fscache); in nfs_fscache_release_client_cookie()
55 fscache_relinquish_cookie(clp->fscache, 0); in nfs_fscache_release_client_cookie()
56 clp->fscache = NULL; in nfs_fscache_release_client_cookie()
151 nfss->fscache = fscache_acquire_cookie(nfss->nfs_client->fscache, in nfs_fscache_get_super_cookie()
155 nfss, nfss->fscache); in nfs_fscache_get_super_cookie()
162 nfss->fscache = NULL; in nfs_fscache_get_super_cookie()
175 nfss, nfss->fscache); in nfs_fscache_release_super_cookie()
177 fscache_relinquish_cookie(nfss->fscache, 0); in nfs_fscache_release_super_cookie()
[all …]
Dfscache.h104 fscache_wait_on_page_write(nfsi->fscache, page); in nfs_fscache_wait_on_page_write()
125 if (NFS_I(inode)->fscache) in nfs_readpage_from_fscache()
139 if (NFS_I(inode)->fscache) in nfs_readpages_from_fscache()
162 if (server->fscache && (server->options & NFS_OPTION_FSCACHE)) in nfs_server_fscache_state()
Diostat.h20 unsigned long long fscache[__NFSIOS_FSCACHEMAX]; member
56 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats()
DMakefile20 nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
Dsuper.c896 totals.fscache[i] += stats->fscache[i]; in nfs_show_stats()
/fs/cachefiles/
Dinterface.c58 fscache_object_init(&object->fscache, cookie, &cache->cache); in cachefiles_alloc_object()
99 _leave(" = %p [%p]", &object->fscache, lookup_data); in cachefiles_alloc_object()
100 return &object->fscache; in cachefiles_alloc_object()
131 struct cachefiles_object, fscache); in cachefiles_lookup_object()
132 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_object()
146 object->fscache.cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) in cachefiles_lookup_object()
147 cachefiles_attr_changed(&object->fscache); in cachefiles_lookup_object()
153 fscache_object_lookup_error(&object->fscache); in cachefiles_lookup_object()
167 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_complete()
169 _enter("{OBJ%x,%p}", object->fscache.debug_id, object->lookup_data); in cachefiles_lookup_complete()
[all …]
Dnamei.c39 prefix, object->fscache.debug_id); in __cachefiles_printk_object()
41 prefix, fscache_object_states[object->fscache.state], in __cachefiles_printk_object()
42 object->fscache.flags, work_busy(&object->fscache.work), in __cachefiles_printk_object()
43 object->fscache.events, in __cachefiles_printk_object()
44 object->fscache.event_mask & FSCACHE_OBJECT_EVENTS_MASK); in __cachefiles_printk_object()
46 prefix, object->fscache.n_ops, object->fscache.n_in_progress, in __cachefiles_printk_object()
47 object->fscache.n_exclusive); in __cachefiles_printk_object()
49 prefix, object->fscache.parent); in __cachefiles_printk_object()
51 spin_lock(&object->fscache.lock); in __cachefiles_printk_object()
52 cookie = object->fscache.cookie; in __cachefiles_printk_object()
[all …]
Dxattr.c38 if (!object->fscache.cookie) in cachefiles_check_object_type()
41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type()
112 ASSERT(object->fscache.cookie); in cachefiles_set_object_xattr()
118 _debug("SET %s #%u", object->fscache.cookie->def->name, auxdata->len); in cachefiles_set_object_xattr()
141 ASSERT(object->fscache.cookie); in cachefiles_update_object_xattr()
147 _debug("SET %s #%u", object->fscache.cookie->def->name, auxdata->len); in cachefiles_update_object_xattr()
210 if (object->fscache.cookie->def->check_aux) { in cachefiles_check_object_xattr()
217 object->fscache.cookie->def->name, dlen); in cachefiles_check_object_xattr()
219 result = fscache_check_aux(&object->fscache, in cachefiles_check_object_xattr()
Drdwr.c56 struct cachefiles_object, fscache); in cachefiles_read_waiter()
158 struct cachefiles_object, fscache); in cachefiles_read_copier()
404 struct cachefiles_object, fscache); in cachefiles_read_or_alloc_page()
405 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_page()
703 struct cachefiles_object, fscache); in cachefiles_read_or_alloc_pages()
704 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_pages()
708 object->fscache.debug_id, atomic_read(&op->op.usage), in cachefiles_read_or_alloc_pages()
813 struct cachefiles_object, fscache); in cachefiles_allocate_page()
814 cache = container_of(object->fscache.cache, in cachefiles_allocate_page()
855 struct cachefiles_object, fscache); in cachefiles_allocate_pages()
[all …]
Dbind.c201 fsdef->fscache.cookie = NULL; in cachefiles_daemon_add_cache()
222 fscache_object_init(&fsdef->fscache, NULL, &cache->cache); in cachefiles_daemon_add_cache()
224 ret = fscache_add_cache(&cache->cache, &fsdef->fscache, cache->tag); in cachefiles_daemon_add_cache()
Dinternal.h30 struct fscache_object fscache; /* fscache handle */ member
258 ___cache = container_of((object)->fscache.cache, \
/fs/fscache/
DMakefile5 fscache-y := \
15 fscache-$(CONFIG_PROC_FS) += proc.o
16 fscache-$(CONFIG_FSCACHE_STATS) += stats.o
17 fscache-$(CONFIG_FSCACHE_HISTOGRAM) += histogram.o
18 fscache-$(CONFIG_FSCACHE_OBJECT_LIST) += object-list.o
20 obj-$(CONFIG_FSCACHE) := fscache.o
DKconfig10 See Documentation/filesystems/caching/fscache.txt for more information.
19 /proc/fs/fscache/stats
27 See Documentation/filesystems/caching/fscache.txt for more information.
36 /proc/fs/fscache/histogram
44 See Documentation/filesystems/caching/fscache.txt for more information.
52 enabled by setting bits in /sys/modules/fscache/parameter/debug.
54 See Documentation/filesystems/caching/fscache.txt for more information.
60 Maintain a global list of active fscache objects that can be
61 retrieved through /proc/fs/fscache/objects for debugging purposes
/fs/
DMakefile65 obj-$(CONFIG_FSCACHE) += fscache/
DKconfig87 source "fs/fscache/Kconfig"