Home
last modified time | relevance | path

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

/linux-6.6.21/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()
175 struct cachefiles_cache *cache = cookie->volume->cache->cache_priv; in cachefiles_lookup_cookie()
188 cookie->cache_priv = object; in cachefiles_lookup_cookie()
351 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_withdraw_cookie()
373 cookie->cache_priv = NULL; in cachefiles_withdraw_cookie()
382 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_invalidate_cookie()
Dxattr.c176 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_prepare_to_write()
Dinternal.h145 return fscache_cres_cookie(cres)->cache_priv; in cachefiles_cres_object()
/linux-6.6.21/include/linux/
Dfscache-cache.h38 void *cache_priv; /* Private cache data (or NULL) */ member
93 void *cache_priv);
145 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.h139 void *cache_priv; member
/linux-6.6.21/fs/fscache/
Dcache.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()
Dvolume.c294 if (volume->cache_priv) in fscache_create_volume()
382 if (volume->cache_priv) { in fscache_free_volume()
385 if (volume->cache_priv) in fscache_free_volume()
Dio.c81 cres->cache_priv = cookie; in fscache_begin_operation()
138 cres->cache_priv = NULL; in fscache_begin_operation()
Dcookie.c510 if (!cookie->volume->cache_priv) { in fscache_perform_lookup()
512 if (!cookie->volume->cache_priv) { in fscache_perform_lookup()
774 if (cookie->cache_priv) { in fscache_cookie_state_machine()
/linux-6.6.21/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.6.21/fs/netfs/
Dinternal.h99 return fscache_cookie_valid(cookie) && cookie->cache_priv && in netfs_is_cache_enabled()
/linux-6.6.21/Documentation/filesystems/
Dnetfs_library.rst477 void *cache_priv;
/linux-6.6.21/fs/smb/client/
Dfile.c4491 cifs_inode_cookie(ractl->mapping->host)->cache_priv; in cifs_readahead()