Lines Matching defs:bucket
121 /** Size of this bucket, in bytes. */
215 * This function finds the correct bucket fit for the input size.
297 struct bo_cache_bucket *bucket,
301 if (!bucket)
306 list_for_each_entry_safe(struct crocus_bo, cur, &bucket->head, head) {
399 struct bo_cache_bucket *bucket = bucket_for_size(bufmgr, size);
401 /* Round the size up to the bucket size, or if we don't have caching
405 bucket ? bucket->size : MAX2(ALIGN(size, page_size), page_size);
412 bo = alloc_bo_from_cache(bufmgr, bucket, alignment, flags);
427 bo->reusable = bucket && bufmgr->bo_reuse;
676 struct bo_cache_bucket *bucket = &bufmgr->cache_bucket[i];
678 list_for_each_entry_safe(struct crocus_bo, bo, &bucket->head, head) {
706 struct bo_cache_bucket *bucket;
710 bucket = NULL;
712 bucket = bucket_for_size(bufmgr, bo->size);
714 if (bucket && crocus_bo_madvise(bo, I915_MADV_DONTNEED)) {
718 list_addtail(&bo->head, &bucket->head);
1150 struct bo_cache_bucket *bucket = &bufmgr->cache_bucket[i];
1152 list_for_each_entry_safe(struct crocus_bo, bo, &bucket->head, head) {