Home
last modified time | relevance | path

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

/linux/fs/cachefiles/
H A Dvolume.c21 struct cachefiles_cache *cache = vcookie->cache->cache_priv; in cachefiles_acquire_volume()
83 vcookie->cache_priv = volume; in cachefiles_acquire_volume()
117 volume->vcookie->cache_priv = NULL; in __cachefiles_free_volume()
127 struct cachefiles_volume *volume = vcookie->cache_priv; in cachefiles_free_volume()
H A Dxattr.c197 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_prepare_to_write()
/linux/include/linux/
H A Dfscache-cache.h39 void *cache_priv; /* Private cache data (or NULL) */ member
94 void *cache_priv);
151 return cres->cache_priv; in fscache_cres_cookie()
H A Dnetfs.h161 void *cache_priv; member
/linux/fs/netfs/
H A Dfscache_cache.c217 cache->cache_priv = NULL; in fscache_relinquish_cache()
236 void *cache_priv) in fscache_add_cache() argument
255 cache->cache_priv = cache_priv; in fscache_add_cache()
H A Dfscache_io.c80 cres->cache_priv = cookie; in fscache_begin_operation()
86 cres->cache_priv = NULL; in fscache_begin_operation()
139 cres->cache_priv = NULL; in fscache_begin_operation()
H A Dfscache_volume.c306 if (volume->cache_priv) in fscache_create_volume()
393 if (volume->cache_priv) { in fscache_free_volume()
396 if (volume->cache_priv) in fscache_free_volume()
H A Dfscache_cookie.c510 if (!cookie->volume->cache_priv) { in fscache_perform_lookup()
512 if (!cookie->volume->cache_priv) { in fscache_perform_lookup()
778 if (cookie->cache_priv) { in fscache_cookie_state_machine()
H A Dinternal.h232 return fscache_cookie_valid(cookie) && cookie->cache_priv && in netfs_is_cache_enabled()
/linux/Documentation/filesystems/caching/
H A Dbackend-api.rst46 void *cache_priv;
54 and ``name`` is the name the cache was registered with. The ``cache_priv``
88 void *cache_priv);
141 void *cache_priv;
154 * ``cache_priv`` - A place for the cache to stash private data.
180 void *cache_priv;
196 * ``cache_priv`` - A place for the cache to stash private data.
289 If successful, it can set ``cache_priv`` to its own data.
297 ``cache_priv`` is set.
320 If successful, ``cookie->cache_priv`` can be set.
[all …]