Lines Matching refs:vcookie
17 void cachefiles_acquire_volume(struct fscache_volume *vcookie) in cachefiles_acquire_volume() argument
20 struct cachefiles_cache *cache = vcookie->cache->cache_priv; in cachefiles_acquire_volume()
33 volume->vcookie = vcookie; in cachefiles_acquire_volume()
39 len = vcookie->key[0]; in cachefiles_acquire_volume()
44 memcpy(name + 1, vcookie->key + 1, len); in cachefiles_acquire_volume()
80 vcookie->cache_priv = volume; in cachefiles_acquire_volume()
81 n_accesses = atomic_inc_return(&vcookie->n_accesses); /* Stop wakeups on dec-to-0 */ in cachefiles_acquire_volume()
82 trace_fscache_access_volume(vcookie->debug_id, 0, in cachefiles_acquire_volume()
83 refcount_read(&vcookie->ref), in cachefiles_acquire_volume()
114 volume->vcookie->cache_priv = NULL; in __cachefiles_free_volume()
122 void cachefiles_free_volume(struct fscache_volume *vcookie) in cachefiles_free_volume() argument
124 struct cachefiles_volume *volume = vcookie->cache_priv; in cachefiles_free_volume()
136 fscache_withdraw_volume(volume->vcookie); in cachefiles_withdraw_volume()