Home
last modified time | relevance | path

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

/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 */
/linux/fs/netfs/
H A Dinternal.h263 bool fscache_begin_cache_access(struct fscache_cache *cache, enum fscache_access_trace why);
264 void fscache_end_cache_access(struct fscache_cache *cache, enum fscache_access_trace why);
265 struct fscache_cache *fscache_lookup_cache(const char *name, bool is_cache);
266 void fscache_put_cache(struct fscache_cache *cache, enum fscache_cache_trace where);
268 static inline enum fscache_cache_state fscache_cache_state(const struct fscache_cache *cache) in fscache_cache_state()
273 static inline bool fscache_cache_is_live(const struct fscache_cache *cache) in fscache_cache_is_live()
278 static inline void fscache_set_cache_state(struct fscache_cache *cache, in fscache_set_cache_state()
285 static inline bool fscache_set_cache_state_maybe(struct fscache_cache *cache, in fscache_set_cache_state_maybe()
H A DMakefile25 fscache_cache.o \
/linux/Documentation/filesystems/caching/
H A Dbackend-api.rst23 Cache cookie struct fscache_cache
45 struct fscache_cache {
65 struct fscache_cache *fscache_acquire_cache(const char *name);
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);
[all …]
/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 Dinternal.h89 struct fscache_cache *cache; /* Cache cookie */
/linux/include/trace/events/
H A Dfscache.h211 TRACE_EVENT(fscache_cache,