Lines Matching defs:cache
729 host1x_bo_cache_init(&client->cache);
817 host1x_bo_cache_destroy(&client->cache);
894 struct host1x_bo_cache *cache)
898 if (cache) {
899 mutex_lock(&cache->lock);
901 list_for_each_entry(mapping, &cache->mappings, entry) {
917 if (cache) {
919 mapping->cache = cache;
921 list_add_tail(&mapping->entry, &cache->mappings);
923 /* bump reference count to track the copy in the cache */
928 if (cache)
929 mutex_unlock(&cache->lock);
941 * the cache.
943 if (mapping->cache)
955 struct host1x_bo_cache *cache = mapping->cache;
957 if (cache)
958 mutex_lock(&cache->lock);
962 if (cache)
963 mutex_unlock(&cache->lock);