Home
last modified time | relevance | path

Searched refs:fscache_cache (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/include/linux/
Dfscache-cache.h23 struct fscache_cache;
45 struct fscache_cache *cache; /* cache referred to by this tag */
55 struct fscache_cache { struct
230 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
270 void (*sync_cache)(struct fscache_cache *cache);
306 void (*dissociate_pages)(struct fscache_cache *cache);
377 struct fscache_cache *cache; /* cache that supplied this object */
392 struct fscache_cache *);
431 static inline void fscache_object_destroyed(struct fscache_cache *cache) in fscache_object_destroyed()
530 void fscache_init_cache(struct fscache_cache *cache,
[all …]
/Linux-v5.4/fs/fscache/
Dcache.c90 struct fscache_cache *fscache_select_cache_for_object( in fscache_select_cache_for_object()
95 struct fscache_cache *cache; in fscache_select_cache_for_object()
161 struct fscache_cache, link); in fscache_select_cache_for_object()
178 void fscache_init_cache(struct fscache_cache *cache, in fscache_init_cache()
213 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
313 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
325 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects()
361 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
Dcookie.c25 static int fscache_alloc_object(struct fscache_cache *cache,
397 struct fscache_cache *cache; in fscache_acquire_non_index_cookie()
477 static int fscache_alloc_object(struct fscache_cache *cache, in fscache_alloc_object()
555 struct fscache_cache *cache = object->cache; in fscache_attach_object()
Doperation.c496 struct fscache_cache *cache; in fscache_put_operation()
565 struct fscache_cache *cache = in fscache_operation_gc()
566 container_of(work, struct fscache_cache, op_gc); in fscache_operation_gc()
Dinternal.h41 extern struct fscache_cache *fscache_select_cache_for_object(
Dobject.c303 struct fscache_cache *cache) in fscache_object_init()
704 struct fscache_cache *cache = object->cache; in fscache_drop_object()
/Linux-v5.4/fs/cachefiles/
Dinterface.c23 struct fscache_cache *_cache, in cachefiles_alloc_object()
326 struct fscache_cache *cache; in cachefiles_put_object()
376 static void cachefiles_sync_cache(struct fscache_cache *_cache) in cachefiles_sync_cache()
546 static void cachefiles_dissociate_pages(struct fscache_cache *cache) in cachefiles_dissociate_pages()
Dinternal.h56 struct fscache_cache cache; /* FS-Cache record */
/Linux-v5.4/Documentation/filesystems/caching/
Dbackend-api.txt20 The cache definition (struct fscache_cache) should be initialised by calling:
22 void fscache_init_cache(struct fscache_cache *cache,
41 int fscache_add_cache(struct fscache_cache *cache,
68 void fscache_withdraw_cache(struct fscache_cache *cache);
100 is enabled. This is accessible through the kobject struct fscache_cache::kobj
133 struct fscache_cache *cache;
234 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
354 void (*sync)(struct fscache_cache *cache)
362 void (*dissociate_pages)(struct fscache_cache *cache)
534 void fscache_io_error(struct fscache_cache *cache)
[all …]