Lines Matching defs:cache
291 * fscache_object_init - Initialise a cache object description
294 * @cache: Cache in which backing object will be found
296 * Initialise a cache object description to its basic values.
303 struct fscache_cache *cache)
307 atomic_inc(&cache->object_count);
324 object->cache = cache;
406 object->cache->ops->grab_object(object, fscache_obj_get_add_to_deps)) {
447 * look an object up in the cache from which it was allocated
470 test_bit(FSCACHE_IOERROR, &object->cache->flags) ||
477 cookie->def->name, object->cache->tag->name);
481 ret = object->cache->ops->lookup_object(object);
596 object->cache->ops->lookup_complete(object);
632 object->cache->ops->lookup_complete(object);
704 struct fscache_cache *cache = object->cache;
739 /* Discard from the cache's collection of objects */
740 spin_lock(&cache->object_list_lock);
742 spin_unlock(&cache->object_list_lock);
745 cache->ops->drop_object(object);
778 ret = object->cache->ops->grab_object(object, why) ? 0 : -EAGAIN;
790 object->cache->ops->put_object(object, why);
795 * fscache_object_destroy - Note that a cache object is about to be destroyed
798 * Note the imminent destruction and deallocation of a cache object record.
921 * fscache_look_up_object() on behalf of the cache backend during object lookup
992 fscache_operation_init(cookie, op, object->cache->ops->invalidate_object,
1006 * stored in the cache and thus we can reinstate the data-check-skip
1053 object->cache->ops->update_object(object);
1096 pr_err("Error: Object already killed by cache [%s]\n",
1097 object->cache->identifier);