Home
last modified time | relevance | path

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

/linux-6.12.1/fs/cachefiles/
Dvolume.c20 struct cachefiles_cache *cache = vcookie->cache->cache_priv; in cachefiles_acquire_volume()
80 vcookie->cache_priv = volume; in cachefiles_acquire_volume()
114 volume->vcookie->cache_priv = NULL; in __cachefiles_free_volume()
124 struct cachefiles_volume *volume = vcookie->cache_priv; in cachefiles_free_volume()
Dinterface.c25 struct cachefiles_volume *volume = vcookie->cache_priv; in cachefiles_alloc_object()
180 struct cachefiles_cache *cache = cookie->volume->cache->cache_priv; in cachefiles_lookup_cookie()
193 cookie->cache_priv = object; in cachefiles_lookup_cookie()
356 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_withdraw_cookie()
378 cookie->cache_priv = NULL; in cachefiles_withdraw_cookie()
387 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_invalidate_cookie()
Dxattr.c190 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_prepare_to_write()
Dinternal.h162 return fscache_cres_cookie(cres)->cache_priv; in cachefiles_cres_object()
/linux-6.12.1/include/linux/
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()
Dfscache.h26 #define fscache_resources_valid(cres) ((cres)->cache_priv)
83 void *cache_priv; /* Cache private data */ member
110 void *cache_priv; /* Cache-side representation */ member
Dnetfs.h160 void *cache_priv; member
/linux-6.12.1/fs/netfs/
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()
Dfscache_io.c81 cres->cache_priv = cookie; in fscache_begin_operation()
87 cres->cache_priv = NULL; in fscache_begin_operation()
140 cres->cache_priv = NULL; in fscache_begin_operation()
Dfscache_volume.c307 if (volume->cache_priv) in fscache_create_volume()
395 if (volume->cache_priv) { in fscache_free_volume()
398 if (volume->cache_priv) in fscache_free_volume()
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()
Dinternal.h203 return fscache_cookie_valid(cookie) && cookie->cache_priv && in netfs_is_cache_enabled()
/linux-6.12.1/Documentation/filesystems/caching/
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 …]
/linux-6.12.1/Documentation/filesystems/
Dnetfs_library.rst462 void *cache_priv;