/linux/fs/cifs/ |
A D | fscache.c | 34 if (server->fscache) in cifs_fscache_get_client_cookie() 40 server->fscache = in cifs_fscache_get_client_cookie() 55 server->fscache = NULL; in cifs_fscache_release_client_cookie() 69 if (tcon->fscache) in cifs_fscache_get_super_cookie() 75 tcon->fscache = NULL; in cifs_fscache_get_super_cookie() 84 tcon->fscache = in cifs_fscache_get_super_cookie() 92 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie() 106 tcon->fscache = NULL; in cifs_fscache_release_super_cookie() 121 cifsi->fscache = in cifs_fscache_acquire_inode_cookie() 135 if (cifsi->fscache) in cifs_fscache_enable_inode_cookie() [all …]
|
A D | fscache.h | 99 if (CIFS_I(inode)->fscache) in cifs_readpage_from_fscache() 110 if (CIFS_I(inode)->fscache) in cifs_readpages_from_fscache() 126 if (CIFS_I(inode)->fscache) in cifs_fscache_readpages_cancel()
|
/linux/fs/9p/ |
A D | cache.c | 53 v9ses->fscache = NULL; in v9fs_cache_session_get_cookie() 67 v9ses, v9ses->fscache); in v9fs_cache_session_get_cookie() 75 v9ses->fscache = NULL; in v9fs_cache_session_put_cookie() 111 if (v9inode->fscache) in v9fs_cache_inode_get_cookie() 115 v9inode->fscache = fscache_acquire_cookie(v9ses->fscache, in v9fs_cache_inode_get_cookie() 133 if (!v9inode->fscache) in v9fs_cache_inode_put_cookie() 147 if (!v9inode->fscache) in v9fs_cache_inode_flush_cookie() 160 if (!v9inode->fscache) in v9fs_cache_inode_set_cookie() 179 if (!v9inode->fscache) in v9fs_cache_inode_reset_cookie() 182 old = v9inode->fscache; in v9fs_cache_inode_reset_cookie() [all …]
|
A D | v9fs.h | 92 struct fscache_cookie *fscache; member 113 struct fscache_cookie *fscache; member 130 return v9inode->fscache; in v9fs_inode_cookie()
|
/linux/fs/ceph/ |
A D | cache.c | 25 struct fscache_cookie *fscache; member 88 if (fsc->fscache) { in ceph_fscache_register_fs() 89 ent->fscache = fsc->fscache; in ceph_fscache_register_fs() 132 if (!fsc->fscache) in ceph_fscache_register_inode_cookie() 140 if (!ci->fscache) { in ceph_fscache_register_inode_cookie() 141 ci->fscache = fscache_acquire_cookie(fsc->fscache, in ceph_fscache_register_inode_cookie() 154 if ((cookie = ci->fscache) == NULL) in ceph_fscache_unregister_inode_cookie() 157 ci->fscache = NULL; in ceph_fscache_unregister_inode_cookie() 172 if (!fscache_cookie_valid(ci->fscache)) in ceph_fscache_file_set_cookie() 197 if (ent->fscache == fsc->fscache) { in ceph_fscache_unregister_fs() [all …]
|
A D | cache.h | 31 ci->fscache = NULL; in ceph_fscache_inode_init() 36 return ci->fscache; in ceph_fscache_cookie() 41 fscache_invalidate(ceph_inode(inode)->fscache); in ceph_fscache_invalidate()
|
/linux/fs/cachefiles/ |
A D | interface.c | 100 return &object->fscache; in cachefiles_alloc_object() 131 struct cachefiles_object, fscache); in cachefiles_lookup_object() 147 cachefiles_attr_changed(&object->fscache); in cachefiles_lookup_object() 198 return &object->fscache; in cachefiles_grab_object() 225 cookie = object->fscache.cookie; in cachefiles_update_object() 276 cache = container_of(object->fscache.cache, in cachefiles_drop_object() 340 ASSERTIFCMP(object->fscache.parent, in cachefiles_put_object() 354 ASSERTCMP(object->fscache.n_ops, ==, 0); in cachefiles_put_object() 364 cache = object->fscache.cache; in cachefiles_put_object() 365 fscache_object_destroy(&object->fscache); in cachefiles_put_object() [all …]
|
A D | namei.c | 37 object->fscache.flags, work_busy(&object->fscache.work), in __cachefiles_printk_object() 38 object->fscache.events, object->fscache.event_mask); in __cachefiles_printk_object() 40 prefix, object->fscache.n_ops, object->fscache.n_in_progress, in __cachefiles_printk_object() 41 object->fscache.n_exclusive); in __cachefiles_printk_object() 43 prefix, object->fscache.parent ? object->fscache.parent->debug_id : 0); in __cachefiles_printk_object() 45 spin_lock(&object->fscache.lock); in __cachefiles_printk_object() 46 cookie = object->fscache.cookie; in __cachefiles_printk_object() 63 spin_unlock(&object->fscache.lock); in __cachefiles_printk_object() 114 object->fscache.debug_id, in cachefiles_mark_object_buried() 115 object->fscache.state->name, in cachefiles_mark_object_buried() [all …]
|
A D | xattr.c | 34 if (!object->fscache.cookie) in cachefiles_check_object_type() 37 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type() 39 _enter("%x{%s}", object->fscache.debug_id, type); in cachefiles_check_object_type() 113 clear_bit(FSCACHE_COOKIE_AUX_UPDATED, &object->fscache.cookie->flags); in cachefiles_set_object_xattr() 137 _enter("%x,#%d", object->fscache.debug_id, auxdata->len); in cachefiles_update_object_xattr() 167 ASSERT(object->fscache.cookie->def->check_aux); in cachefiles_check_auxdata() 177 auxbuf->type != object->fscache.cookie->def->type) in cachefiles_check_auxdata() 181 validity = fscache_check_aux(&object->fscache, &auxbuf->data, xlen, in cachefiles_check_auxdata() 241 if (object->fscache.cookie->def->check_aux) { in cachefiles_check_object_xattr() 248 object->fscache.cookie->def->name, dlen); in cachefiles_check_object_xattr() [all …]
|
A D | rdwr.c | 161 struct cachefiles_object, fscache); in cachefiles_read_copier() 179 &object->fscache.cookie->flags)) { 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() 697 struct cachefiles_object, fscache); in cachefiles_read_or_alloc_pages() 698 cache = container_of(object->fscache.cache, in cachefiles_read_or_alloc_pages() 805 struct cachefiles_object, fscache); in cachefiles_allocate_page() 806 cache = container_of(object->fscache.cache, in cachefiles_allocate_page() 845 struct cachefiles_object, fscache); in cachefiles_allocate_pages() 913 eof = object->fscache.store_limit_l; in cachefiles_write_page() [all …]
|
A D | io.c | 281 struct cachefiles_object, fscache); in cachefiles_prepare_read() 282 cache = container_of(object->fscache.cache, in cachefiles_prepare_read() 391 struct cachefiles_object, fscache); in cachefiles_begin_read_operation() 392 cache = container_of(object->fscache.cache, in cachefiles_begin_read_operation() 413 rreq->cache_resources.debug_id = object->fscache.debug_id; in cachefiles_begin_read_operation()
|
A D | bind.c | 200 fsdef->fscache.cookie = NULL; in cachefiles_daemon_add_cache() 221 fscache_object_init(&fsdef->fscache, &fscache_fsdef_index, in cachefiles_daemon_add_cache() 224 ret = fscache_add_cache(&cache->cache, &fsdef->fscache, cache->tag); in cachefiles_daemon_add_cache()
|
A D | internal.h | 36 struct fscache_object fscache; /* fscache handle */ member 254 ___cache = container_of((object)->fscache.cache, \
|
/linux/fs/nfs/ |
A D | fscache.c | 78 clp->fscache = NULL; in nfs_fscache_get_client_cookie() 89 clp, clp->fscache); in nfs_fscache_get_client_cookie() 98 clp, clp->fscache); in nfs_fscache_release_client_cookie() 101 clp->fscache = NULL; in nfs_fscache_release_client_cookie() 120 nfss->fscache = NULL; in nfs_fscache_get_super_cookie() 187 nfss->fscache = fscache_acquire_cookie(nfss->nfs_client->fscache, in nfs_fscache_get_super_cookie() 201 nfss->fscache = NULL; in nfs_fscache_get_super_cookie() 217 nfss->fscache = NULL; in nfs_fscache_release_super_cookie() 250 nfsi->fscache = NULL; in nfs_fscache_init_inode() 256 nfsi->fscache = fscache_acquire_cookie(NFS_SB(inode->i_sb)->fscache, in nfs_fscache_init_inode() [all …]
|
A D | fscache.h | 113 fscache_wait_on_page_write(nfsi->fscache, page); in nfs_fscache_wait_on_page_write() 134 if (NFS_I(inode)->fscache) in nfs_readpage_from_fscache() 148 if (NFS_I(inode)->fscache) in nfs_readpages_from_fscache() 171 fscache_invalidate(NFS_I(inode)->fscache); in nfs_fscache_invalidate() 179 fscache_wait_on_invalidate(NFS_I(inode)->fscache); in nfs_fscache_wait_on_invalidate() 187 if (server->fscache) in nfs_server_fscache_state()
|
A D | iostat.h | 21 unsigned long long fscache[__NFSIOS_FSCACHEMAX]; member 57 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats() 62 this_cpu_inc(NFS_SERVER(inode)->io_stats->fscache[stat]); in nfs_inc_fscache_stats()
|
A D | Makefile | 15 nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
|
/linux/include/trace/events/ |
A D | cachefiles.h | 88 __entry->obj = obj->fscache.debug_id; 113 __entry->obj = obj->fscache.debug_id; 135 __entry->obj = obj->fscache.debug_id; 157 __entry->obj = obj->fscache.debug_id; 181 __entry->obj = obj ? obj->fscache.debug_id : UINT_MAX; 208 __entry->obj = obj ? obj->fscache.debug_id : UINT_MAX; 232 __entry->obj = obj->fscache.debug_id; 257 __entry->obj = obj->fscache.debug_id; 259 __entry->xobj = xobj->fscache.debug_id; 261 __entry->fsc_flags = xobj->fscache.flags; [all …]
|
/linux/fs/fscache/ |
A D | Makefile | 6 fscache-y := \ 17 fscache-$(CONFIG_PROC_FS) += proc.o 18 fscache-$(CONFIG_FSCACHE_STATS) += stats.o 20 obj-$(CONFIG_FSCACHE) := fscache.o
|
A D | Kconfig | 12 See Documentation/filesystems/caching/fscache.rst for more information. 22 /proc/fs/fscache/stats 30 See Documentation/filesystems/caching/fscache.rst for more information. 38 enabled by setting bits in /sys/modules/fscache/parameter/debug. 40 See Documentation/filesystems/caching/fscache.rst for more information.
|
/linux/include/linux/ |
A D | nfs_fs_sb.h | 125 struct fscache_cookie *fscache; /* client index cache cookie */ member 198 struct fscache_cookie *fscache; /* superblock cookie */ member
|
/linux/Documentation/filesystems/caching/ |
A D | fscache.rst | 209 /proc/fs/fscache/stats 416 /proc/fs/fscache/histogram 421 cat /proc/fs/fscache/histogram 452 /proc/fs/fscache/objects 456 [root@andromeda ~]# head /proc/fs/fscache/objects 498 keyctl add user fscache:objlist <restrictions> @s 524 keyctl add user fscache:objlist KB @s 539 /sys/module/fscache/parameters/debug 563 echo $((1|8|64)) >/sys/module/fscache/parameters/debug
|
A D | index.rst | 9 fscache
|
/linux/Documentation/filesystems/ |
A D | 9p.rst | 88 fscache 109 0x800 display fscache tracing debug 158 /sys/fs/9p/caches. (applies only to cache=fscache)
|
/linux/fs/netfs/ |
A D | Kconfig | 17 /proc/fs/fscache/stats
|