Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dfscache-cache.h27 struct fscache_cache;
37 struct fscache_cache *cache; /* cache referred to by this tag */
47 struct fscache_cache { struct
234 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
272 void (*sync_cache)(struct fscache_cache *cache);
308 void (*dissociate_pages)(struct fscache_cache *cache);
377 struct fscache_cache *cache; /* cache that supplied this object */
392 struct fscache_cache *);
432 static inline void fscache_object_destroyed(struct fscache_cache *cache) in fscache_object_destroyed()
531 void fscache_init_cache(struct fscache_cache *cache,
[all …]
/linux-4.1.27/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.c25 static int fscache_alloc_object(struct fscache_cache *cache,
194 struct fscache_cache *cache; in fscache_acquire_non_index_cookie()
278 static int fscache_alloc_object(struct fscache_cache *cache, in fscache_alloc_object()
354 struct fscache_cache *cache = object->cache; in fscache_attach_object()
Doperation.c401 struct fscache_cache *cache; in fscache_put_operation()
465 struct fscache_cache *cache = in fscache_operation_gc()
466 container_of(work, struct fscache_cache, op_gc); in fscache_operation_gc()
Dinternal.h43 extern struct fscache_cache *fscache_select_cache_for_object(
Dobject.c293 struct fscache_cache *cache) in fscache_object_init()
674 struct fscache_cache *cache = object->cache; in fscache_drop_object()
/linux-4.1.27/fs/cachefiles/
Dinterface.c27 struct fscache_cache *_cache, in cachefiles_alloc_object()
316 struct fscache_cache *cache; in cachefiles_put_object()
361 static void cachefiles_sync_cache(struct fscache_cache *_cache) in cachefiles_sync_cache()
532 static void cachefiles_dissociate_pages(struct fscache_cache *cache) in cachefiles_dissociate_pages()
Dinternal.h60 struct fscache_cache cache; /* FS-Cache record */
/linux-4.1.27/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 …]