Lines Matching refs:volume
48 cookie->volume->debug_id,
49 cookie->volume->key);
185 !fscache_cache_is_live(cookie->volume->cache)) {
295 cookie->key_hash = fscache_hash(cookie->volume->key_hash,
306 a->volume != b->volume ||
326 struct fscache_volume *volume,
340 cookie->volume = volume;
422 fscache_get_volume(candidate->volume, fscache_volume_get_cookie);
423 atomic_inc(&candidate->volume->n_cookies);
445 * Request a cookie to represent a data storage object within a volume.
451 struct fscache_volume *volume,
459 _enter("V=%x", volume->debug_id);
470 cookie = fscache_alloc_cookie(volume, advice,
497 cookie->volume->cache->ops->prepare_to_write(cookie);
510 if (!cookie->volume->cache_priv) {
511 fscache_create_volume(cookie->volume, true);
512 if (!cookie->volume->cache_priv) {
518 if (!cookie->volume->cache->ops->lookup_cookie(cookie)) {
541 fscache_end_volume_access(cookie->volume, cookie, trace);
554 if (!fscache_begin_volume_access(cookie->volume, cookie,
776 cookie->volume->cache->ops->withdraw_cookie(cookie);
986 ASSERTCMP(atomic_read(&cookie->volume->n_cookies), >, 0);
987 atomic_dec(&cookie->volume->n_cookies);
1006 struct fscache_volume *volume = cookie->volume;
1015 fscache_put_volume(volume, fscache_volume_put_cookie);
1039 if (!cookie->volume->cache->ops->invalidate_cookie(cookie))
1126 cookie->volume->debug_id,