Home
last modified time | relevance | path

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

/openbmc/linux/fs/fscache/
H A Dcache.c26 struct fscache_cache *cache; in fscache_alloc_cache()
44 static bool fscache_get_cache_maybe(struct fscache_cache *cache, in fscache_get_cache_maybe()
61 struct fscache_cache *candidate, *cache, *unnamed = NULL; in fscache_lookup_cache()
151 struct fscache_cache *cache; in fscache_acquire_cache()
179 void fscache_put_cache(struct fscache_cache *cache, in fscache_put_cache()
209 void fscache_relinquish_cache(struct fscache_cache *cache) in fscache_relinquish_cache()
234 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
337 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
355 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
382 struct fscache_cache *cache; in fscache_caches_seq_show()
[all …]
H A Dinternal.h26 bool fscache_begin_cache_access(struct fscache_cache *cache, enum fscache_access_trace why);
27 void fscache_end_cache_access(struct fscache_cache *cache, enum fscache_access_trace why);
28 struct fscache_cache *fscache_lookup_cache(const char *name, bool is_cache);
29 void fscache_put_cache(struct fscache_cache *cache, enum fscache_cache_trace where);
31 static inline enum fscache_cache_state fscache_cache_state(const struct fscache_cache *cache) in fscache_cache_state()
36 static inline bool fscache_cache_is_live(const struct fscache_cache *cache) in fscache_cache_is_live()
41 static inline void fscache_set_cache_state(struct fscache_cache *cache, in fscache_set_cache_state()
48 static inline bool fscache_set_cache_state_maybe(struct fscache_cache *cache, in fscache_set_cache_state_maybe()
H A Dvolume.c218 struct fscache_cache *cache; in fscache_alloc_volume()
393 struct fscache_cache *cache = volume->cache; in fscache_free_volume()
/openbmc/linux/include/linux/
H A Dfscache-cache.h36 struct fscache_cache { struct
90 extern struct fscache_cache *fscache_acquire_cache(const char *name);
91 extern void fscache_relinquish_cache(struct fscache_cache *cache);
92 extern int fscache_add_cache(struct fscache_cache *cache,
95 extern void fscache_withdraw_cache(struct fscache_cache *cache);
99 extern void fscache_io_error(struct fscache_cache *cache);
161 static inline void fscache_count_object(struct fscache_cache *cache) in fscache_count_object()
173 static inline void fscache_uncount_object(struct fscache_cache *cache) in fscache_uncount_object()
186 static inline void fscache_wait_for_objects(struct fscache_cache *cache) in fscache_wait_for_objects()
H A Dfscache.h82 struct fscache_cache *cache; /* The cache in which this resides */
/openbmc/linux/Documentation/filesystems/caching/
H A Dbackend-api.rst23 Cache cookie struct fscache_cache
45 struct fscache_cache {
76 void fscache_relinquish_cache(struct fscache_cache *cache);
86 int fscache_add_cache(struct fscache_cache *cache,
100 void fscache_withdraw_cache(struct fscache_cache *cache);
115 void fscache_wait_for_objects(struct fscache_cache *cache);
128 void fscache_relinquish_cache(struct fscache_cache *cache);
140 struct fscache_cache *cache;
251 void fscache_count_object(struct fscache_cache *cache);
252 void fscache_uncount_object(struct fscache_cache *cache);
[all …]
/openbmc/linux/fs/cachefiles/
H A Dcache.c19 struct fscache_cache *cache_cookie; in cachefiles_add_cache()
411 struct fscache_cache *fscache = cache->cache; in cachefiles_withdraw_cache()
H A Dinterface.c84 struct fscache_cache *cache; in cachefiles_put_object()
H A Dinternal.h89 struct fscache_cache *cache; /* Cache cookie */
/openbmc/linux/include/trace/events/
H A Dfscache.h211 TRACE_EVENT(fscache_cache,