Searched refs:cache_bucket (Results 1 – 6 of 6) sorted by relevance
37 assert(i < ARRAY_SIZE(cache->cache_bucket)); in add_bucket()39 list_inithead(&cache->cache_bucket[i].list); in add_bucket()40 cache->cache_bucket[i].size = size; in add_bucket()78 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; in etna_bo_cache_cleanup()104 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; in get_bucket()
56 struct etna_bo_bucket cache_bucket[14 * 4]; member
40 assert(i < ARRAY_SIZE(cache->cache_bucket)); in add_bucket()42 list_inithead(&cache->cache_bucket[i].list); in add_bucket()43 cache->cache_bucket[i].size = size; in add_bucket()90 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; in fd_bo_cache_cleanup()117 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; in get_bucket()
77 struct fd_bo_bucket cache_bucket[14 * 4]; member
112 struct bo_cache_bucket cache_bucket[14 * 4]; member220 &bufmgr->cache_bucket[index] : NULL; in bucket_for_size()614 struct bo_cache_bucket *bucket = &bufmgr->cache_bucket[i]; in cleanup_bo_cache()1053 struct bo_cache_bucket *bucket = &bufmgr->cache_bucket[i]; in brw_bufmgr_destroy()1284 assert(i < ARRAY_SIZE(bufmgr->cache_bucket)); in add_bucket()1286 list_inithead(&bufmgr->cache_bucket[i].head); in add_bucket()1287 bufmgr->cache_bucket[i].size = size; in add_bucket()1290 assert(bucket_for_size(bufmgr, size) == &bufmgr->cache_bucket[i]); in add_bucket()1291 assert(bucket_for_size(bufmgr, size - 2048) == &bufmgr->cache_bucket[i]); in add_bucket()1292 assert(bucket_for_size(bufmgr, size + 1) != &bufmgr->cache_bucket[i]); in add_bucket()
124 struct drm_intel_gem_bo_bucket cache_bucket[14 * 4]; member403 &bufmgr_gem->cache_bucket[i]; in drm_intel_gem_bo_bucket_for_size()1240 &bufmgr_gem->cache_bucket[i]; in drm_intel_gem_cleanup_bo_cache()1913 &bufmgr_gem->cache_bucket[i]; in drm_intel_bufmgr_gem_destroy()3078 assert(i < ARRAY_SIZE(bufmgr_gem->cache_bucket)); in add_bucket()3080 DRMINITLISTHEAD(&bufmgr_gem->cache_bucket[i].head); in add_bucket()3081 bufmgr_gem->cache_bucket[i].size = size; in add_bucket()