Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dfscache-cache.h27 struct fscache_cache;
49 struct fscache_cache *cache; /* cache referred to by this tag */
59 struct fscache_cache { struct
235 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
275 void (*sync_cache)(struct fscache_cache *cache);
311 void (*dissociate_pages)(struct fscache_cache *cache);
382 struct fscache_cache *cache; /* cache that supplied this object */
397 struct fscache_cache *);
436 static inline void fscache_object_destroyed(struct fscache_cache *cache) in fscache_object_destroyed()
535 void fscache_init_cache(struct fscache_cache *cache,
[all …]
/Linux-v4.19/fs/fscache/
Dcache.c94 struct fscache_cache *fscache_select_cache_for_object( in fscache_select_cache_for_object()
99 struct fscache_cache *cache; in fscache_select_cache_for_object()
165 struct fscache_cache, link); in fscache_select_cache_for_object()
182 void fscache_init_cache(struct fscache_cache *cache, in fscache_init_cache()
217 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
317 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
329 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects()
365 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
Dcookie.c29 static int fscache_alloc_object(struct fscache_cache *cache,
401 struct fscache_cache *cache; in fscache_acquire_non_index_cookie()
481 static int fscache_alloc_object(struct fscache_cache *cache, in fscache_alloc_object()
559 struct fscache_cache *cache = object->cache; in fscache_attach_object()
Doperation.c500 struct fscache_cache *cache; in fscache_put_operation()
569 struct fscache_cache *cache = in fscache_operation_gc()
570 container_of(work, struct fscache_cache, op_gc); in fscache_operation_gc()
Dinternal.h45 extern struct fscache_cache *fscache_select_cache_for_object(
Dobject.c307 struct fscache_cache *cache) in fscache_object_init()
708 struct fscache_cache *cache = object->cache; in fscache_drop_object()
/Linux-v4.19/fs/cachefiles/
Dinterface.c27 struct fscache_cache *_cache, in cachefiles_alloc_object()
330 struct fscache_cache *cache; in cachefiles_put_object()
380 static void cachefiles_sync_cache(struct fscache_cache *_cache) in cachefiles_sync_cache()
550 static void cachefiles_dissociate_pages(struct fscache_cache *cache) in cachefiles_dissociate_pages()
Dinternal.h60 struct fscache_cache cache; /* FS-Cache record */
/Linux-v4.19/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 …]