Home
last modified time | relevance | path

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

/linux-6.1.9/fs/fscache/ !
Dcache.c24 static struct fscache_cache *fscache_alloc_cache(const char *name) in fscache_alloc_cache()
26 struct fscache_cache *cache; in fscache_alloc_cache()
44 static bool fscache_get_cache_maybe(struct fscache_cache *cache, in fscache_get_cache_maybe()
59 struct fscache_cache *fscache_lookup_cache(const char *name, bool is_cache) in fscache_lookup_cache()
61 struct fscache_cache *candidate, *cache, *unnamed = NULL; in fscache_lookup_cache()
149 struct fscache_cache *fscache_acquire_cache(const char *name) in fscache_acquire_cache()
151 struct fscache_cache *cache; in fscache_acquire_cache()
179 void fscache_put_cache(struct fscache_cache *cache, in fscache_put_cache()
208 void fscache_relinquish_cache(struct fscache_cache *cache) in fscache_relinquish_cache()
233 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
[all …]
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()
Dvolume.c204 struct fscache_cache *cache; in fscache_alloc_volume()
380 struct fscache_cache *cache = volume->cache; in fscache_free_volume()
/linux-6.1.9/include/linux/ !
Dfscache-cache.h35 struct fscache_cache { struct
89 extern struct fscache_cache *fscache_acquire_cache(const char *name);
90 extern void fscache_relinquish_cache(struct fscache_cache *cache);
91 extern int fscache_add_cache(struct fscache_cache *cache,
94 extern void fscache_withdraw_cache(struct fscache_cache *cache);
98 extern void fscache_io_error(struct fscache_cache *cache);
155 static inline void fscache_count_object(struct fscache_cache *cache) in fscache_count_object()
167 static inline void fscache_uncount_object(struct fscache_cache *cache) in fscache_uncount_object()
180 static inline void fscache_wait_for_objects(struct fscache_cache *cache) in fscache_wait_for_objects()
Dfscache.h82 struct fscache_cache *cache; /* The cache in which this resides */
/linux-6.1.9/Documentation/filesystems/caching/ !
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-6.1.9/fs/cachefiles/ !
Dcache.c18 struct fscache_cache *cache_cookie; in cachefiles_add_cache()
367 struct fscache_cache *fscache = cache->cache; in cachefiles_withdraw_cache()
Dinternal.h74 struct fscache_cache *cache; /* Cache cookie */
Dinterface.c79 struct fscache_cache *cache; in cachefiles_put_object()
/linux-6.1.9/include/trace/events/ !
Dfscache.h207 TRACE_EVENT(fscache_cache,