Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/cachefiles/
A 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()
A 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()
A Dxattr.c176 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_prepare_to_write()
A Dinternal.h145 return fscache_cres_cookie(cres)->cache_priv; in cachefiles_cres_object()
/linux-6.3-rc2/include/linux/
A 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()
A 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
A Dnetfs.h139 void *cache_priv; member
/linux-6.3-rc2/fs/fscache/
A Dcache.c216 cache->cache_priv = NULL; in fscache_relinquish_cache()
235 void *cache_priv) in fscache_add_cache() argument
254 cache->cache_priv = cache_priv; in fscache_add_cache()
A 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()
A Dio.c81 cres->cache_priv = cookie; in fscache_begin_operation()
138 cres->cache_priv = NULL; in fscache_begin_operation()
A 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.3-rc2/Documentation/filesystems/caching/
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 …]
/linux-6.3-rc2/fs/netfs/
A Dinternal.h99 return fscache_cookie_valid(cookie) && cookie->cache_priv && in netfs_is_cache_enabled()
/linux-6.3-rc2/Documentation/filesystems/
A Dnetfs_library.rst477 void *cache_priv;
/linux-6.3-rc2/fs/cifs/
A Dfile.c4490 cifs_inode_cookie(ractl->mapping->host)->cache_priv; in cifs_readahead()

Completed in 28 milliseconds