Home
last modified time | relevance | path

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

/linux-6.12.1/fs/netfs/
Dfscache_cache.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()
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()
[all …]
Dinternal.h248 bool fscache_begin_cache_access(struct fscache_cache *cache, enum fscache_access_trace why);
249 void fscache_end_cache_access(struct fscache_cache *cache, enum fscache_access_trace why);
250 struct fscache_cache *fscache_lookup_cache(const char *name, bool is_cache);
251 void fscache_put_cache(struct fscache_cache *cache, enum fscache_cache_trace where);
253 static inline enum fscache_cache_state fscache_cache_state(const struct fscache_cache *cache) in fscache_cache_state()
258 static inline bool fscache_cache_is_live(const struct fscache_cache *cache) in fscache_cache_is_live()
263 static inline void fscache_set_cache_state(struct fscache_cache *cache, in fscache_set_cache_state()
270 static inline bool fscache_set_cache_state_maybe(struct fscache_cache *cache, in fscache_set_cache_state_maybe()
DMakefile22 fscache_cache.o \
Dfscache_volume.c218 struct fscache_cache *cache; in fscache_alloc_volume()
393 struct fscache_cache *cache = volume->cache; in fscache_free_volume()
/linux-6.12.1/include/linux/
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()
Dfscache.h82 struct fscache_cache *cache; /* The cache in which this resides */
/linux-6.12.1/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.12.1/fs/cachefiles/
Dcache.c19 struct fscache_cache *cache_cookie; in cachefiles_add_cache()
411 struct fscache_cache *fscache = cache->cache; in cachefiles_withdraw_cache()
Dinterface.c84 struct fscache_cache *cache; in cachefiles_put_object()
Dinternal.h89 struct fscache_cache *cache; /* Cache cookie */
/linux-6.12.1/include/trace/events/
Dfscache.h211 TRACE_EVENT(fscache_cache,